| Index: remoting/host/elevated_controller.idl
|
| diff --git a/remoting/host/elevated_controller.idl b/remoting/host/elevated_controller.idl
|
| index f5f745ab5bbb3642d854b79f855b4ea03c43e171..06ba0b51c2d4487a5fb37b2dbae0dc236555d9c8 100644
|
| --- a/remoting/host/elevated_controller.idl
|
| +++ b/remoting/host/elevated_controller.idl
|
| @@ -5,13 +5,6 @@
|
| import "oaidl.idl";
|
| import "ocidl.idl";
|
|
|
| -typedef enum DaemonState {
|
| - DAEMON_STATE_STOPPED,
|
| - DAEMON_STATE_STARTING,
|
| - DAEMON_STATE_STARTED,
|
| - DAEMON_STATE_STOPPING
|
| -} DaemonState;
|
| -
|
| [
|
| object,
|
| uuid(e6c5f02a-2486-4bf0-b13f-f39be260b917),
|
| @@ -21,19 +14,16 @@ typedef enum DaemonState {
|
| pointer_default(unique)
|
| ]
|
| interface IDaemonControl: IDispatch {
|
| - [ propget, id(1), helpstring("Returns current state of the daemon.") ]
|
| - HRESULT State([out, retval] DaemonState* state_out);
|
| -
|
| - [ id(2), helpstring("Reads the daemon configuration.") ]
|
| - HRESULT ReadConfig([out, retval] BSTR* config_out);
|
| + [ id(1), helpstring("Reads the daemon configuration.") ]
|
| + HRESULT GetConfig([out, retval] BSTR* config_out);
|
|
|
| - [ id(3), helpstring("Writes the daemon configuration.") ]
|
| - HRESULT WriteConfig([in] BSTR config);
|
| + [ id(2), helpstring("Writes the daemon configuration.") ]
|
| + HRESULT SetConfig([in] BSTR config);
|
|
|
| - [ id(4), helpstring("Starts the daemon.") ]
|
| + [ id(3), helpstring("Starts the daemon.") ]
|
| HRESULT StartDaemon();
|
|
|
| - [ id(5), helpstring("Stops the daemon.") ]
|
| + [ id(4), helpstring("Stops the daemon.") ]
|
| HRESULT StopDaemon();
|
| };
|
|
|
| @@ -46,21 +36,10 @@ library ChromotingElevatedControllerLib {
|
| importlib("stdole2.tlb");
|
|
|
| [
|
| - uuid(3ca3adb6-2dea-4c74-b267-610fef11e4ff),
|
| - dual,
|
| - helpstring("IDaemonEvents Interface")
|
| - ]
|
| - interface IDaemonEvents: IDispatch {
|
| - [ id(1), helpstring("method OnStateChange") ]
|
| - void OnStateChange([in] DaemonState state);
|
| - };
|
| -
|
| - [
|
| uuid(430a9403-8176-4733-afdc-0b325a8fda84),
|
| helpstring("ElevatedController Class")
|
| ]
|
| coclass ElevatedController {
|
| [default] interface IDaemonControl;
|
| - [default, source] interface IDaemonEvents;
|
| };
|
| };
|
|
|