summaryrefslogtreecommitdiff
path: root/daemon/accessibility.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/accessibility.c')
-rwxr-xr-x[-rw-r--r--]daemon/accessibility.c19
1 files changed, 14 insertions, 5 deletions
diff --git a/daemon/accessibility.c b/daemon/accessibility.c
index a85bebb..3434832 100644..100755
--- a/daemon/accessibility.c
+++ b/daemon/accessibility.c
@@ -17,12 +17,18 @@
#include <stdio.h>
+
+#include <Elementary.h>
+
+#include <tzsh.h>
+#include <tzsh_quickpanel_service.h>
+#include <E_DBus.h>
+
#include "common.h"
#include "quickpanel-ui.h"
#include "accessibility.h"
-HAPI Evas_Object *
-quickpanel_accessibility_screen_reader_object_get(void *obj, screen_reader_object_type_e type, const char *part, Evas_Object *parent)
+HAPI Evas_Object *quickpanel_accessibility_screen_reader_object_get(void *obj, screen_reader_object_type_e type, const char *part, Evas_Object *parent)
{
Evas_Object *to = NULL;
Evas_Object *ao = NULL;
@@ -89,7 +95,11 @@ HAPI char *quickpanel_accessibility_info_cb_s(void *data, Evas_Object *obj)
char *str = NULL;
retif(data == NULL, NULL, "invalid parameter");
- // system string is not supported. data should be DID from application po files.
+ /**
+ * @note
+ * system string is not supported.
+ * data should be DID from application po files.
+ */
str = _(data);
if (str != NULL) {
return strdup(str);
@@ -98,8 +108,7 @@ HAPI char *quickpanel_accessibility_info_cb_s(void *data, Evas_Object *obj)
return NULL;
}
-HAPI void
-quickpanel_accessibility_screen_reader_data_set(Evas_Object *view, const char *part, char *type, char *info)
+HAPI void quickpanel_accessibility_screen_reader_data_set(Evas_Object *view, const char *part, char *type, char *info)
{
Evas_Object *ao = NULL;
retif(view == NULL, , "invalid parameter");