Removed po directory from Makefile.am for now.
[platform/core/uifw/at-spi2-atk.git] / libspi / keymasks.h
index 0a53a94..cd43911 100644 (file)
@@ -1,26 +1,22 @@
 #ifndef _SPI_KEYMASKS_H_
 #define _SPI_KEYMASKS_H_
 
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
 #include <X11/Xlib.h>
+#include <glib/gmacros.h>
 
-typedef unsigned long KeyMaskType;
+G_BEGIN_DECLS
 
-#define KEYMASK_ALT       Mod1Mask
-#define KEYMASK_MOD1      Mod1Mask
-#define KEYMASK_MOD2      Mod2Mask
-#define KEYMASK_MOD3      Mod3Mask
-#define KEYMASK_CONTROL   ControlMask
-#define KEYMASK_SHIFT     ShiftMask
-#define KEYMASK_SHIFTLOCK LockMask
-#define KEYMASK_UNMODIFIED 0
+typedef unsigned long SpiKeyMaskType;
 
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+#define SPI_KEYMASK_ALT       Mod1Mask
+#define SPI_KEYMASK_MOD1      Mod1Mask
+#define SPI_KEYMASK_MOD2      Mod2Mask
+#define SPI_KEYMASK_MOD3      Mod3Mask
+#define SPI_KEYMASK_CONTROL   ControlMask
+#define SPI_KEYMASK_SHIFT     ShiftMask
+#define SPI_KEYMASK_SHIFTLOCK LockMask
+#define SPI_KEYMASK_UNMODIFIED 0
 
+G_END_DECLS
 
 #endif