ToiDvbEitCache.idl

00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00002  *--------------------------------------------------------------------
00003  *
00004  * ToiDvbEitCache.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 TOIDVBEITCACHE_IDL
00016 #define TOIDVBEITCACHE_IDL
00017 
00018 #include "TToiInvalidArgumentException.idl"
00019 #include "ToiMultipleResult.idl"
00020 #include "ToiEventTarget.idl"
00021 
00022 //@ [Struct(Interface=IToiDvbEitCache,Name=TToiServiceItem)]
00023 interface ToiDvbEitCacheServiceItem;
00024 //@ [Struct(Interface=IToiDvbEitCache,Name=TToiEventInfo)]
00025 interface ToiDvbEitCacheEventInfo;
00026 //@ [Struct(Interface=IToiDvbEitCache,Name=TToiExtendedEventInfo)]
00027 interface ToiDvbEitCacheExtendedEventInfo;
00028 //@ [Struct(Interface=IToiDvbEitCache,Name=TToiEventItemInfo)]
00029 interface ToiDvbEitCacheEventItemInfo;
00030 //@ [Struct(Interface=IToiDvbEitCache,Name=TToiDvbEitUpdateInfo)]
00031 interface ToiDvbEitCacheDvbEitUpdateInfo;
00032 //@ [Struct(Interface=IToiDvbEitCache,Name=TToiComponent)]
00033 interface ToiDvbEitCacheComponent;
00034 
00053 //@ [EventTarget(EventObserver=IToiDvbEitCacheObserver)]
00054 
00055 //@ [ReleaseInstance(Method=ReleaseInstance)]
00056 interface ToiDvbEitCache : ToiEventTarget {
00057 
00060   
00064   const long ON_CACHE_UPDATED = 700;
00065   
00067   
00074   
00079   const long NO_EVENT_ID = 2147483647;
00080   
00082   
00088   
00093   const long FILTER_MODE_PF_ONLY = 1;
00094   
00099   const long FILTER_MODE_PF_AND_SCHEDULE = 2;
00100   
00102   typedef sequence < ToiDvbEitCacheEventInfo > TToiEventInfoSequence;
00103   
00105   typedef sequence < ToiDvbEitCacheEventItemInfo > TToiEventItemInfoSequence;
00106   
00108   typedef sequence < octet > Binary;
00109   
00111   typedef sequence < ToiDvbEitCacheDvbEitUpdateInfo > TToiDvbEitUpdateInfoSequence;
00112   
00114   typedef string TToiLanguageCode;
00115   
00117   typedef sequence < ToiDvbEitCacheComponent > TToiComponentSequence;
00118   
00130   void setFilterMode(in long filterMode);
00131   
00135   void clearServices();
00136   
00143   void clearEvents();
00144   
00153   void addService(in ToiDvbEitCacheServiceItem service);
00154   
00180   //@ [ToiMultipleResult=ToiDvbEitCacheGetEventsRet]
00181   ToiMultipleResult getEvents(in ToiDvbEitCacheServiceItem service, 
00182         in unsigned long time, 
00183         in long duration)
00184    raises (TToiInvalidArgumentException);
00185   
00197   //@ [OutParam(Name=event,Position=2,IsBinary=0, Bound=0)]
00198   ToiDvbEitCacheEventInfo getPresentEvent(in ToiDvbEitCacheServiceItem service)
00199    raises (TToiInvalidArgumentException);
00200   
00212   //@ [OutParam(Name=event,Position=2,IsBinary=0, Bound=0)]
00213   ToiDvbEitCacheEventInfo getFollowingEvent(in ToiDvbEitCacheServiceItem service)
00214    raises (TToiInvalidArgumentException);
00215   
00229   //@ [OutParam(Name=privData,Position=3,IsBinary=1, Bound=0)]
00230   Binary getPrivateData(in ToiDvbEitCacheServiceItem service, 
00231         in long eventId)
00232    raises (TToiInvalidArgumentException);
00233   
00246   //@ [OutParam(Name=eventInfo,Position=3,IsBinary=0, Bound=0)]
00247   ToiDvbEitCacheExtendedEventInfo getExtendedEventInfo(in ToiDvbEitCacheServiceItem service, 
00248         in long eventId)
00249    raises (TToiInvalidArgumentException);
00250   
00264   //@ [OutParam(Name=eventItems,Position=3,IsBinary=0, Bound=0)]
00265   TToiEventItemInfoSequence getEventItemInfo(in ToiDvbEitCacheServiceItem service, 
00266         in long eventId)
00267    raises (TToiInvalidArgumentException);
00268   
00282   //@ [OutParam(Name=components,Position=3,IsBinary=0, Bound=0)]
00283   TToiComponentSequence getVideoComponentList(in ToiDvbEitCacheServiceItem service, 
00284         in long eventId)
00285    raises (TToiInvalidArgumentException);
00286   
00303   //@ [OutParam(Name=components,Position=4,IsBinary=0, Bound=0)]
00304   TToiComponentSequence getAudioComponentList(in ToiDvbEitCacheServiceItem service, 
00305         in long eventId, 
00306         in TToiLanguageCode languageCode)
00307    raises (TToiInvalidArgumentException);
00308   
00325   //@ [OutParam(Name=components,Position=4,IsBinary=0, Bound=0)]
00326   TToiComponentSequence getSubtitleComponentList(in ToiDvbEitCacheServiceItem service, 
00327         in long eventId, 
00328         in TToiLanguageCode languageCode)
00329    raises (TToiInvalidArgumentException);
00330   
00335   //@ [ReleaseInstance]
00336   
00337   
00338   void releaseInstance();
00339   
00340 };
00341 
00342 #endif