ToiDlnaRendererManager.idl

00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00002  *--------------------------------------------------------------------
00003  *
00004  * ToiDlnaRendererManager.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 TOIDLNARENDERERMANAGER_IDL
00016 #define TOIDLNARENDERERMANAGER_IDL
00017 
00018 #include "TToiInvalidArgumentException.idl"
00019 #include "TToiOperationNotSupportedException.idl"
00020 #include "TToiNoDataException.idl"
00021 #include "TToiNotEnoughResourcesException.idl"
00022 #include "TToiUnhandledValueException.idl"
00023 #include "ToiApplicationService.idl"
00024 #include "ToiOperationManager.idl"
00025 #include "ToiDlnaContentDirectoryService.idl"
00026 #include "ToiEventTarget.idl"
00027 
00028 //@ [Struct(Interface=IToiDlnaRendererManager,Name=TToiRendererSessionInfo)]
00029 interface ToiDlnaRendererManagerRendererSessionInfo;
00030 
00043 //@ [EventTarget(EventObserver=IToiDlnaRendererObserver)]
00044 
00045 //@ [ReleaseInstance(Method=ReleaseInstance)]
00046 interface ToiDlnaRendererManager : ToiEventTarget {
00047 
00050   
00054   const long ON_RENDERER_SESSION_CHANGED = 4200;
00055   
00057   
00059   typedef long TToiRendererSessionId;
00060   
00062   typedef sequence < TToiRendererSessionId > TToiRendererSessionIdSequence;
00063   
00066   //@ [Enum]
00067   typedef long TToiRendererState;
00070   
00078   //@ [Enumerator(Enum=TToiRendererState,Name=STATE_SESSION_REQUEST)]
00079   const TToiRendererState STATE_SESSION_REQUEST = 0;
00080   
00087   //@ [Enumerator(Enum=TToiRendererState,Name=STATE_SESSION_ACTIVE)]
00088   const TToiRendererState STATE_SESSION_ACTIVE = 1;
00089   
00097   //@ [Enumerator(Enum=TToiRendererState,Name=STATE_SESSION_CLOSED)]
00098   const TToiRendererState STATE_SESSION_CLOSED = 2;
00099   
00101 
00103   //@ [Enum]
00104   typedef long TToiRendererStatus;
00107   
00114   //@ [Enumerator(Enum=TToiRendererStatus,Name=RENDERER_SUCCESS)]
00115   const TToiRendererStatus RENDERER_SUCCESS = 0;
00116   
00124   //@ [Enumerator(Enum=TToiRendererStatus,Name=RENDERER_UNAVAILABLE)]
00125   const TToiRendererStatus RENDERER_UNAVAILABLE = 1;
00126   
00134   //@ [Enumerator(Enum=TToiRendererStatus,Name=RENDERER_FAILURE)]
00135   const TToiRendererStatus RENDERER_FAILURE = 2;
00136   
00138 
00157   void updateSessionStatus(in TToiRendererSessionId id, 
00158         in TToiRendererStatus status)
00159    raises (TToiInvalidArgumentException);
00160   
00174   //@ [OutParam(Name=info,Position=2,IsBinary=0, Bound=0)]
00175   ToiDlnaRendererManagerRendererSessionInfo getSessionInfo(in TToiRendererSessionId id)
00176    raises (TToiInvalidArgumentException);
00177   
00185   //@ [OutParam(Name=ids,Position=1,IsBinary=0, Bound=0)]
00186   TToiRendererSessionIdSequence getRendererSessions();
00187   
00192   //@ [ReleaseInstance]
00193   
00194   
00195   void releaseInstance();
00196   
00197 };
00198 
00199 #endif