use insert function instead of for loop
[LibreOffice.git] / offapi / com / sun / star / util / XUpdatable2.idl
blob53ceb4b6d0c00051f03c40016b48d920bdcfdbe1
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 module com { module sun { module star { module util {
12 /**
13 * This interface extends XUpdatable in order to provide more fine-tuned
14 * update modes. When performing a <i>soft</i> update, the implementor may
15 * decide not to update in certain cases, such as when the controller is
16 * locked. When performing a <i>hard</i> update, on the other hand, the
17 * implementor should perform update more aggressively even when the
18 * controller is locked.
20 interface XUpdatable2: com::sun::star::util::XUpdatable
22 /**
23 * Perform update, but update may not always be performed especially when
24 * the controller is locked.
26 void updateSoft();
28 /**
29 * Perform update, even when the controller is locked.
31 void updateHard();
34 }; }; }; };
36 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */