LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Preferences Class Reference

#include <Preferences.h>

Inheritance diagram for Preferences:
[legend]
Collaboration diagram for Preferences:
[legend]

Signals

void signalWallPaperChanged (const char *filePath)
 
void signalDockModeWallPaperChanged (const char *filePath)
 
void signalSetLockTimeout (uint32_t timeout)
 
void signalAirplaneModeChanged (bool enabled)
 
void signalRoamingIndicatorChanged ()
 
void signalDualRssiEnabled ()
 
void signalVoiceDialSettingChanged (bool v)
 
void signalRotationLockChanged (OrientationEvent::Orientation rotationLock)
 
void signalMuteSoundChanged (bool muteOn)
 
void signalAlsEnabled (bool enable)
 

Public Member Functions

uint32_t lockTimeout () const
 
void setLockTimeout (uint32_t timeout)
 
std::string getCurrentRingtone ()
 
std::string getCurrentAlerttone ()
 
std::string getCurrentNotificationtone ()
 
bool showAlertsWhenLocked () const
 
bool ledThrobberEnabled () const
 
bool playFeedbackSounds () const
 
bool sysUiNoHomeButtonMode () const
 
bool sysUiEnableNextPrevGestures () const
 
bool imeEnabled () const
 
bool pinyinEnabled () const
 
bool hwrEnabled () const
 
bool getPinyinPassthrough () const
 
void setPinyinPassthrough (bool enabled)
 
bool getVoiceDialEnabled () const
 
bool airplaneMode () const
 
bool setAirplaneMode (bool on)
 
bool wifiState () const
 
bool saveWifiState (bool on)
 
bool bluetoothState () const
 
bool saveBluetoothState (bool on)
 
bool show3GForEvdo () const
 
bool useDualRSSI () const
 
bool hideWANAlert () const
 
std::string roamingIndicator () const
 
OrientationEvent::Orientation rotationLock () const
 
bool setRotationLockPref (OrientationEvent::Orientation lockedOrientation)
 
bool isMuteOn () const
 
bool setMuteSoundPref (bool mute)
 
bool isAlsEnabled () const
 
bool setStringPreference (const char *keyName, const char *value)
 

Static Public Member Functions

static Preferencesinstance ()
 
static uint32_t roundLockTimeout (uint32_t unrounded)
 

Member Function Documentation

bool Preferences::airplaneMode ( ) const
bool Preferences::bluetoothState ( ) const
std::string Preferences::getCurrentAlerttone ( )
inline
std::string Preferences::getCurrentNotificationtone ( )
inline
std::string Preferences::getCurrentRingtone ( )
inline
bool Preferences::getPinyinPassthrough ( ) const
inline
bool Preferences::getVoiceDialEnabled ( ) const
inline
bool Preferences::hideWANAlert ( ) const
inline
bool Preferences::hwrEnabled ( ) const
inline
bool Preferences::imeEnabled ( ) const
inline
Preferences * Preferences::instance ( void  )
static
bool Preferences::isAlsEnabled ( ) const
bool Preferences::isMuteOn ( ) const
bool Preferences::ledThrobberEnabled ( ) const
inline
uint32_t Preferences::lockTimeout ( ) const
bool Preferences::pinyinEnabled ( ) const
inline
bool Preferences::playFeedbackSounds ( ) const
inline
std::string Preferences::roamingIndicator ( ) const
inline
OrientationEvent::Orientation Preferences::rotationLock ( ) const
uint32_t Preferences::roundLockTimeout ( uint32_t  unrounded)
static
bool Preferences::saveBluetoothState ( bool  on)
bool Preferences::saveWifiState ( bool  on)
bool Preferences::setAirplaneMode ( bool  on)
void Preferences::setLockTimeout ( uint32_t  timeout)
bool Preferences::setMuteSoundPref ( bool  mute)
void Preferences::setPinyinPassthrough ( bool  enabled)
inline
bool Preferences::setRotationLockPref ( OrientationEvent::Orientation  lockedOrientation)
bool Preferences::setStringPreference ( const char *  keyName,
const char *  value 
)
bool Preferences::show3GForEvdo ( ) const
inline
bool Preferences::showAlertsWhenLocked ( ) const
inline
void Preferences::signalAirplaneModeChanged ( bool  enabled)
signal
void Preferences::signalAlsEnabled ( bool  enable)
signal
void Preferences::signalDockModeWallPaperChanged ( const char *  filePath)
signal
void Preferences::signalDualRssiEnabled ( )
signal
void Preferences::signalMuteSoundChanged ( bool  muteOn)
signal
void Preferences::signalRoamingIndicatorChanged ( )
signal
void Preferences::signalRotationLockChanged ( OrientationEvent::Orientation  rotationLock)
signal
void Preferences::signalSetLockTimeout ( uint32_t  timeout)
signal
void Preferences::signalVoiceDialSettingChanged ( bool  v)
signal
void Preferences::signalWallPaperChanged ( const char *  filePath)
signal
bool Preferences::sysUiEnableNextPrevGestures ( ) const
inline
bool Preferences::sysUiNoHomeButtonMode ( ) const
inline
bool Preferences::useDualRSSI ( ) const
inline
bool Preferences::wifiState ( ) const

The documentation for this class was generated from the following files: