| Motorola Mobility Confidential Restricted. |
|
/extra/kbs/check_outs/co_206438/STABLE_geranium_lpm_cornsilk_1/dist/idl/js/toi/ToiChannelService.idl 00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- 00002 *-------------------------------------------------------------------- 00003 * 00004 * ToiChannelService.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 TOICHANNELSERVICE_IDL 00016 #define TOICHANNELSERVICE_IDL 00017 00018 #include "TToiInvalidArgumentException.idl" 00019 #include "TToiNotEnoughResourcesException.idl" 00020 #include "TToiUnhandledValueException.idl" 00021 #include "ToiApplicationService.idl" 00022 #include "ToiOperationManager.idl" 00023 #include "TToiOperationNotSupportedException.idl" 00024 #include "TToiNoDataException.idl" 00025 #include "TToiSessionViolationException.idl" 00026 #include "ToiMediaSession.idl" 00027 #include "ToiFrontendService.idl" 00028 #include "ToiEventTarget.idl" 00029 00030 //@ [Struct(Interface=IToiChannelService,Name=TToiPropertyDefinition)] 00031 interface ToiChannelServicePropertyDefinition; 00032 //@ [Struct(Interface=IToiChannelService,Name=TToiProperty)] 00033 interface ToiChannelServiceProperty; 00034 //@ [Struct(Interface=IToiChannelService,Name=TToiQueryCondition)] 00035 interface ToiChannelServiceQueryCondition; 00036 //@ [Struct(Interface=IToiChannelService,Name=TToiChannelInfo)] 00037 interface ToiChannelServiceChannelInfo; 00038 00046 //@ [Service(Name=ChannelService)] 00047 //@ [EventTarget(EventObserver=IToiChannelObserver)] 00050 interface ToiChannelService : ToiEventTarget { 00051 00054 00058 const long ON_CHANNELS_ADDED = 4000; 00059 00063 const long ON_CHANNELS_REMOVED = 4001; 00064 00068 const long ON_CHANNELS_CHANGED = 4002; 00069 00071 00077 00084 const ToiOperationManager::TToiOperationResult OP_RESULT_CHANNEL_INFO = 1; 00085 00087 00089 typedef string TToiPropertyId; 00090 00092 typedef sequence < TToiPropertyId > TToiPropertyIdSequence; 00093 00095 typedef string TToiPropertyValue; 00096 00098 typedef long TToiChannelId; 00099 00101 typedef sequence < TToiChannelId > TToiChannelIdSequence; 00102 00105 //@ [Enum] 00106 typedef long TToiPropertyType; 00109 00115 //@ [Enumerator(Enum=TToiPropertyType,Name=TYPE_BOOLEAN)] 00116 const TToiPropertyType TYPE_BOOLEAN = 0; 00117 00123 //@ [Enumerator(Enum=TToiPropertyType,Name=TYPE_STRING)] 00124 const TToiPropertyType TYPE_STRING = 1; 00125 00131 //@ [Enumerator(Enum=TToiPropertyType,Name=TYPE_INTEGER)] 00132 const TToiPropertyType TYPE_INTEGER = 2; 00133 00135 00141 00147 const string PROPERTY_MODULATION_SYSTEM_TYPE = "system.modulationsystemtype"; 00148 00153 const string PROPERTY_NETWORK_NAME = "system.networkname"; 00154 00159 const string PROPERTY_NETWORK_ID = "system.networkid"; 00160 00165 const string PROPERTY_SERVICE_TYPE = "system.servicetype"; 00166 00171 const string PROPERTY_SERVICE_PROVIDER = "system.serviceprovider"; 00172 00177 const string PROPERTY_SERVICE_ID = "system.serviceid"; 00178 00183 const string PROPERTY_SERVICE_NAME = "system.servicename"; 00184 00190 const string PROPERTY_LOGICAL_CHANNEL_NUMBER = "system.logicalchannelnumber"; 00191 00197 const string PROPERTY_VISIBLE = "system.visible"; 00198 00204 const string PROPERTY_FREE = "system.free"; 00205 00211 const string PROPERTY_ORIGINAL_NETWORK_ID = "system.originalnetworkid"; 00212 00218 const string PROPERTY_TRANSPORT_STREAM_ID = "system.transportstreamid"; 00219 00224 const string PROPERTY_DELIVERY_SYSTEM_DESCRIPTOR = "system.deliverysystemdescriptor"; 00225 00239 const string PROPERTY_URI = "system.uri"; 00240 00248 const string PROPERTY_SOURCE_ID = "system.sourceid"; 00249 00255 const string PROPERTY_FREQUENCY = "system.frequency"; 00256 00262 const string PROPERTY_MODULATION_FORMAT = "system.modulationformat"; 00263 00265 typedef sequence < ToiChannelServiceProperty > TToiPropertySequence; 00266 00270 //@ [Enum] 00271 typedef long TToiConditionOperation; 00274 00280 //@ [Enumerator(Enum=TToiConditionOperation,Name=EQUALS)] 00281 const TToiConditionOperation EQUALS = 0; 00282 00288 //@ [Enumerator(Enum=TToiConditionOperation,Name=NOT_EQUAL)] 00289 const TToiConditionOperation NOT_EQUAL = 1; 00290 00292 00293 typedef sequence < ToiChannelServiceQueryCondition > TToiQueryConditionSequence; 00294 00296 typedef sequence < ToiChannelServiceChannelInfo > TToiChannelInfoSequence; 00297 00317 //@ [ReturnAddress(Type=IToiOperationManager)] 00318 00319 00320 //@ [OutParam(Name=address,Position=1,IsBinary=0, Bound=0)] 00321 ToiOperationManager getOperationManager(); 00322 00338 //@ [OutParam(Name=definition,Position=2,IsBinary=0, Bound=0)] 00339 ToiChannelServicePropertyDefinition getPropertyDefinition(in TToiPropertyId propertyId) 00340 raises (TToiInvalidArgumentException, TToiNotEnoughResourcesException); 00341 00374 void runQuery(in ToiOperationManager::TToiOperationId operationId, 00375 in TToiQueryConditionSequence queryConditions, 00376 in TToiPropertyIdSequence requestedProperties) 00377 raises (TToiInvalidArgumentException, TToiNotEnoughResourcesException); 00378 00402 //@ [ExtendIpcMessage(SoftLimit=102400)] 00403 00404 00405 //@ [OutParam(Name=channelsInfo,Position=3,IsBinary=0, Bound=0)] 00406 TToiChannelInfoSequence getChannelsInfo(in TToiChannelIdSequence channels, 00407 in TToiPropertyIdSequence requestedProperties) 00408 raises (TToiInvalidArgumentException, TToiNotEnoughResourcesException); 00409 00426 //@ [ExtendIpcMessage(SoftLimit=102400)] 00427 00428 00429 //@ [OutParam(Name=results,Position=2,IsBinary=0, Bound=0)] 00430 TToiChannelInfoSequence getChannelInfoResult(in ToiOperationManager::TToiOperationId operationId) 00431 raises (TToiInvalidArgumentException, TToiNoDataException); 00432 00433 }; 00434 00435 #endif |