[java-atk-wrapper] jawutil: tidy up style
- From: Magdalen Berns <mberns src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [java-atk-wrapper] jawutil: tidy up style
- Date: Wed, 3 Dec 2014 15:37:56 +0000 (UTC)
commit 853eac9d216cc766ae343e396b47bbf20e954170
Author: Magdalen Berns <m berns thismagpie com>
Date: Wed Dec 3 15:36:46 2014 +0000
jawutil: tidy up style
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=741068
jni/src/jawutil.h | 64 ++++++++++++++++++++++++++++------------------------
1 files changed, 34 insertions(+), 30 deletions(-)
---
diff --git a/jni/src/jawutil.h b/jni/src/jawutil.h
index 9730d3a..fceb182 100644
--- a/jni/src/jawutil.h
+++ b/jni/src/jawutil.h
@@ -28,49 +28,53 @@ G_BEGIN_DECLS
JavaVM *globalJvm;
JNIEnv *globalEnv;
-#define INTERFACE_ACTION 0x00000001
-#define INTERFACE_COMPONENT 0x00000002
-#define INTERFACE_DOCUMENT 0x00000004
-#define INTERFACE_EDITABLE_TEXT 0x00000008
-#define INTERFACE_HYPERLINK 0x00000010
-#define INTERFACE_HYPERTEXT 0x00000020
-#define INTERFACE_IMAGE 0x00000040
-#define INTERFACE_SELECTION 0x00000080
-#define INTERFACE_STREAMABLE_CONTENT 0x00000100
-#define INTERFACE_TABLE 0x00000200
-#define INTERFACE_TEXT 0x00000400
-#define INTERFACE_VALUE 0x00000800
+#define INTERFACE_ACTION 0x00000001
+#define INTERFACE_COMPONENT 0x00000002
+#define INTERFACE_DOCUMENT 0x00000004
+#define INTERFACE_EDITABLE_TEXT 0x00000008
+#define INTERFACE_HYPERLINK 0x00000010
+#define INTERFACE_HYPERTEXT 0x00000020
+#define INTERFACE_IMAGE 0x00000040
+#define INTERFACE_SELECTION 0x00000080
+#define INTERFACE_STREAMABLE_CONTENT 0x00000100
+#define INTERFACE_TABLE 0x00000200
+#define INTERFACE_TEXT 0x00000400
+#define INTERFACE_VALUE 0x00000800
-#define JAW_TYPE_UTIL (jaw_util_get_type())
-#define JAW_UTIL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), JAW_TYPE_UTIL, JawUtil))
-#define JAW_UTIL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), JAW_TYPE_UTIL, JawUtilClass))
-#define JAW_IS_UTIL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), JAW_TYPE_UTIL))
-#define JAW_IS_UTIL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), JAW_TYPE_UTIL))
-#define JAW_UTIL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), JAW_TYPE_UTIL,
JawUtilClass))
+#define JAW_TYPE_UTIL (jaw_util_get_type())
+#define JAW_UTIL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), JAW_TYPE_UTIL, JawUtil))
+#define JAW_UTIL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), JAW_TYPE_UTIL, JawUtilClass))
+#define JAW_IS_UTIL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), JAW_TYPE_UTIL))
+#define JAW_IS_UTIL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), JAW_TYPE_UTIL))
+#define JAW_UTIL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), JAW_TYPE_UTIL, JawUtilClass))
-typedef struct _JawUtil JawUtil;
-typedef struct _JawUtilClass JawUtilClass;
+typedef struct _JawUtil JawUtil;
+typedef struct _JawUtilClass JawUtilClass;
struct _JawUtil
{
- AtkUtil parent;
+ AtkUtil parent;
};
GType jaw_util_get_type(void);
struct _JawUtilClass
{
- AtkUtilClass parent_class;
+ AtkUtilClass parent_class;
};
-guint jaw_util_get_tflag_from_jobj(JNIEnv *jniEnv, jobject jObj);
-gboolean jaw_util_is_same_jobject(gconstpointer a, gconstpointer b);
-JNIEnv* jaw_util_get_jni_env(void);
-AtkRole jaw_util_get_atk_role_from_jobj(jobject jobj);
-AtkStateType jaw_util_get_atk_state_type_from_java_state(JNIEnv *jniEnv, jobject jobj);
-void jaw_util_get_rect_info(JNIEnv *jniEnv, jobject jrect,
- gint *x, gint *y, gint *width, gint *height);
-gboolean jaw_util_dispatch_key_event (AtkKeyEventStruct *event);
+guint jaw_util_get_tflag_from_jobj(JNIEnv *jniEnv, jobject jObj);
+gboolean jaw_util_is_same_jobject(gconstpointer a, gconstpointer b);
+JNIEnv* jaw_util_get_jni_env(void);
+AtkRole jaw_util_get_atk_role_from_jobj(jobject jobj);
+AtkStateType jaw_util_get_atk_state_type_from_java_state(JNIEnv *jniEnv, jobject jobj);
+void jaw_util_get_rect_info(JNIEnv *jniEnv,
+ jobject jrect,
+ gint *x,
+ gint *y,
+ gint *width,
+ gint *height);
+gboolean jaw_util_dispatch_key_event (AtkKeyEventStruct *event);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]