summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorsegwon <segwon.han@samsung.com>2016-10-14 20:31:44 +0900
committersegwon <segwon.han@samsung.com>2016-10-17 11:53:46 +0900
commitbd6f9a09f0d34f71093eca5d1da254ab5605bd07 (patch)
treecaacc6708758574844a8718379bcbd726d65cd83 /inc
parent5a37487acf61d1c2401b0d8c94972c458b13fe7f (diff)
downloadd2d-conv-setting-bd6f9a09f0d34f71093eca5d1da254ab5605bd07.tar.gz
d2d-conv-setting-bd6f9a09f0d34f71093eca5d1da254ab5605bd07.tar.bz2
d2d-conv-setting-bd6f9a09f0d34f71093eca5d1da254ab5605bd07.zip
Signed-off-by: segwon <segwon.han@samsung.com> Change-Id: I58dd252fcbda8cf7c33ee75674fceac4321cf611
Diffstat (limited to 'inc')
-rw-r--r--inc/language.h4
-rw-r--r--inc/main.h4
2 files changed, 7 insertions, 1 deletions
diff --git a/inc/language.h b/inc/language.h
new file mode 100644
index 0000000..1150946
--- /dev/null
+++ b/inc/language.h
@@ -0,0 +1,4 @@
+#include <libintl.h>
+
+#define POWER_ON_SIGN_TEXT dgettext(PACKAGE, "CONV_SETTING_APP_POWER_ON")
+#define POWER_OFF_SIGN_TEXT dgettext(PACKAGE, "CONV_SETTING_APP_POWER_OFF") \ No newline at end of file
diff --git a/inc/main.h b/inc/main.h
index c0b73e4..ee78051 100644
--- a/inc/main.h
+++ b/inc/main.h
@@ -8,6 +8,7 @@
#include <dlog.h>
#include <glib.h>
#include "convergence.h"
+#include "language.h"
#ifdef LOG_TAG
#undef LOG_TAG
@@ -21,7 +22,8 @@ typedef enum state
POWER_OFF = 0,
POWER_ON,
SCAN_START,
- SCAN_STOP
+ SCAN_STOP,
+ CHANGE_LANGUAGE
} state_e;