|
15 | 15 | // along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 | 16 | // |
17 | 17 |
|
18 | | -namespace Gala |
19 | | -{ |
20 | | - /** |
21 | | - * Implement this interface on your {@link Plugin} class if you want to |
22 | | - * replace a component like the window overview or the multitasking view. |
23 | | - * It allows gala to hook up functionality like hotcorners and dbus |
24 | | - * invocation of your component. |
25 | | - */ |
26 | | - public interface ActivatableComponent : Object |
27 | | - { |
28 | | - /** |
29 | | - * The component was requested to be opened. |
30 | | - * |
31 | | - * @param hints The hashmap may contain special parameters that are useful |
32 | | - * to the component. Currently, the only one implemented is the |
33 | | - * 'all-windows' hint to the windowoverview. |
34 | | - */ |
35 | | - public abstract void open (HashTable<string,Variant>? hints = null); |
| 18 | +namespace Gala { |
| 19 | + /** |
| 20 | + * Implement this interface on your {@link Plugin} class if you want to |
| 21 | + * replace a component like the window overview or the multitasking view. |
| 22 | + * It allows gala to hook up functionality like hotcorners and dbus |
| 23 | + * invocation of your component. |
| 24 | + */ |
| 25 | + public interface ActivatableComponent : Object { |
| 26 | + /** |
| 27 | + * The component was requested to be opened. |
| 28 | + * |
| 29 | + * @param hints The hashmap may contain special parameters that are useful |
| 30 | + * to the component. Currently, the only one implemented is the |
| 31 | + * 'all-windows' hint to the windowoverview. |
| 32 | + */ |
| 33 | + public abstract void open (HashTable<string,Variant>? hints = null); |
36 | 34 |
|
37 | | - /** |
38 | | - * The component was requested to be closed. |
39 | | - */ |
40 | | - public abstract void close (); |
| 35 | + /** |
| 36 | + * The component was requested to be closed. |
| 37 | + */ |
| 38 | + public abstract void close (); |
41 | 39 |
|
42 | | - /** |
43 | | - * Should return whether the component is currently opened. Used mainly for |
44 | | - * toggling by the window manager. |
45 | | - * |
46 | | - * @return Return true if the component is opened. |
47 | | - */ |
48 | | - public abstract bool is_opened (); |
49 | | - } |
| 40 | + /** |
| 41 | + * Should return whether the component is currently opened. Used mainly for |
| 42 | + * toggling by the window manager. |
| 43 | + * |
| 44 | + * @return Return true if the component is opened. |
| 45 | + */ |
| 46 | + public abstract bool is_opened (); |
| 47 | + } |
50 | 48 | } |
51 | | - |
0 commit comments