test
[apps/core/preloaded/calendar.git] / include / external-ug.h
1 /*
2   *
3   *  Copyright 2012  Samsung Electronics Co., Ltd
4   *
5   *  Licensed under the Flora License, Version 1.0 (the "License");
6   *  you may not use this file except in compliance with the License.
7   *  You may obtain a copy of the License at
8   *
9   *       http://www.tizenopensource.org/license
10   *
11   *  Unless required by applicable law or agreed to in writing, software
12   *  distributed under the License is distributed on an "AS IS" BASIS,
13   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   *  See the License for the specific language governing permissions and
15   *  limitations under the License.
16   */
17
18
19 #ifndef __CALENDAR_EXTERNAL_UG_H__
20 #define __CALENDAR_EXTERNAL_UG_H__
21
22 #include <ui-gadget.h>
23 #include <ui-gadget-module.h>
24
25 #include "cld.h"
26
27 #if !defined(MESSAGE_COMPOSER_UG)
28         #define MESSAGE_COMPOSER_UG "msg-composer-efl"
29 #endif
30
31 #if !defined(CONTACT_UG)
32         #define CONTACT_UG "contacts-tabui-efl"
33 #endif
34
35 #if !defined(EMAIL_COMPOSER_UG)
36         #define EMAIL_COMPOSER_UG "email-composer-efl"
37 #endif
38
39 #if !defined(BLUETOOTH_UG)
40         #define BLUETOOTH_UG "setting-bluetooth-efl"
41 #endif
42
43 #if !defined(MESSAGE_VCS)
44         #define MESSAGE_VCS "/opt/data/ug-calendar/[Calendar]message.vcs"
45 #endif
46
47 #if !defined(EMAIL_VCS)
48         #define EMAIL_VCS "/opt/data/ug-calendar/[Calendar]email.vcs"
49 #endif
50
51 #if !defined(BLUETOOTH_VCS)
52         #define BLUETOOTH_VCS "/opt/data/ug-calendar/[Calendar]bluetooth.vcs"
53 #endif
54
55 void cal_launch_ug(service_h bd, char *ug_name, struct ug_cbs *cbs);
56 void cal_launch_ug_with_var(char *ug_name, struct ug_cbs *cbs,...);
57
58 #endif /* __CALENDAR_EXTERNAL_UG_H__ */
59