Initial commit
[platform/core/uifw/capi-ui-sticker.git] / client / sticker_defs.h
1 /*
2  * Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #ifndef __TIZEN_UIX_STICKER_DEFS_H__
18 #define __TIZEN_UIX_STICKER_DEFS_H__
19
20 #include <tzplatform_config.h>
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25
26 #define HAPI __attribute__((visibility("hidden")))
27
28 #define DBUS_NAME                       "org.freedesktop.DBus"
29 #define DBUS_OBJECT_PATH                "/org/freedesktop/DBus"
30 #define DBUS_INTERFACE_NAME             "org.freedesktop.DBus"
31
32 #define STICKER_DBUS_NAME               "org.tizen.sticker.server"
33 #define STICKER_OBJECT_PATH             "/org/tizen/sticker/server"
34 #define STICKER_INTERFACE_NAME          "org.tizen.sticker_service"
35 #define STICKER_PROVIDER_INTERFACE_NAME "org.tizen.sticker_provider"
36 #define STICKER_CONSUMER_INTERFACE_NAME "org.tizen.sticker_consumer"
37
38 #define STICKER_PRIVILEGE_MEDIASTORAGE  "http://tizen.org/privilege/mediastorage"
39
40 typedef enum {
41     STICKER_CLIENT_LIB_NONE,
42     STICKER_CLIENT_LIB_CONSUMER,
43     STICKER_CLIENT_LIB_PROVIDER,
44 } CLIENT_LIB;
45
46 typedef enum {
47     STICKER_DATA_TYPE_INFO_ID = 1,
48     STICKER_DATA_TYPE_APP_ID,
49     STICKER_DATA_TYPE_URI_TYPE,
50     STICKER_DATA_TYPE_URI,
51     STICKER_DATA_TYPE_THUMBNAIL,
52     STICKER_DATA_TYPE_DESCRIPTION,
53     STICKER_DATA_TYPE_GROUP,
54     STICKER_DATA_TYPE_KEYWORD,
55     STICKER_DATA_TYPE_DATE,
56 } STICKER_DAT_TYPE;
57
58 #ifdef __cplusplus
59 }
60 #endif
61
62 #endif  /* __TIZEN_UIX_STICKER_DEFS_H__ */