summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorsegwon <segwon.han@samsung.com>2016-11-24 16:25:06 +0900
committersegwon <segwon.han@samsung.com>2016-11-24 16:26:56 +0900
commit0686b8f1296156802c0cbe427f675e77fce14a2d (patch)
tree2d6e723cdeda36e957998ac65fce3fe809c85146 /inc
parenta77400c0e118cf0c7369db1df11c630f769c2099 (diff)
downloadd2d-conv-setting-0686b8f1296156802c0cbe427f675e77fce14a2d.tar.gz
d2d-conv-setting-0686b8f1296156802c0cbe427f675e77fce14a2d.tar.bz2
d2d-conv-setting-0686b8f1296156802c0cbe427f675e77fce14a2d.zip
Signed-off-by: segwon <segwon.han@samsung.com> Change-Id: Id1c43615721e700d433f329d6548350afaf0cd18
Diffstat (limited to 'inc')
-rw-r--r--inc/main.h43
1 files changed, 34 insertions, 9 deletions
diff --git a/inc/main.h b/inc/main.h
index a0bae6e..e6b00c5 100644
--- a/inc/main.h
+++ b/inc/main.h
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
#ifndef __main_H__
#define __main_H__
@@ -31,15 +47,24 @@ typedef enum state {
CHANGE_LANGUAGE
} state_e;
-#define POWER_ON_SIGN_TEXT dgettext(PACKAGE, "CONV_SETTING_APP_POWER_ON")
-#define DEVICE_LIST_SELECT_POPUP_TITLE_TEXT dgettext(PACKAGE, "CONV_DEVICE_LIST_SELECT_POPUP_TITLE")
-#define DISCOVERED_LIST_SELECT_POPUP_CONTENT_TEXT dgettext(PACKAGE, "CONV_DISCOVERED_LIST_SELECT_POPUP_CONTENT")
-#define PERMITTED_LIST_SELECT_POPUP_CONTENT_TEXT dgettext(PACKAGE, "CONV_PERMITTED_LIST_SELECT_POPUP_CONTENT")
-#define DENIED_LIST_SELECT_POPUP_CONTENT_TEXT dgettext(PACKAGE, "CONV_DENIED_LIST_SELECT_POPUP_CONTENT")
-#define DEVICE_LIST_SELECT_POPUP_CANCEL_BUTTON_TEXT dgettext(PACKAGE, "CONV_DEVICE_LIST_SELECT_POPUP_CANCEL_BUTTON")
-#define DEVICE_LIST_SELECT_POPUP_PERMIT_BUTTON_TEXT dgettext(PACKAGE, "CONV_DEVICE_LIST_SELECT_POPUP_PERMIT_BUTTON")
-#define DEVICE_LIST_SELECT_POPUP_DENY_BUTTON_TEXT dgettext(PACKAGE, "CONV_DEVICE_LIST_SELECT_POPUP_DENY_BUTTON")
-#define DEVICE_LIST_SELECT_POPUP_REMOVE_BUTTON_TEXT dgettext(PACKAGE, "CONV_DEVICE_LIST_SELECT_POPUP_REMOVE_BUTTON")
+#define TITLE_TEXT dgettext(PACKAGE, "D2D_CONV_SETTING_M_TITLE_TEXT")
+#define ACCESS_CONTROL_TEXT dgettext(PACKAGE, "D2D_CONV_SETTING_M_ACCESS_CONTROL_TEXT")
+#define NOTICE_TITLE_TEXT dgettext(PACKAGE, "D2D_CONV_SETTING_M_NOTICE_TITLE_TEXT")
+#define POWER_ON_NOTICE_TEXT dgettext(PACKAGE, "D2D_CONV_SETTING_M_POWER_ON_NOTICE_TEXT")
+#define POWER_OFF_NOTICE_TEXT dgettext(PACKAGE, "D2D_CONV_SETTING_M_POWER_OFF_NOTICE_TEXT")
+#define ALLOWED_DEVICE_LIST_TEXT dgettext(PACKAGE, "D2D_CONV_SETTING_M_ALLOWED_DEVICE_LIST_TEXT")
+#define DENIED_DEVICE_LIST_TEXT dgettext(PACKAGE, "D2D_CONV_SETTING_M_DENIED_DEVICE_LIST_TEXT")
+#define AVAILABLE_DEVICE_LIST_TEXT dgettext(PACKAGE, "D2D_CONV_SETTING_M_AVAILABLE_DEVICE_LIST_TEXT")
+#define SCAN_BUTTON_TEXT dgettext(PACKAGE, "D2D_CONV_SETTING_M_SCAN_BUTTON_TEXT")
+#define STOP_BUTTON_TEXT dgettext(PACKAGE, "D2D_CONV_SETTING_M_STOP_BUTTON_TEXT")
+#define AVAILABLE_POPUP_TEXT dgettext(PACKAGE, "D2D_CONV_SETTING_M_AVAILABLE_POPUP_TEXT")
+#define ALLOWED_POPUP_TEXT dgettext(PACKAGE, "D2D_CONV_SETTING_M_ALLOWED_POPUP_TEXT")
+#define DENIED_POPUP_TEXT dgettext(PACKAGE, "D2D_CONV_SETTING_M_DENIED_POPUP_TEXT")
+#define CANCEL_BUTTON_TEXT dgettext(PACKAGE, "D2D_CONV_SETTING_M_CANCEL_BUTTON_TEXT")
+#define ALLOW_BUTTON_TEXT dgettext(PACKAGE, "D2D_CONV_SETTING_M_ALLOW_BUTTON_TEXT")
+#define DENY_BUTTON_TEXT dgettext(PACKAGE, "D2D_CONV_SETTING_M_DENY_BUTTON_TEXT")
+#define REMOVE_BUTTON_TEXT dgettext(PACKAGE, "D2D_CONV_SETTING_M_REMOVE_BUTTON_TEXT")
+#define REMOVE_BUTTON_TEXT dgettext(PACKAGE, "D2D_CONV_SETTING_M_REMOVE_BUTTON_TEXT")
/* state event lisetner */
typedef void (*event_listener)(state_e state);