IToiVideoOutputService.idl

00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00002  *--------------------------------------------------------------------
00003  *
00004  * IToiVideoOutputService.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 ITOIVIDEOOUTPUTSERVICE_IDL
00016 #define ITOIVIDEOOUTPUTSERVICE_IDL
00017 
00018 #include "TToiInvalidArgumentException.idl"
00019 #include "TToiInvalidPreconditionException.idl"
00020 #include "TToiNotEnoughResourcesException.idl"
00021 #include "TToiOperationNotSupportedException.idl"
00022 #include "IToiVideoOutputConfiguration.idl"
00023 #include "TToiUnhandledValueException.idl"
00024 #include "IToiApplicationService.idl"
00025 
00026 #include "IToiApplicationService.idl"
00041 //@ [EventTarget(EventObserver=IToiVideoOutputObserver)]
00042 //@ [Service(Name=VideoOutputService)]
00043 
00044 interface IToiVideoOutputService {
00045 
00049   struct TToiAdaptiveTransition {
00050     boolean Matched;
00051     string RuleSetName;
00052     string RuleName;
00053   };
00054   
00057   typedef sequence < TToiAdaptiveTransition > TToiAdaptiveTransitionSequence;
00058   
00061   typedef sequence < string > TToiAdaptiveRuleSetNameSequence;
00062   
00070   //@ [ReturnAddress(Type=IToiVideoOutputConfiguration)]
00071   
00072   
00073   void GetVideoConfiguration(out string address);
00074   
00093   //@ [ReturnAddress(Type=IToiVideoOutputConfigurationSession)]
00094   //@ [IgnoredApplicationId(Position=1)]
00095   
00096   
00097   void CreateVideoConfigurationSession(in IToiApplicationService::TToiApplicationId applicationId, 
00098         out string address)
00099    raises (TToiInvalidArgumentException, TToiInvalidPreconditionException);
00100   
00108   void SetVideoSafeMode()
00109    raises (TToiInvalidPreconditionException);
00110   
00127   void LoadAdaptiveRuleSets(in TToiAdaptiveRuleSetNameSequence adaptiveRuleSets)
00128    raises (TToiNotEnoughResourcesException, TToiInvalidArgumentException);
00129   
00137   void GetAvailableAdaptiveRuleSetNames(out TToiAdaptiveRuleSetNameSequence adaptiveRuleSets);
00138   
00146   void GetLoadedAdaptiveRuleSetNames(out TToiAdaptiveRuleSetNameSequence adaptiveRuleSets);
00147   
00148   
00149   
00162   void RegisterObserver(in IToiApplicationService::TToiApplicationId applicationId,
00163                         in string address)
00164     raises (TToiInvalidArgumentException);
00165   
00174   void ReleaseObserver(in string address)
00175     raises (TToiInvalidArgumentException); 
00176   
00177 };
00178 
00179 #endif