| Motorola Mobility Confidential Restricted. |
|
/extra/kbs/check_outs/co_206438/STABLE_geranium_lpm_cornsilk_1/dist/idl/js/toi/ToiFrontPanelService.idl 00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- 00002 *-------------------------------------------------------------------- 00003 * 00004 * ToiFrontPanelService.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 TOIFRONTPANELSERVICE_IDL 00016 #define TOIFRONTPANELSERVICE_IDL 00017 00018 #include "TToiInvalidArgumentException.idl" 00019 #include "TToiOperationNotSupportedException.idl" 00020 //@ [Struct(Interface=IToiFrontPanelService,Name=TToiLedState)] 00021 interface ToiFrontPanelServiceLedState; 00022 //@ [Struct(Interface=IToiFrontPanelService,Name=TToiLedInfo)] 00023 interface ToiFrontPanelServiceLedInfo; 00024 //@ [Struct(Interface=IToiFrontPanelService,Name=TToiSegmentDisplayState)] 00025 interface ToiFrontPanelServiceSegmentDisplayState; 00026 //@ [Struct(Interface=IToiFrontPanelService,Name=TToiSegmentDisplayInfo)] 00027 interface ToiFrontPanelServiceSegmentDisplayInfo; 00028 00036 //@ [Service(Name=FrontPanelService)] 00039 interface ToiFrontPanelService { 00040 00043 //@ [Enum] 00044 typedef long TToiColor; 00047 00053 //@ [Enumerator(Enum=TToiColor,Name=COLOR_OFF)] 00054 const TToiColor COLOR_OFF = 0; 00055 00061 //@ [Enumerator(Enum=TToiColor,Name=COLOR_GREEN)] 00062 const TToiColor COLOR_GREEN = 1; 00063 00069 //@ [Enumerator(Enum=TToiColor,Name=COLOR_RED)] 00070 const TToiColor COLOR_RED = 2; 00071 00078 //@ [Enumerator(Enum=TToiColor,Name=COLOR_ORANGE)] 00079 const TToiColor COLOR_ORANGE = 3; 00080 00086 //@ [Enumerator(Enum=TToiColor,Name=COLOR_BLUE)] 00087 const TToiColor COLOR_BLUE = 4; 00088 00094 //@ [Enumerator(Enum=TToiColor,Name=COLOR_YELLOW)] 00095 const TToiColor COLOR_YELLOW = 5; 00096 00102 //@ [Enumerator(Enum=TToiColor,Name=COLOR_WHITE)] 00103 const TToiColor COLOR_WHITE = 6; 00104 00106 00112 const long CONFIGURED_INTENSITY = -1; 00113 00115 typedef sequence < TToiColor > TToiColorSequence; 00116 00119 //@ [Enum] 00120 typedef long TToiSegmentDisplayModes; 00123 00129 //@ [Enumerator(Enum=TToiSegmentDisplayModes,Name=SEGMENT_DISPLAY_MODE_TEXT)] 00130 const TToiSegmentDisplayModes SEGMENT_DISPLAY_MODE_TEXT = 0; 00131 00139 //@ [Enumerator(Enum=TToiSegmentDisplayModes,Name=SEGMENT_DISPLAY_MODE_CLOCK)] 00140 const TToiSegmentDisplayModes SEGMENT_DISPLAY_MODE_CLOCK = 1; 00141 00143 00151 //@ [OutParam(Name=numberOfLeds,Position=1,IsBinary=0, Bound=0)] 00152 long getLedCount(); 00153 00167 //@ [OutParam(Name=info,Position=2,IsBinary=0, Bound=0)] 00168 ToiFrontPanelServiceLedInfo getLedInfo(in long index) 00169 raises (TToiInvalidArgumentException); 00170 00189 void setLedState(in long index, 00190 in ToiFrontPanelServiceLedState state) 00191 raises (TToiInvalidArgumentException, TToiOperationNotSupportedException); 00192 00206 //@ [OutParam(Name=state,Position=2,IsBinary=0, Bound=0)] 00207 ToiFrontPanelServiceLedState getLedState(in long index) 00208 raises (TToiInvalidArgumentException); 00209 00219 //@ [OutParam(Name=info,Position=1,IsBinary=0, Bound=0)] 00220 ToiFrontPanelServiceSegmentDisplayInfo getSegmentDisplayInfo() 00221 raises (TToiOperationNotSupportedException); 00222 00238 void setSegmentDisplayState(in ToiFrontPanelServiceSegmentDisplayState state) 00239 raises (TToiInvalidArgumentException, TToiOperationNotSupportedException); 00240 00251 //@ [OutParam(Name=state,Position=1,IsBinary=0, Bound=0)] 00252 ToiFrontPanelServiceSegmentDisplayState getSegmentDisplayState() 00253 raises (TToiOperationNotSupportedException); 00254 00261 //@ [OutParam(Name=isSupported,Position=1,IsBinary=0, Bound=0)] 00262 boolean isSegmentDisplaySupported(); 00263 00264 }; 00265 00266 #endif |