projects
/
platform
/
core
/
appfw
/
ail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Add robustness to mkdir" into tizen
[platform/core/appfw/ail.git]
/
src
/
ail_private.h
diff --git
a/src/ail_private.h
b/src/ail_private.h
index
c7d1130
..
efa2f66
100755
(executable)
--- a/
src/ail_private.h
+++ b/
src/ail_private.h
@@
-27,6
+27,7
@@
#include <stdbool.h>
#include <sqlite3.h>
#include <stdbool.h>
#include <sqlite3.h>
+#include <tzplatform_config.h>
#ifndef EXPORT_API
#define EXPORT_API __attribute__ ((visibility("default")))
#ifndef EXPORT_API
#define EXPORT_API __attribute__ ((visibility("default")))
@@
-91,7
+92,7
@@
enum {
#define ELEMENT_BOOL(e) ((struct element_bool *)(e))
#define AIL_SQL_QUERY_MAX_LEN 2048
#define ELEMENT_BOOL(e) ((struct element_bool *)(e))
#define AIL_SQL_QUERY_MAX_LEN 2048
-#define APP_INFO_DB
"/opt/dbspace/.app_info.db"
+#define APP_INFO_DB
tzplatform_mkpath(TZ_SYS_DB,".app_info.db")
#define ELEMENT_TYPE(e, t) do { \
if(e->prop >= E_AIL_PROP_STR_MIN && e->prop <= E_AIL_PROP_STR_MAX) t= (int)VAL_TYPE_STR; \
#define ELEMENT_TYPE(e, t) do { \
if(e->prop >= E_AIL_PROP_STR_MIN && e->prop <= E_AIL_PROP_STR_MAX) t= (int)VAL_TYPE_STR; \
@@
-132,7
+133,9
@@
typedef enum {
E_AIL_PROP_X_SLP_APPID_STR,
E_AIL_PROP_X_SLP_PKGID_STR,
E_AIL_PROP_X_SLP_DOMAIN_STR,
E_AIL_PROP_X_SLP_APPID_STR,
E_AIL_PROP_X_SLP_PKGID_STR,
E_AIL_PROP_X_SLP_DOMAIN_STR,
- E_AIL_PROP_STR_MAX = E_AIL_PROP_X_SLP_DOMAIN_STR,
+ E_AIL_PROP_X_SLP_SUBMODEMAINID_STR,
+ E_AIL_PROP_X_SLP_INSTALLEDSTORAGE_STR,
+ E_AIL_PROP_STR_MAX = E_AIL_PROP_X_SLP_INSTALLEDSTORAGE_STR,
} ail_prop_str_e;
} ail_prop_str_e;
@@
-157,8
+160,9
@@
typedef enum {
E_AIL_PROP_X_SLP_MULTIPLE_BOOL,
E_AIL_PROP_X_SLP_REMOVABLE_BOOL,
E_AIL_PROP_X_SLP_ISHORIZONTALSCALE_BOOL,
E_AIL_PROP_X_SLP_MULTIPLE_BOOL,
E_AIL_PROP_X_SLP_REMOVABLE_BOOL,
E_AIL_PROP_X_SLP_ISHORIZONTALSCALE_BOOL,
- E_AIL_PROP_X_SLP_INACTIVATED_BOOL,
- E_AIL_PROP_BOOL_MAX = E_AIL_PROP_X_SLP_INACTIVATED_BOOL,
+ E_AIL_PROP_X_SLP_ENABLED_BOOL,
+ E_AIL_PROP_X_SLP_SUBMODE_BOOL,
+ E_AIL_PROP_BOOL_MAX = E_AIL_PROP_X_SLP_SUBMODE_BOOL,
} ail_prop_bool_e;
#define NUM_OF_PROP E_AIL_PROP_BOOL_MAX + 1
} ail_prop_bool_e;
#define NUM_OF_PROP E_AIL_PROP_BOOL_MAX + 1