}
/**
- * WRT factory widgets that are loaded by default
+ * WRT widgets that are downloaded and installed by user
+ */
+inline const char* GetUserInstalledWidgetPath()
+{
+ return "/opt/usr/apps";
+}
+
+/**
+ * WRT widgets that are preloaded
*/
-inline const char* GetFactoryInstalledWidgetPath()
+inline const char* GetUserPreloadedWidgetPath()
{
- return "/opt/share/widget/system";
+ return "/usr/apps";
}
/**
* WRT widgets that are downloaded and installed by user
*/
-inline const char* GetUserInstalledWidgetPath()
+inline const char* GetWidgetUserDataPath()
{
- return "/opt/apps";
+ return "/opt/usr/apps";
}
/**
return "data";
}
+/**
+ * widgets share directory path
+ */
+inline const char* GetWidgetSharePath()
+{
+ return "share";
+}
/**
* widgets desktop files path
return "/usr/share/wrt-engine/wrt_widget_default_icon.png";
}
-/**
- * WRT downloaded widgets
- */
-// KW inline const char* GetDownloadedWidgetPath()
-// KW {
-// KW return "/opt/share/widget/test-widgets";
-// KW }
-
inline const char* GetSignatureXmlSchema()
{
//TODO please rename, this filename is not descriptive enough
inline const char* GetVCoreDatabaseFilePath()
{
- return "/opt/dbspace/.vcore.db";
+ return "/opt/dbspace/.cert_svc_vcore.db";
}
/**