ToiPlatformService.idl

00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00002  *--------------------------------------------------------------------
00003  *
00004  * ToiPlatformService.idl
00005  *
00006  * This file was created by the Motorola IDL backend, 
00007  * which is based on the OmniORB IDL parser.
00008  * Please do not modify.
00009  *
00010  * Copyright (c) 2009 Motorola Inc. All Rights Reserved.
00011  *
00012  *--------------------------------------------------------------------
00013  */
00014 
00015 #ifndef TOIPLATFORMSERVICE_IDL
00016 #define TOIPLATFORMSERVICE_IDL
00017 
00018 #include "TToiInvalidArgumentException.idl"
00019 #include "TToiUnhandledValueException.idl"
00020 #include "ToiApplicationService.idl"
00021 #include "TToiOperationNotSupportedException.idl"
00022 #include "TToiInvalidPreconditionException.idl"
00023 #include "ToiEventTarget.idl"
00024 
00025 //@ [Struct(Interface=IToiPlatformService,Name=TToiComponentInfo)]
00026 interface ToiPlatformServiceComponentInfo;
00027 
00035 //@ [EventTarget(EventObserver=IToiPlatformObserver)]
00036 //@ [Service(Name=PlatformService)]
00039 interface ToiPlatformService : ToiEventTarget {
00040 
00043   
00047   const long ON_COMPONENT_INFO_CHANGED = 400;
00048   
00050   
00055   //@ [Enum]
00056   typedef long TToiResetFlag;
00059   
00066   //@ [Enumerator(Enum=TToiResetFlag,Name=REFORMAT_INTERNAL_HDD)]
00067   const TToiResetFlag REFORMAT_INTERNAL_HDD = 0x1;
00068   
00075   //@ [Enumerator(Enum=TToiResetFlag,Name=REMOVE_PERSISTENT_COOKIES)]
00076   const TToiResetFlag REMOVE_PERSISTENT_COOKIES = 0x2;
00077   
00085   //@ [Enumerator(Enum=TToiResetFlag,Name=REMOVE_PORTAL_DATABASES)]
00086   const TToiResetFlag REMOVE_PORTAL_DATABASES = 0x4;
00087   
00094   //@ [Enumerator(Enum=TToiResetFlag,Name=REMOVE_PERSISTENT_INFORMATION_OBJECTS)]
00095   const TToiResetFlag REMOVE_PERSISTENT_INFORMATION_OBJECTS = 0x8;
00096   
00103   //@ [Enumerator(Enum=TToiResetFlag,Name=RESET_TR069_DATA_MODEL)]
00104   const TToiResetFlag RESET_TR069_DATA_MODEL = 0x10;
00105   
00113   //@ [Enumerator(Enum=TToiResetFlag,Name=CUSTOM_POST_PROCEDURE)]
00114   const TToiResetFlag CUSTOM_POST_PROCEDURE = 0x20;
00115   
00124   //@ [Enumerator(Enum=TToiResetFlag,Name=REMOVE_CHANNELS)]
00125   const TToiResetFlag REMOVE_CHANNELS = 0x40;
00126   
00133   //@ [Enumerator(Enum=TToiResetFlag,Name=FULL_RESET)]
00134   const TToiResetFlag FULL_RESET = 0xff;
00135   
00137 
00140   //@ [Enum]
00141   typedef long TToiComponentState;
00144   
00151   //@ [Enumerator(Enum=TToiComponentState,Name=COMPONENT_STATE_INACTIVE)]
00152   const TToiComponentState COMPONENT_STATE_INACTIVE = 0x1;
00153   
00161   //@ [Enumerator(Enum=TToiComponentState,Name=COMPONENT_STATE_PENDING_INACTIVE)]
00162   const TToiComponentState COMPONENT_STATE_PENDING_INACTIVE = 0x2;
00163   
00171   //@ [Enumerator(Enum=TToiComponentState,Name=COMPONENT_STATE_PENDING_ACTIVE)]
00172   const TToiComponentState COMPONENT_STATE_PENDING_ACTIVE = 0x3;
00173   
00180   //@ [Enumerator(Enum=TToiComponentState,Name=COMPONENT_STATE_ACTIVE)]
00181   const TToiComponentState COMPONENT_STATE_ACTIVE = 0x4;
00182   
00184 
00185   typedef sequence < ToiPlatformServiceComponentInfo > TToiComponentInfoSequence;
00186   
00192   void rebootNow();
00193   
00200   void rebootAtNextStandby();
00201   
00213   void setStandby(in boolean mode);
00214   
00230   void factoryReset(in long flags)
00231    raises (TToiOperationNotSupportedException);
00232   
00258   //@ [IgnoredApplicationId(Position=1)]
00259   
00260   
00261   //@ [OutParam(Name=active,Position=3,IsBinary=0, Bound=0)]
00262   boolean registerComponentUsage(in string componentName)
00263    raises (TToiInvalidArgumentException, TToiInvalidPreconditionException);
00264   
00290   //@ [IgnoredApplicationId(Position=1)]
00291   
00292   
00293   //@ [OutParam(Name=active,Position=3,IsBinary=0, Bound=0)]
00294   boolean releaseComponentUsage(in string componentName)
00295    raises (TToiInvalidArgumentException, TToiInvalidPreconditionException);
00296   
00305   //@ [OutParam(Name=infoSequence,Position=1,IsBinary=0, Bound=0)]
00306   TToiComponentInfoSequence getComponentsInfo();
00307   
00321   //@ [OutParam(Name=info,Position=2,IsBinary=0, Bound=0)]
00322   ToiPlatformServiceComponentInfo getComponentInfo(in string componentName)
00323    raises (TToiInvalidArgumentException);
00324   
00325 };
00326 
00327 #endif