00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- 00002 *-------------------------------------------------------------------- 00003 * 00004 * ToiInformationService.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 TOIINFORMATIONSERVICE_IDL 00016 #define TOIINFORMATIONSERVICE_IDL 00017 00018 #include "TToiInvalidArgumentException.idl" 00019 #include "TToiFileException.idl" 00020 #include "ToiEventTarget.idl" 00021 00022 00043 //@ [EventTarget(EventObserver=IToiInformationObserver)] 00044 //@ [Service(Name=InformationService)] 00047 interface ToiInformationService : ToiEventTarget { 00048 00051 00055 const long ON_OBJECTS_CHANGED = 1100; 00056 00060 const long ON_OBJECTS_REMOVED = 1101; 00061 00063 00068 //@ [Enum] 00069 typedef long TToiStorageType; 00072 00082 //@ [Enumerator(Enum=TToiStorageType,Name=STORAGE_PERMANENT)] 00083 const TToiStorageType STORAGE_PERMANENT = 0; 00084 00092 //@ [Enumerator(Enum=TToiStorageType,Name=STORAGE_VOLATILE)] 00093 const TToiStorageType STORAGE_VOLATILE = 1; 00094 00096 // ----------------- Platform Objects ----------------------- 00097 00103 const string CFG_IIPDISTRIBUTION = "cfg.iipdistribution"; 00104 00111 const string CFG_INFOCAST = "cfg.infocast"; 00112 00118 const string CFG_EITCACHE_NVOD_IGNORERUNNINGSTATUS = "cfg.eitcache.nvod.ignorerunningstatus"; 00119 00126 const string CFG_LOCALE_TIMEZONE = "cfg.locale.timezone"; 00127 00132 const string CFG_LOCAL_TIMEZONE = "cfg.locale.timezone"; 00133 00139 const string CFG_AQAM_LOCALE_REGIONCODE = "cfg.aqam.locale.regioncode"; 00140 00147 const string CFG_AQAM_LOCALE_LOCATIONCODE_STATE = "cfg.aqam.locale.locationcode.state"; 00148 00155 const string CFG_AQAM_LOCALE_LOCATIONCODE_COUNTYSUBDIVISION = "cfg.aqam.locale.locationcode.countysubdivision"; 00156 00163 const string CFG_AQAM_LOCALE_LOCATIONCODE_COUNTY = "cfg.aqam.locale.locationcode.county"; 00164 00169 const string CFG_MEDIA_AUDIO_AUTOSELECTION = "cfg.media.audio.autoselection"; 00170 00176 const string CFG_MEDIA_AUDIO_LANGUAGEPRIORITY = "cfg.media.audio.languagepriority"; 00177 00183 const string CFG_MEDIA_AUDIO_FORMATPRIORITY = "cfg.media.audio.formatpriority"; 00184 00191 const string CFG_MEDIA_AUDIO_TYPEPRIORITY = "cfg.media.audio.typepriority"; 00192 00200 const string CFG_MEDIA_AUDIO_PREFERREDLANGUAGEDESCRIPTOR = "cfg.media.audio.preferredLanguageDescriptor"; 00201 00207 const string CFG_AUDIOOUTPUT_DOLBYDIGITAL_DRC = "cfg.audiooutput.dolbydigital.drc"; 00208 00214 const string CFG_AUDIOOUTPUT_DOLBYDIGITAL_DOWNMIX = "cfg.audiooutput.dolbydigital.downmix"; 00215 00221 const string CFG_AUDIOOUTPUT_DOLBYDIGITAL_LFE = "cfg.audiooutput.dolbydigital.lfe"; 00222 00230 const string CFG_MEDIA_DRM_CGMSA = "cfg.media.drm.cgmsa"; 00231 00238 const string CFG_MEDIA_DRM_MACROVISION = "cfg.media.drm.macrovision"; 00239 00244 const string CFG_MEDIA_STREAMER = "cfg.media.streamer"; 00245 00250 const string CFG_MEDIA_SUBTITLING_AUTOSELECTION = "cfg.media.subtitling.autoselection"; 00251 00257 const string CFG_MEDIA_SUBTITLING_LANGUAGEPRIORITY = "cfg.media.subtitling.languagepriority"; 00258 00264 const string CFG_MEDIA_SUBTITLING_TYPEPRIORITY = "cfg.media.subtitling.typepriority"; 00265 00271 const string CFG_MEDIA_SUBTITLING_MODEPRIORITY = "cfg.media.subtitling.modepriority"; 00272 00278 const string CFG_MEDIA_TIMESHIFT_PLAYBACKPOLICY = "cfg.media.timeshift.playbackpolicy"; 00279 00285 const string CFG_MEDIA_TIMESHIFT_RECORDINGPOLICY = "cfg.media.timeshift.recordingpolicy"; 00286 00292 const string CFG_STORAGE_AUTOMOUNT = "cfg.storage.automount"; 00293 00300 const string CFG_NTP_MAXPOLL = "cfg.ntp.maxpoll"; 00301 00308 const string CFG_NTP_MINPOLL = "cfg.ntp.minpoll"; 00309 00315 const string CFG_NTP_SERVER = "cfg.ntp.server"; 00316 00323 const string CFG_STANDBY_ALLOWUPDATE = "cfg.standby.allowupdate"; 00324 00329 const string CFG_STANDBY_BOOTPOLICY = "cfg.standby.bootpolicy"; 00330 00336 const string CMD_REBOOT = "cmd.reboot"; 00337 00342 const string VAR_GATEWAY_MANUFACTUREROUI = "var.gateway.manufactureroui"; 00343 00348 const string VAR_GATEWAY_SERIALNUMBER = "var.gateway.serialnumber"; 00349 00354 const string VAR_GATEWAY_PRODUCTCLASS = "var.gateway.productclass"; 00355 00360 const string VAR_IP_DHCP_240 = "var.ip._dhcp.240"; 00361 00366 const string VAR_IP_DHCP_241 = "var.ip._dhcp.241"; 00367 00372 const string VAR_IP_DHCP_242 = "var.ip._dhcp.242"; 00373 00378 const string VAR_IP_DHCP_243 = "var.ip._dhcp.243"; 00379 00385 const string VAR_UTCTIME = "var.utctime"; 00386 00391 const string VAR_TIME_VALID = "var.time.valid"; 00392 00393 // ----------------- Application Objects ----------------------- 00394 00400 const string CFG_LOCALE_UI = "cfg.locale.ui"; 00401 00406 const string CFG_MEDIA_CHANNELTABLE = "cfg.media.channeltable"; 00407 00414 const string CFG_PORTAL_DISPLAYBUFFER_HD_WIDTH = "cfg.portal.displaybuffer.hd.width"; 00415 00422 const string CFG_PORTAL_DISPLAYBUFFER_HD_HEIGHT = "cfg.portal.displaybuffer.hd.height"; 00423 00430 const string CFG_PORTAL_DISPLAYBUFFER_SD_WIDTH = "cfg.portal.displaybuffer.sd.width"; 00431 00438 const string CFG_PORTAL_DISPLAYBUFFER_SD_HEIGHT = "cfg.portal.displaybuffer.sd.height"; 00439 00444 const string CFG_PORTAL_PROXYLIST = "cfg.portal.proxylist"; 00445 00452 const string CFG_PORTAL_RENDERINGBUFFER_WIDTH = "cfg.portal.renderingbuffer.width"; 00453 00460 const string CFG_PORTAL_RENDERINGBUFFER_HEIGHT = "cfg.portal.renderingbuffer.height"; 00461 00467 const string CFG_PORTAL_RENDERINGMODE_HD = "cfg.portal.renderingmode.hd"; 00468 00474 const string CFG_PORTAL_RENDERINGMODE_SD = "cfg.portal.renderingmode.sd"; 00475 00480 const string CFG_PORTAL_WHITELISTURLS = "cfg.portal.whitelisturls"; 00481 00487 const string CFG_WEBKIT_USERAGENT = "cfg.webkit.useragent"; 00488 00495 const string CFG_AQAM_CONNECTED = "cfg.aqam.connectedforservice"; 00496 00503 const string CFG_AQAM_TUNING_TURNONCHANNEL = "cfg.aqam.tuning.turnonchannel"; 00504 00511 const string CFG_AQAM_TUNING_TURNOFFCHANNEL = "cfg.aqam.tuning.turnoffchannel"; 00512 00520 const string CFG_AQAM_AUDIO_ISODEFAULTLANGUAGE = "cfg.aqam.audio.isodefaultlanguage"; 00521 00526 const string CFG_DLNA_DMS_ENABLED = "cfg.dlna.dms.enabled"; 00527 00533 const string CFG_DLNA_DMS_FRIENDLYNAME = "cfg.dlna.dms.friendlyname"; 00534 00535 // ----------------- System Objects ----------------------- 00536 00541 const string CFG_IP_DNS1 = "cfg.ip.dns1"; 00542 00547 const string CFG_IP_DNS2 = "cfg.ip.dns2"; 00548 00553 const string CFG_IP_ETH0_MODE = "cfg.ip.eth0.mode"; 00554 00559 const string CFG_IP_ETH0_ADDR = "cfg.ip.eth0.addr"; 00560 00565 const string CFG_IP_ETH0_MASK = "cfg.ip.eth0.mask"; 00566 00571 const string CFG_IP_GATEWAY = "cfg.ip.gateway"; 00572 00577 const string CONST_FW_VERSION = "const._fw.version"; 00578 00583 const string CONST_CAPABILITIES_MACROVISION = "const.capabilities.macrovision"; 00584 00592 const string VAR_CAPABILITIES_DVR = "var.capabilities.dvr"; 00593 00598 const string CONST_IP_ETH0_MAC = "const.ip.eth0.mac"; 00599 00604 const string CONST_IP_ETH2_MAC = "const.ip.eth2.mac"; 00605 00610 const string CONST_HW_MANUFACTURER = "const.hw.manufacturer"; 00611 00616 const string CONST_HW_PRODUCTNAME = "const.hw.productname"; 00617 00622 const string CONST_HW_SERIALNUMBER = "const.hw.serialnumber"; 00623 00630 const string CONST_MEDIA_TIMESHIFTBUFFER_CONFIGSIZE = "const.media.timeshiftbuffer.configsize"; 00631 00636 const string CONST_MEDIA_TIMESHIFTBUFFER_CONFIGTIME = "const.media.timeshiftbuffer.configtime"; 00637 00642 const string CONST_SW_BRANCH = "const.sw.branch"; 00643 00648 const string CONST_SW_DATE = "const.sw.date"; 00649 00654 const string CONST_SW_HOST = "const.sw.host"; 00655 00660 const string CONST_SW_TIME = "const.sw.time"; 00661 00666 const string CONST_SW_USER = "const.sw.user"; 00667 00672 const string CONST_SW_VERSION = "const.sw.version"; 00673 00678 const string CFG_ARCHITECTURE_TARGET = "config.architecture.target"; 00679 00684 const string CFG_ARCHITECTURE_BOOTIMAGECOMPATIBILITY = "config.architecture.bootimagecompatibility"; 00685 00690 const string CFG_ARCHITECTURE_DBLCOMPATIBILITY = "config.architecture.dblcompatibility"; 00691 00696 const string VAR_IP_DNS1 = "var.ip.dns1"; 00697 00702 const string VAR_IP_DNS2 = "var.ip.dns2"; 00703 00708 const string VAR_IP_ETH0_TYPE = "var.ip.eth0.type"; 00709 00714 const string VAR_IP_ETH0_ADDR = "var.ip.eth0.addr"; 00715 00720 const string VAR_IP_ETH0_MASK = "var.ip.eth0.mask"; 00721 00726 const string VAR_IP_ETH0_STATUS = "var.ip.eth0.status"; 00727 00732 const string VAR_IP_ETH0_LINKSTATUS = "var.ip.eth0.linkstatus"; 00733 00738 const string VAR_IP_ETH2_TYPE = "var.ip.eth2.type"; 00739 00744 const string VAR_IP_ETH2_ADDR = "var.ip.eth2.addr"; 00745 00750 const string VAR_IP_ETH2_MASK = "var.ip.eth2.mask"; 00751 00756 const string VAR_IP_ETH2_STATUS = "var.ip.eth2.status"; 00757 00762 const string VAR_IP_ETH2_LINKSTATUS = "var.ip.eth2.linkstatus"; 00763 00768 const string VAR_IP_GATEWAY = "var.ip.gateway"; 00769 00774 const string VAR_IP_METACHANNEL = "var.ip.metachannel"; 00775 00782 const string VAR_RCU_LOWBATTERY = "var.rcu.low_battery"; 00783 00788 const string VAR_IO_STATE = "var.io.state"; 00789 00795 const string VAR_MEDIA_TIMESHIFTBUFFER_SPACEREQUIRED = "var.media.timeshiftbuffer.spacerequired"; 00796 00803 const string VAR_MEDIA_TIMESHIFTBUFFER_AVAILABILITY = "var.media.timeshiftbuffer.availability"; 00804 00809 const string VAR_PLATFORM_RESETREASON = "var.platform.resetreason"; 00810 00815 const string VAR_IP_ETH0_LEASETIME = "var.ip.eth0.leasetime"; 00816 00821 const string VAR_IP_ETH2_LEASETIME = "var.ip.eth2.leasetime"; 00822 00827 const string VAR_IP_ETH0_LAST_LEASE_RENEWAL_TIME = "var.ip.eth0.lastleaserenewaltime"; 00828 00833 const string VAR_IP_ETH2_LAST_LEASE_RENEWAL_TIME = "var.ip.eth2.lastleaserenewaltime"; 00834 00835 // ----------------- Boolean string values ------------------------ 00836 00841 const string VALUE_TRUE = "TRUE"; 00842 00847 const string VALUE_FALSE = "FALSE"; 00848 00849 // ----------------- Typedefs ------------------------------------- 00850 00852 typedef sequence < string > TToiObjectNameSequence; 00853 00855 typedef sequence < string > TToiObjectValueSequence; 00856 00858 typedef sequence < TToiStorageType > TToiStorageTypeSequence; 00859 00868 //@ [OutParam(Name=exists,Position=2,IsBinary=0, Bound=0)] 00869 boolean isObjectDefined(in string objectName); 00870 00881 //@ [ExtendIpcMessage(SoftLimit=100000)] 00882 00883 00884 //@ [OutParam(Name=value,Position=2,IsBinary=0, Bound=0)] 00885 string getObject(in string objectName) 00886 raises (TToiInvalidArgumentException); 00887 00898 //@ [ExtendIpcMessage(SoftLimit=100000)] 00899 00900 00901 //@ [OutParam(Name=values,Position=2,IsBinary=0, Bound=0)] 00902 TToiObjectValueSequence getObjects(in TToiObjectNameSequence objectNames) 00903 raises (TToiInvalidArgumentException); 00904 00916 //@ [ExtendIpcMessage(SoftLimit=100000)] 00917 00918 00919 void setObject(in string objectName, 00920 in string value, 00921 in TToiStorageType storageType) 00922 raises (TToiInvalidArgumentException); 00923 00936 //@ [ExtendIpcMessage(SoftLimit=100000)] 00937 00938 00939 void setObjects(in TToiObjectNameSequence objectNames, 00940 in TToiObjectValueSequence values, 00941 in TToiStorageTypeSequence storageTypes) 00942 raises (TToiInvalidArgumentException); 00943 00960 void unsetObject(in string objectName, 00961 in TToiStorageType storageType) 00962 raises (TToiInvalidArgumentException); 00963 00982 void unsetObjects(in TToiObjectNameSequence objectNames, 00983 in TToiStorageTypeSequence storageTypes) 00984 raises (TToiInvalidArgumentException); 00985 01008 //@ [EventFilter(AddressPosition=1)] 01009 01010 01011 void subscribeObject(in ToiEventListener eventListener, 01012 in string objectExpression, 01013 in boolean callbackFlag) 01014 raises (TToiInvalidArgumentException); 01015 01029 //@ [EventFilter(AddressPosition=1)] 01030 01031 01032 void unsubscribeObject(in ToiEventListener eventListener, 01033 in string objectExpression) 01034 raises (TToiInvalidArgumentException); 01035 01036 }; 01037 01038 #endif