| Motorola Mobility Confidential Restricted. |
|
/extra/kbs/check_outs/co_206438/STABLE_geranium_lpm_cornsilk_1/dist/idl/js/toi/ToiDlnaService.idl 00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- 00002 *-------------------------------------------------------------------- 00003 * 00004 * ToiDlnaService.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 TOIDLNASERVICE_IDL 00016 #define TOIDLNASERVICE_IDL 00017 00018 #include "TToiInvalidArgumentException.idl" 00019 #include "TToiNotEnoughResourcesException.idl" 00020 #include "TToiOperationNotSupportedException.idl" 00021 #include "TToiUnhandledValueException.idl" 00022 #include "ToiApplicationService.idl" 00023 #include "ToiEventTarget.idl" 00024 00025 //@ [Struct(Interface=IToiDlnaService,Name=TToiMediaServerIconInfo)] 00026 interface ToiDlnaServiceMediaServerIconInfo; 00027 //@ [Struct(Interface=IToiDlnaService,Name=TToiMediaServerInfo)] 00028 interface ToiDlnaServiceMediaServerInfo; 00029 interface ToiOperationManager; 00030 interface ToiDlnaContentDirectoryService; 00031 interface ToiDlnaRendererManager; 00032 00099 //@ [Service(Name=DlnaService)] 00100 //@ [EventTarget(EventObserver=IToiDlnaObserver)] 00103 interface ToiDlnaService : ToiEventTarget { 00104 00107 00111 const long ON_MEDIA_SERVER_APPEARED = 600; 00112 00116 const long ON_MEDIA_SERVER_DISAPPEARED = 601; 00117 00119 00121 typedef string TToiMediaServerUuid; 00122 00124 typedef sequence < TToiMediaServerUuid > TToiMediaServerUuidSequence; 00125 00128 //@ [Enum] 00129 typedef long TToiServiceType; 00132 00138 //@ [Enumerator(Enum=TToiServiceType,Name=SERVICE_TYPE_CONTENT_DIRECTORY)] 00139 const TToiServiceType SERVICE_TYPE_CONTENT_DIRECTORY = 0; 00140 00142 00143 typedef sequence < TToiServiceType > TToiServiceTypeSequence; 00144 00147 //@ [Enum] 00148 typedef long TToiMediaFormatProfile; 00151 00157 //@ [Enumerator(Enum=TToiMediaFormatProfile,Name=MEDIA_FORMAT_PROFILE_JPEG_LRG_ICO)] 00158 const TToiMediaFormatProfile MEDIA_FORMAT_PROFILE_JPEG_LRG_ICO = 0; 00159 00165 //@ [Enumerator(Enum=TToiMediaFormatProfile,Name=MEDIA_FORMAT_PROFILE_JPEG_SM_ICO)] 00166 const TToiMediaFormatProfile MEDIA_FORMAT_PROFILE_JPEG_SM_ICO = 1; 00167 00173 //@ [Enumerator(Enum=TToiMediaFormatProfile,Name=MEDIA_FORMAT_PROFILE_PNG_LRG_ICO)] 00174 const TToiMediaFormatProfile MEDIA_FORMAT_PROFILE_PNG_LRG_ICO = 2; 00175 00181 //@ [Enumerator(Enum=TToiMediaFormatProfile,Name=MEDIA_FORMAT_PROFILE_PNG_SM_ICO)] 00182 const TToiMediaFormatProfile MEDIA_FORMAT_PROFILE_PNG_SM_ICO = 3; 00183 00185 00186 typedef sequence < ToiDlnaServiceMediaServerIconInfo > TToiMediaServerIconInfoSequence; 00187 00195 //@ [OutParam(Name=uuids,Position=1,IsBinary=0, Bound=0)] 00196 TToiMediaServerUuidSequence getMediaServers(); 00197 00210 //@ [OutParam(Name=info,Position=2,IsBinary=0, Bound=0)] 00211 ToiDlnaServiceMediaServerInfo getMediaServerInfo(in TToiMediaServerUuid uuid) 00212 raises (TToiInvalidArgumentException); 00213 00232 //@ [ReturnAddress(Type=IToiOperationManager)] 00233 00234 00235 //@ [OutParam(Name=address,Position=1,IsBinary=0, Bound=0)] 00236 ToiOperationManager getDlnaOperationManager(); 00237 00261 //@ [ReturnAddress(Type=IToiDlnaContentDirectoryService)] 00262 //@ [IgnoredApplicationId(Position=1)] 00263 00264 00265 //@ [OutParam(Name=address,Position=3,IsBinary=0, Bound=0)] 00266 ToiDlnaContentDirectoryService createContentDirectoryInstance(in TToiMediaServerUuid uuid) 00267 raises (TToiInvalidArgumentException, TToiNotEnoughResourcesException, TToiOperationNotSupportedException); 00268 00290 //@ [ReturnAddress(Type=IToiDlnaRendererManager)] 00291 //@ [IgnoredApplicationId(Position=1)] 00292 00293 00294 //@ [OutParam(Name=address,Position=2,IsBinary=0, Bound=0)] 00295 ToiDlnaRendererManager createRendererInstance() 00296 raises (TToiInvalidArgumentException, TToiNotEnoughResourcesException, TToiOperationNotSupportedException); 00297 00298 }; 00299 00300 #endif |