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 ToiDlnaContentDirectoryService;
00030 interface ToiDlnaRendererManager;
00031 
00098 //@ [Service(Name=DlnaService)]
00099 //@ [EventTarget(EventObserver=IToiDlnaObserver)]
00102 interface ToiDlnaService : ToiEventTarget {
00103 
00106   
00110   const long ON_MEDIA_SERVER_APPEARED = 600;
00111   
00115   const long ON_MEDIA_SERVER_DISAPPEARED = 601;
00116   
00118   
00120   typedef string TToiMediaServerUuid;
00121   
00123   typedef sequence < TToiMediaServerUuid > TToiMediaServerUuidSequence;
00124   
00127   //@ [Enum]
00128   typedef long TToiServiceType;
00131   
00137   //@ [Enumerator(Enum=TToiServiceType,Name=SERVICE_TYPE_CONTENT_DIRECTORY)]
00138   const TToiServiceType SERVICE_TYPE_CONTENT_DIRECTORY = 0;
00139   
00141 
00142   typedef sequence < TToiServiceType > TToiServiceTypeSequence;
00143   
00146   //@ [Enum]
00147   typedef long TToiMediaFormatProfile;
00150   
00156   //@ [Enumerator(Enum=TToiMediaFormatProfile,Name=MEDIA_FORMAT_PROFILE_JPEG_LRG_ICO)]
00157   const TToiMediaFormatProfile MEDIA_FORMAT_PROFILE_JPEG_LRG_ICO = 0;
00158   
00164   //@ [Enumerator(Enum=TToiMediaFormatProfile,Name=MEDIA_FORMAT_PROFILE_JPEG_SM_ICO)]
00165   const TToiMediaFormatProfile MEDIA_FORMAT_PROFILE_JPEG_SM_ICO = 1;
00166   
00172   //@ [Enumerator(Enum=TToiMediaFormatProfile,Name=MEDIA_FORMAT_PROFILE_PNG_LRG_ICO)]
00173   const TToiMediaFormatProfile MEDIA_FORMAT_PROFILE_PNG_LRG_ICO = 2;
00174   
00180   //@ [Enumerator(Enum=TToiMediaFormatProfile,Name=MEDIA_FORMAT_PROFILE_PNG_SM_ICO)]
00181   const TToiMediaFormatProfile MEDIA_FORMAT_PROFILE_PNG_SM_ICO = 3;
00182   
00184 
00185   typedef sequence < ToiDlnaServiceMediaServerIconInfo > TToiMediaServerIconInfoSequence;
00186   
00194   //@ [OutParam(Name=uuids,Position=1,IsBinary=0, Bound=0)]
00195   TToiMediaServerUuidSequence getMediaServers();
00196   
00209   //@ [OutParam(Name=info,Position=2,IsBinary=0, Bound=0)]
00210   ToiDlnaServiceMediaServerInfo getMediaServerInfo(in TToiMediaServerUuid uuid)
00211    raises (TToiInvalidArgumentException);
00212   
00236   //@ [ReturnAddress(Type=IToiDlnaContentDirectoryService)]
00237   //@ [IgnoredApplicationId(Position=1)]
00238   
00239   
00240   //@ [OutParam(Name=address,Position=3,IsBinary=0, Bound=0)]
00241   ToiDlnaContentDirectoryService createContentDirectoryInstance(in TToiMediaServerUuid uuid)
00242    raises (TToiInvalidArgumentException, TToiNotEnoughResourcesException, TToiOperationNotSupportedException);
00243   
00265   //@ [ReturnAddress(Type=IToiDlnaRendererManager)]
00266   //@ [IgnoredApplicationId(Position=1)]
00267   
00268   
00269   //@ [OutParam(Name=address,Position=2,IsBinary=0, Bound=0)]
00270   ToiDlnaRendererManager createRendererInstance()
00271    raises (TToiInvalidArgumentException, TToiNotEnoughResourcesException, TToiOperationNotSupportedException);
00272   
00273 };
00274 
00275 #endif