Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #include <Bonobo_Unknown.idl>
00024
00025 #ifndef _ACCESSIBILITY_SELECTOR_IDL_
00026 #define _ACCESSIBILITY_SELECTOR_IDL_
00027
00028 module Accessibility {
00029
00031 struct Command {
00032 string name;
00033 long id;
00034 };
00035
00037 typedef sequence<Command> CommandList;
00038
00046 interface CommandListener {
00054 void notifyCommands (in CommandList commands);
00055 };
00056
00068 interface Selector : Bonobo::Unknown {
00069
00074 enum CommandResult {
00075 COMMAND_RESULT_INVALID,
00077 COMMAND_RESULT_SUCCESS,
00078 COMMAND_RESULT_FAILED,
00081 COMMAND_RESULT_OBSOLETE,
00088 COMMAND_RESULT_LAST_DEFINED
00090 };
00091
00093 readonly attribute boolean supportsReplace;
00094
00100 CommandList getCommands ();
00101
00106 boolean replaceCommands (in CommandList commands);
00107
00119 boolean refreshCommands ();
00120
00128 CommandResult activateCommand (in Command cmd);
00129
00135 void registerChangeListener (in CommandListener listener);
00136
00143 void deregisterChangeListener (in CommandListener listener);
00144
00151 void unImplemented ();
00152 void unImplemented2 ();
00153 void unImplemented3 ();
00154 void unImplemented4 ();
00156 };
00157
00158 };
00159
00160 #endif