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_LOCAL_TIMEZONE = "cfg.locale.timezone"; 00127 00134 const string CFG_LOCAL_LOCATIONCODE = "cfg.locale.locationcode"; 00135 00140 const string CFG_MEDIA_AUDIO_AUTOSELECTION = "cfg.media.audio.autoselection"; 00141 00147 const string CFG_MEDIA_AUDIO_LANGUAGEPRIORITY = "cfg.media.audio.languagepriority"; 00148 00154 const string CFG_MEDIA_AUDIO_FORMATPRIORITY = "cfg.media.audio.formatpriority"; 00155 00162 const string CFG_MEDIA_AUDIO_TYPEPRIORITY = "cfg.media.audio.typepriority"; 00163 00171 const string CFG_MEDIA_AUDIO_PREFERREDLANGUAGEDESCRIPTOR = "cfg.media.audio.preferredLanguageDescriptor"; 00172 00178 const string CFG_AUDIOOUTPUT_DOLBYDIGITAL_DRC = "cfg.audiooutput.dolbydigital.drc"; 00179 00185 const string CFG_AUDIOOUTPUT_DOLBYDIGITAL_DOWNMIX = "cfg.audiooutput.dolbydigital.downmix"; 00186 00192 const string CFG_AUDIOOUTPUT_DOLBYDIGITAL_LFE = "cfg.audiooutput.dolbydigital.lfe"; 00193 00201 const string CFG_MEDIA_DRM_CGMSA = "cfg.media.drm.cgmsa"; 00202 00209 const string CFG_MEDIA_DRM_MACROVISION = "cfg.media.drm.macrovision"; 00210 00215 const string CFG_MEDIA_STREAMER = "cfg.media.streamer"; 00216 00221 const string CFG_MEDIA_SUBTITLING_AUTOSELECTION = "cfg.media.subtitling.autoselection"; 00222 00228 const string CFG_MEDIA_SUBTITLING_LANGUAGEPRIORITY = "cfg.media.subtitling.languagepriority"; 00229 00235 const string CFG_MEDIA_SUBTITLING_TYPEPRIORITY = "cfg.media.subtitling.typepriority"; 00236 00242 const string CFG_MEDIA_SUBTITLING_MODEPRIORITY = "cfg.media.subtitling.modepriority"; 00243 00249 const string CFG_MEDIA_TIMESHIFT_PLAYBACKPOLICY = "cfg.media.timeshift.playbackpolicy"; 00250 00256 const string CFG_STORAGE_AUTOMOUNT = "cfg.storage.automount"; 00257 00264 const string CFG_NTP_MAXPOLL = "cfg.ntp.maxpoll"; 00265 00272 const string CFG_NTP_MINPOLL = "cfg.ntp.minpoll"; 00273 00279 const string CFG_NTP_SERVER = "cfg.ntp.server"; 00280 00287 const string CFG_STANDBY_ALLOWUPDATE = "cfg.standby.allowupdate"; 00288 00293 const string CFG_STANDBY_BOOTPOLICY = "cfg.standby.bootpolicy"; 00294 00300 const string CMD_REBOOT = "cmd.reboot"; 00301 00306 const string VAR_IP_DHCP_240 = "var.ip._dhcp.240"; 00307 00312 const string VAR_IP_DHCP_241 = "var.ip._dhcp.241"; 00313 00318 const string VAR_IP_DHCP_242 = "var.ip._dhcp.242"; 00319 00324 const string VAR_IP_DHCP_243 = "var.ip._dhcp.243"; 00325 00331 const string VAR_UTCTIME = "var.utctime"; 00332 00333 // ----------------- Application Objects ----------------------- 00334 00340 const string CFG_LOCALE_UI = "cfg.locale.ui"; 00341 00346 const string CFG_MEDIA_CHANNELTABLE = "cfg.media.channeltable"; 00347 00354 const string CFG_PORTAL_DISPLAYBUFFER_HD_WIDTH = "cfg.portal.displaybuffer.hd.width"; 00355 00362 const string CFG_PORTAL_DISPLAYBUFFER_HD_HEIGHT = "cfg.portal.displaybuffer.hd.height"; 00363 00370 const string CFG_PORTAL_DISPLAYBUFFER_SD_WIDTH = "cfg.portal.displaybuffer.sd.width"; 00371 00378 const string CFG_PORTAL_DISPLAYBUFFER_SD_HEIGHT = "cfg.portal.displaybuffer.sd.height"; 00379 00384 const string CFG_PORTAL_PROXYLIST = "cfg.portal.proxylist"; 00385 00392 const string CFG_PORTAL_RENDERINGBUFFER_WIDTH = "cfg.portal.renderingbuffer.width"; 00393 00400 const string CFG_PORTAL_RENDERINGBUFFER_HEIGHT = "cfg.portal.renderingbuffer.height"; 00401 00407 const string CFG_PORTAL_RENDERINGMODE_HD = "cfg.portal.renderingmode.hd"; 00408 00414 const string CFG_PORTAL_RENDERINGMODE_SD = "cfg.portal.renderingmode.sd"; 00415 00420 const string CFG_PORTAL_WHITELISTURLS = "cfg.portal.whitelisturls"; 00421 00427 const string CFG_WEBKIT_USERAGENT = "cfg.webkit.useragent"; 00428 00435 const string CFG_AQAM_CONNECTED = "cfg.aqam.connectedforservice"; 00436 00443 const string CFG_AQAM_TUNING_TURNONCHANNEL = "cfg.aqam.tuning.turnonchannel"; 00444 00451 const string CFG_AQAM_TUNING_TURNOFFCHANNEL = "cfg.aqam.tuning.turnoffchannel"; 00452 00460 const string CFG_AQAM_AUDIO_ISODEFAULTLANGUAGE = "cfg.aqam.audio.isodefaultlanguage"; 00461 00462 // ----------------- System Objects ----------------------- 00463 00468 const string CFG_IP_DNS1 = "cfg.ip.dns1"; 00469 00474 const string CFG_IP_DNS2 = "cfg.ip.dns2"; 00475 00480 const string CFG_IP_ETH0_MODE = "cfg.ip.eth0.mode"; 00481 00486 const string CFG_IP_ETH0_ADDR = "cfg.ip.eth0.addr"; 00487 00492 const string CFG_IP_ETH0_MASK = "cfg.ip.eth0.mask"; 00493 00498 const string CFG_IP_GATEWAY = "cfg.ip.gateway"; 00499 00504 const string CONST_FW_VERSION = "const._fw.version"; 00505 00510 const string CONST_CAPABILITIES_MACROVISION = "const.capabilities.macrovision"; 00511 00519 const string VAR_CAPABILITIES_DVR = "var.capabilities.dvr"; 00520 00525 const string CONST_IP_ETH0_MAC = "const.ip.eth0.mac"; 00526 00531 const string CONST_HW_MANUFACTURER = "const.hw.manufacturer"; 00532 00537 const string CONST_HW_PRODUCTNAME = "const.hw.productname"; 00538 00543 const string CONST_HW_SERIALNUMBER = "const.hw.serialnumber"; 00544 00551 const string CONST_MEDIA_TIMESHIFTBUFFER_CONFIGSIZE = "const.media.timeshiftbuffer.configsize"; 00552 00557 const string CONST_MEDIA_TIMESHIFTBUFFER_CONFIGTIME = "const.media.timeshiftbuffer.configtime"; 00558 00563 const string CONST_SW_BRANCH = "const.sw.branch"; 00564 00569 const string CONST_SW_DATE = "const.sw.date"; 00570 00575 const string CONST_SW_HOST = "const.sw.host"; 00576 00581 const string CONST_SW_TIME = "const.sw.time"; 00582 00587 const string CONST_SW_USER = "const.sw.user"; 00588 00593 const string CONST_SW_VERSION = "const.sw.version"; 00594 00599 const string CFG_ARCHITECTURE_TARGET = "config.architecture.target"; 00600 00605 const string CFG_ARCHITECTURE_BOOTIMAGECOMPATIBILITY = "config.architecture.bootimagecompatibility"; 00606 00611 const string CFG_ARCHITECTURE_DBLCOMPATIBILITY = "config.architecture.dblcompatibility"; 00612 00617 const string VAR_IP_DNS1 = "var.ip.dns1"; 00618 00623 const string VAR_IP_DNS2 = "var.ip.dns2"; 00624 00629 const string VAR_IP_ETH0_ADDR = "var.ip.eth0.addr"; 00630 00635 const string VAR_IP_ETH0_MASK = "var.ip.eth0.mask"; 00636 00641 const string VAR_IP_ETH0_STATUS = "var.ip.eth0.status"; 00642 00647 const string VAR_IP_ETH0_LINKSTATUS = "var.ip.eth0.linkstatus"; 00648 00653 const string VAR_IP_GATEWAY = "var.ip.gateway"; 00654 00659 const string VAR_IP_METACHANNEL = "var.ip.metachannel"; 00660 00667 const string VAR_RCU_LOWBATTERY = "var.rcu.low_battery"; 00668 00673 const string VAR_IO_STATE = "var.io.state"; 00674 00680 const string VAR_MEDIA_TIMESHIFTBUFFER_SPACEREQUIRED = "var.media.timeshiftbuffer.spacerequired"; 00681 00691 const string VAR_MEDIA_TIMESHIFTBUFFER_AVAILABILITY = "var.media.timeshiftbuffer.availability"; 00692 00694 typedef sequence < string > TToiObjectNameSequence; 00695 00697 typedef sequence < string > TToiObjectValueSequence; 00698 00700 typedef sequence < TToiStorageType > TToiStorageTypeSequence; 00701 00710 //@ [OutParam(Name=exists,Position=2,IsBinary=0, Bound=0)] 00711 boolean isObjectDefined(in string objectName); 00712 00726 //@ [OutParam(Name=value,Position=2,IsBinary=0, Bound=0)] 00727 string getObject(in string objectName) 00728 raises (TToiInvalidArgumentException); 00729 00743 //@ [OutParam(Name=values,Position=2,IsBinary=0, Bound=0)] 00744 TToiObjectValueSequence getObjects(in TToiObjectNameSequence objectNames) 00745 raises (TToiInvalidArgumentException); 00746 00759 void setObject(in string objectName, 00760 in string value, 00761 in TToiStorageType storageType) 00762 raises (TToiInvalidArgumentException); 00763 00777 void setObjects(in TToiObjectNameSequence objectNames, 00778 in TToiObjectValueSequence values, 00779 in TToiStorageTypeSequence storageTypes) 00780 raises (TToiInvalidArgumentException); 00781 00798 void unsetObject(in string objectName, 00799 in TToiStorageType storageType) 00800 raises (TToiInvalidArgumentException); 00801 00820 void unsetObjects(in TToiObjectNameSequence objectNames, 00821 in TToiStorageTypeSequence storageTypes) 00822 raises (TToiInvalidArgumentException); 00823 00846 //@ [EventFilter(AddressPosition=1)] 00847 00848 00849 void subscribeObject(in ToiEventListener eventListener, 00850 in string objectExpression, 00851 in boolean callbackFlag) 00852 raises (TToiInvalidArgumentException); 00853 00867 //@ [EventFilter(AddressPosition=1)] 00868 00869 00870 void unsubscribeObject(in ToiEventListener eventListener, 00871 in string objectExpression) 00872 raises (TToiInvalidArgumentException); 00873 00874 }; 00875 00876 #endif