IToiDvbEitCache.idl

00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00002  *--------------------------------------------------------------------
00003  *
00004  * IToiDvbEitCache.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 ITOIDVBEITCACHE_IDL
00016 #define ITOIDVBEITCACHE_IDL
00017 
00018 #include "TToiInvalidArgumentException.idl"
00019 
00020 #include "IToiApplicationService.idl"
00039 //@ [EventTarget(EventObserver=IToiDvbEitCacheObserver)]
00040 
00041 interface IToiDvbEitCache {
00042 
00049   
00054   const long NO_EVENT_ID = 2147483647;
00055   
00057   
00063   
00068   const long FILTER_MODE_PF_ONLY = 1;
00069   
00074   const long FILTER_MODE_PF_AND_SCHEDULE = 2;
00075   
00077   
00079   struct TToiServiceItem {
00081     long OriginalNetworkId;
00083     long TransportStreamId;
00085     long ServiceId;
00086   };
00087   
00091   struct TToiEventInfo {
00093     long EventId;
00095     string Name;
00097     unsigned long Time;
00099     long Duration;
00104     long ContentNibbles;
00106     long ParentalRating;
00111     boolean FreeCaMode;
00112   };
00113   
00116   struct TToiExtendedEventInfo {
00118     long EventId;
00122     string ShortInfo;
00127     string ExtendedInfo;
00128   };
00129   
00133   struct TToiEventItemInfo {
00135     string Description;
00137     string Value;
00138   };
00139   
00141   typedef sequence < TToiEventInfo > TToiEventInfoSequence;
00142   
00144   typedef sequence < TToiEventItemInfo > TToiEventItemInfoSequence;
00145   
00147   typedef sequence < octet > Binary;
00148   
00150   struct TToiDvbEitUpdateInfo {
00152     long OriginalNetworkId;
00154     long TransportStreamId;
00156     long ServiceId;
00160     unsigned long Time;
00162     long Duration;
00163   };
00164   
00166   typedef sequence < TToiDvbEitUpdateInfo > TToiDvbEitUpdateInfoSequence;
00167   
00169   typedef string TToiLanguageCode;
00170   
00173   struct TToiComponent {
00175     long StreamContent;
00177     long ComponentType;
00179     long Tag;
00183     IToiDvbEitCache::TToiLanguageCode LanguageCode;
00185     string Description;
00186   };
00187   
00189   typedef sequence < TToiComponent > TToiComponentSequence;
00190   
00202   void SetFilterMode(in long filterMode);
00203   
00207   void ClearServices();
00208   
00215   void ClearEvents();
00216   
00225   void AddService(in TToiServiceItem service);
00226   
00251   void GetEvents(in TToiServiceItem service, 
00252         in unsigned long time, 
00253         in long duration, 
00254         out TToiEventInfoSequence infoSequence, 
00255         out boolean more)
00256    raises (TToiInvalidArgumentException);
00257   
00269   void GetPresentEvent(in TToiServiceItem service, 
00270         out TToiEventInfo event)
00271    raises (TToiInvalidArgumentException);
00272   
00284   void GetFollowingEvent(in TToiServiceItem service, 
00285         out TToiEventInfo event)
00286    raises (TToiInvalidArgumentException);
00287   
00303   void GetPrivateData(in TToiServiceItem service, 
00304         in long eventId, 
00305         out Binary privData,
00306   out long privDataDataSize ,
00307   in long privDataMaxSize )
00308    raises (TToiInvalidArgumentException);
00309   
00322   void GetExtendedEventInfo(in TToiServiceItem service, 
00323         in long eventId, 
00324         out TToiExtendedEventInfo eventInfo)
00325    raises (TToiInvalidArgumentException);
00326   
00340   void GetEventItemInfo(in TToiServiceItem service, 
00341         in long eventId, 
00342         out TToiEventItemInfoSequence eventItems)
00343    raises (TToiInvalidArgumentException);
00344   
00358   void GetVideoComponentList(in TToiServiceItem service, 
00359         in long eventId, 
00360         out TToiComponentSequence components)
00361    raises (TToiInvalidArgumentException);
00362   
00379   void GetAudioComponentList(in TToiServiceItem service, 
00380         in long eventId, 
00381         in TToiLanguageCode languageCode, 
00382         out TToiComponentSequence components)
00383    raises (TToiInvalidArgumentException);
00384   
00401   void GetSubtitleComponentList(in TToiServiceItem service, 
00402         in long eventId, 
00403         in TToiLanguageCode languageCode, 
00404         out TToiComponentSequence components)
00405    raises (TToiInvalidArgumentException);
00406   
00411   //@ [ReleaseInstance]
00412   
00413   
00414   void ReleaseInstance();
00415   
00416   
00417   
00430   void RegisterObserver(in IToiApplicationService::TToiApplicationId applicationId,
00431                         in string address)
00432     raises (TToiInvalidArgumentException);
00433   
00442   void ReleaseObserver(in string address)
00443     raises (TToiInvalidArgumentException); 
00444   
00445 };
00446 
00447 #endif