20 #ifndef LOCALEPREFERENCES_H
21 #define LOCALEPREFERENCES_H
26 #include <lunaservice.h>
51 QString
locale(
const QString &name)
const;
57 QString
clock()
const;
62 std::string
locale()
const;
77 void registerService();
80 static bool serverConnectCallback(LSHandle *sh, LSMessage *message,
void *ctx);
81 static bool getPreferencesCallback(LSHandle *sh, LSMessage *message,
void *ctx);
82 static bool getLocaleInfoCallback(LSHandle *sh, LSMessage *message,
void *ctx);
87 std::string m_localeRegion;
88 std::string m_phoneRegion;
89 std::string m_currentTimeFormat;
91 mutable Mutex m_mutex;
93 LSMessageToken m_serverStatusToken;
97 #endif // LOCALEPREFERENCES_H