/extra/kbs/check_outs/co_155322/STABLE_elymus_firebrick_7/dist/idl/js/toi/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   
00052   const long ON_PENDING_RESET = 401;
00053   
00055   
00060   //@ [Enum]
00061   typedef long TToiResetFlag;
00064   
00071   //@ [Enumerator(Enum=TToiResetFlag,Name=REFORMAT_INTERNAL_HDD)]
00072   const TToiResetFlag REFORMAT_INTERNAL_HDD = 0x1;
00073   
00080   //@ [Enumerator(Enum=TToiResetFlag,Name=REMOVE_PERSISTENT_COOKIES)]
00081   const TToiResetFlag REMOVE_PERSISTENT_COOKIES = 0x2;
00082   
00090   //@ [Enumerator(Enum=TToiResetFlag,Name=REMOVE_PORTAL_DATABASES)]
00091   const TToiResetFlag REMOVE_PORTAL_DATABASES = 0x4;
00092   
00099   //@ [Enumerator(Enum=TToiResetFlag,Name=REMOVE_PERSISTENT_INFORMATION_OBJECTS)]
00100   const TToiResetFlag REMOVE_PERSISTENT_INFORMATION_OBJECTS = 0x8;
00101   
00108   //@ [Enumerator(Enum=TToiResetFlag,Name=RESET_TR069_DATA_MODEL)]
00109   const TToiResetFlag RESET_TR069_DATA_MODEL = 0x10;
00110   
00118   //@ [Enumerator(Enum=TToiResetFlag,Name=CUSTOM_POST_PROCEDURE)]
00119   const TToiResetFlag CUSTOM_POST_PROCEDURE = 0x20;
00120   
00129   //@ [Enumerator(Enum=TToiResetFlag,Name=REMOVE_CHANNELS)]
00130   const TToiResetFlag REMOVE_CHANNELS = 0x40;
00131   
00138   //@ [Enumerator(Enum=TToiResetFlag,Name=FULL_RESET)]
00139   const TToiResetFlag FULL_RESET = 0xff;
00140   
00142 
00148   //@ [Enum]
00149   typedef long TToiResetReason;
00152   
00160   //@ [Enumerator(Enum=TToiResetReason,Name=RESET_REASON_LEVEL_0)]
00161   const TToiResetReason RESET_REASON_LEVEL_0 = 0;
00162   
00171   //@ [Enumerator(Enum=TToiResetReason,Name=RESET_REASON_LEVEL_1)]
00172   const TToiResetReason RESET_REASON_LEVEL_1 = 1;
00173   
00181   //@ [Enumerator(Enum=TToiResetReason,Name=RESET_REASON_LEVEL_2)]
00182   const TToiResetReason RESET_REASON_LEVEL_2 = 2;
00183   
00191   //@ [Enumerator(Enum=TToiResetReason,Name=RESET_REASON_LEVEL_3)]
00192   const TToiResetReason RESET_REASON_LEVEL_3 = 3;
00193   
00195 
00198   //@ [Enum]
00199   typedef long TToiComponentState;
00202   
00209   //@ [Enumerator(Enum=TToiComponentState,Name=COMPONENT_STATE_INACTIVE)]
00210   const TToiComponentState COMPONENT_STATE_INACTIVE = 0x1;
00211   
00219   //@ [Enumerator(Enum=TToiComponentState,Name=COMPONENT_STATE_PENDING_INACTIVE)]
00220   const TToiComponentState COMPONENT_STATE_PENDING_INACTIVE = 0x2;
00221   
00229   //@ [Enumerator(Enum=TToiComponentState,Name=COMPONENT_STATE_PENDING_ACTIVE)]
00230   const TToiComponentState COMPONENT_STATE_PENDING_ACTIVE = 0x3;
00231   
00238   //@ [Enumerator(Enum=TToiComponentState,Name=COMPONENT_STATE_ACTIVE)]
00239   const TToiComponentState COMPONENT_STATE_ACTIVE = 0x4;
00240   
00242 
00243   typedef sequence < ToiPlatformServiceComponentInfo > TToiComponentInfoSequence;
00244   
00250   void rebootNow();
00251   
00258   void rebootAtNextStandby();
00259   
00271   void setStandby(in boolean mode);
00272   
00288   void factoryReset(in long flags)
00289    raises (TToiOperationNotSupportedException);
00290   
00316   //@ [IgnoredApplicationId(Position=1)]
00317   
00318   
00319   //@ [OutParam(Name=active,Position=3,IsBinary=0, Bound=0)]
00320   boolean registerComponentUsage(in string componentName)
00321    raises (TToiInvalidArgumentException, TToiInvalidPreconditionException);
00322   
00348   //@ [IgnoredApplicationId(Position=1)]
00349   
00350   
00351   //@ [OutParam(Name=active,Position=3,IsBinary=0, Bound=0)]
00352   boolean releaseComponentUsage(in string componentName)
00353    raises (TToiInvalidArgumentException, TToiInvalidPreconditionException);
00354   
00363   //@ [OutParam(Name=infoSequence,Position=1,IsBinary=0, Bound=0)]
00364   TToiComponentInfoSequence getComponentsInfo();
00365   
00379   //@ [OutParam(Name=info,Position=2,IsBinary=0, Bound=0)]
00380   ToiPlatformServiceComponentInfo getComponentInfo(in string componentName)
00381    raises (TToiInvalidArgumentException);
00382   
00383 };
00384 
00385 #endif