}
/**
- * 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/apps/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";
}
/**
*/
inline const char* GetWidgetSrcPath()
{
- return "res/src";
+ return "/res/wgt";
}
/**
*/
inline const char* GetPublicVirtualRootPath()
{
- return "/opt/apps/widget/data/Public";
+ return "/opt/share/widget/data/Public";
}
/**
*/
inline const char* GetTestsDataPath()
{
- return "/opt/apps/widget/tests";
+ return "/opt/share/widget/tests";
}
/**
*/
inline const char* GetUserWidgetExecPath()
{
- return "bin";
+ return "/bin";
}
/**
return "data";
}
+/**
+ * widgets share directory path
+ */
+inline const char* GetWidgetSharePath()
+{
+ return "share";
+}
/**
* widgets desktop files path
*/
inline const char* GetUserWidgetDesktopIconPath()
{
- return "res/icons/default/small";
+ return "/opt/share/icons/default/small";
}
/**
return "/usr/share/wrt-engine/wrt_widget_default_icon.png";
}
-/**
- * WRT downloaded widgets
- */
-// KW inline const char* GetDownloadedWidgetPath()
-// KW {
-// KW return "/opt/apps/widget/test-widgets";
-// KW }
-
inline const char* GetSignatureXmlSchema()
{
//TODO please rename, this filename is not descriptive enough
}
/**
+ * Plugin .so prefix
+ */
+inline const char* GetPluginPrefix()
+{
+ return "libwrt-plugins-";
+}
+
+/**
+ * Plugin .so suffix
+ */
+inline const char* GetPluginSuffix()
+{
+ return ".so";
+}
+
+/**
* WRT device plugins installation required
* File which indicate that new plugins
* are available and should be installed
*/
inline const char* GetPluginInstallInitializerName()
{
- return "/opt/apps/widget/plugin-installation-required";
+ return "/opt/share/widget/plugin-installation-required";
}
/**
inline const char* GetVCoreDatabaseFilePath()
{
- return "/opt/dbspace/.vcore.db";
+ return "/opt/dbspace/.cert_svc_vcore.db";
}
-bool IsOCSPEnabled();
-bool IsCRLEnabled();
/**
* widgets cookie database file name
{
return "/tmp";
}
+
+inline const char* GetWACVersion()
+{
+ return "2.0";
+}
+
+inline const char* GetTizenVersion()
+{
+ return "1.0";
+}
+
+inline const char* GetShareDirectoryPath()
+{
+ return "/opt/share";
+}
+
+inline const char* GetTempInstallInfoPath()
+{
+ return "/opt/share/widget/temp_info";
+}
} // namespace GlobalConfig
} // namespace WrtDB