34 #include "powerModeChangeListener.hpp"
35 #include "displayConnectionChangeListener.hpp"
62 static const int kPowerOn;
63 static const int kPowerOff;
64 static const int kPowerStandby;
66 bool setPowerMode(
int mode);
69 int setPreferredSleepMode(
const SleepMode);
76 static Host& getInstance(
void);
85 void notifyPowerChange(
const int mode);
86 float getCPUTemperature();
87 uint32_t getVersion(
void);
88 void setVersion(uint32_t versionNumber);
89 void getHostEDID(std::vector<uint8_t> &edid)
const;
90 std::string getSocIDFromSDK();
91 void getSinkDeviceAtmosCapability(dsATMOSCapability_t & atmosCapability);
92 void setAudioAtmosOutputMode(
bool enable);
93 void setAssociatedAudioMixing(
const bool mixing);
94 void getAssociatedAudioMixing(
bool *mixing);
95 void setFaderControl(
const int mixerbalance);
96 void getFaderControl(
int *mixerBalance);
97 void setPrimaryLanguage(
const std::string pLang);
98 void getPrimaryLanguage(std::string &pLang);
99 void setSecondaryLanguage(
const std::string sLang);
100 void getSecondaryLanguage(std::string &sLang);
101 bool isHDMIOutPortPresent();
102 std::string getDefaultVideoPortName();
103 std::string getDefaultAudioPortName();
111 Host& operator=(
const Host&)=
delete;
113 std::list < PowerModeChangeListener* > powerEvntListeners;
114 std::list < DisplayConnectionChangeListener* > dispEvntListeners;
115 void notifyDisplayConnectionChange(
int portHandle,
bool newConnectionStatus);