35 #define DEFAULT_ICON_W 64
36 #define DEFAULT_ICON_H 64
43 const std::string& filePath);
46 const std::string&
id,
48 const std::string&
title,
57 json_object*
toJSON()
const;
65 const std::string&
id()
const {
return m_id; }
67 const std::string&
title()
const {
return m_title.original; }
68 const std::string&
menuName()
const {
return m_appmenuName; }
69 const std::string&
iconPath()
const {
return m_iconPath; }
70 const std::string&
params()
const {
return m_params; }
74 bool setRemovable(
bool v=
true) {
bool pv=m_removable;m_removable=v;
return pv;}
90 Title() : original(
""), lowercase(0), keyed(0) { }
91 ~Title() { cleanup(); }
103 void set(
const std::string&
title)
107 lowercase = g_utf8_strdown(title.c_str(), -1);
108 keyed = g_utf8_collate_key(lowercase, -1);
111 std::string original;
118 const std::string& launchPointId);
124 std::string m_launchPointId;
126 std::string m_appmenuName;
127 std::string m_iconPath;
128 std::string m_params;