19 #ifndef APPLICATIONDESCRIPTION_H
20 #define APPLICATIONDESCRIPTION_H
30 #include "KeywordMap.h"
32 #include <ApplicationDescriptionBase.h>
49 void launch(
const std::string& overrideArgs)
59 void signalEntry(
const std::string& argsAsStringEncodedJson);
92 const std::string&
version,
const std::string& splashIcon,
94 const std::string& vendor,
const std::string&
vendorUrl,
95 const std::string& appmenu);
98 const std::string&
menuName()
const {
return m_appmenuName; }
99 const std::string&
category()
const {
return m_category; }
100 std::list<std::string>
keywords()
const {
return m_keywords.allKeywords(); }
101 const std::string&
version()
const {
return m_version; }
107 const std::string&
folderPath()
const {
return m_folderPath; }
111 const std::string&
attributes()
const {
return m_attributes; }
119 const std::string&
vendorUrl()
const {
return m_vendorUrl;}
130 return m_splashIconName;
133 return m_splashBackgroundName;
137 return m_launchInNewGroup;
140 const std::list<ResourceHandler>&
mimeTypes()
const;
152 json_object*
toJSON()
const;
204 MimeRegInfo() : stream(false) {}
206 MimeRegInfo(
const MimeRegInfo& c) {
207 mimeType = c.mimeType;
208 extension = c.extension;
209 urlPattern = c.urlPattern;
213 MimeRegInfo& operator=(
const MimeRegInfo& c) {
216 mimeType = c.mimeType;
217 extension = c.extension;
218 urlPattern = c.urlPattern;
223 std::string mimeType;
224 std::string extension;
225 std::string urlPattern;
230 static int utilExtractMimeTypes(
struct json_object * jsonMimeTypeArray,std::vector<MimeRegInfo>& extractedMimeTypes);
232 std::string m_category;
233 std::string m_version;
234 std::list<ResourceHandler> m_mimeTypes;
235 std::list<RedirectHandler> m_redirectTypes;
237 std::string m_splashIconName;
238 std::string m_splashBackgroundName;
239 std::string m_miniIconName;
240 bool m_hasTransparentWindows;
241 std::string m_folderPath;
242 bool m_executionLock;
243 bool m_flaggedForRemoval;
245 bool m_isUserHideable;
248 uint32_t m_hardwareFeaturesNeeded;
252 bool m_launchInNewGroup;
253 bool m_tapToShareSupported;
254 bool m_handlesRelaunch;
258 std::string m_dockModeTitle;
260 std::string m_attributes;
262 std::string m_vendorName;
263 std::string m_vendorUrl;
265 uint32_t m_fsBlockSize;
267 unsigned int m_runtimeMemoryRequired;
268 std::string m_appmenuName;
269 KeywordMap m_keywords;
270 std::string m_universalSearchJsonStr;
271 std::string m_servicesJsonStr;
272 std::string m_accountsJsonStr;
277 void updateSysmgrBuiltinWithLocalization();