aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/types.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-24 08:31:26 -0600
committerTed Gould <ted@gould.cx>2011-02-24 08:31:26 -0600
commit58e3c7b1351f53bf0655064c6446a8fbd9f87c08 (patch)
tree517c5331d5447f46eb2cc1b4e29ecc7b4b249e6f /libdbusmenu-glib/types.h
parent7f25511b0a3182b27a42f1ffb1858b94615575ca (diff)
parent5ab75937ec4ba21f9542fbe71dbf8ceb5b28e2ef (diff)
downloadlibdbusmenu-58e3c7b1351f53bf0655064c6446a8fbd9f87c08.tar.gz
libdbusmenu-58e3c7b1351f53bf0655064c6446a8fbd9f87c08.tar.bz2
libdbusmenu-58e3c7b1351f53bf0655064c6446a8fbd9f87c08.zip
Adding a property for text direction
Diffstat (limited to 'libdbusmenu-glib/types.h')
-rw-r--r--libdbusmenu-glib/types.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/libdbusmenu-glib/types.h b/libdbusmenu-glib/types.h
new file mode 100644
index 0000000..f6d8daf
--- /dev/null
+++ b/libdbusmenu-glib/types.h
@@ -0,0 +1,54 @@
+/*
+Types that are used in several objects.
+
+Copyright 2011 Canonical Ltd.
+
+Authors:
+ Ted Gould <ted@canonical.com>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of either or both of the following licenses:
+
+1) the GNU Lesser General Public License version 3, as published by the
+Free Software Foundation; and/or
+2) the GNU Lesser General Public License version 2.1, as published by
+the Free Software Foundation.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranties of
+MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the applicable version of the GNU Lesser General Public
+License for more details.
+
+You should have received a copy of both the GNU Lesser General Public
+License version 3 and version 2.1 along with this program. If not, see
+<http://www.gnu.org/licenses/>
+*/
+
+#ifndef __DBUSMENU_TYPES_H__
+#define __DBUSMENU_TYPES_H__
+
+#include <glib.h>
+
+G_BEGIN_DECLS
+
+/**
+ DbusmenuTextDirection:
+ @DBUSMENU_TEXT_DIRECTION_NONE: Unspecified text direction
+ @DBUSMENU_TEXT_DIRECTION_LTR: Left-to-right text direction
+ @DBUSMENU_TEXT_DIRECTION_RTL: Right-to-left text direction
+
+ The direction of text that the strings that this server
+ will be sending strings as.
+*/
+typedef enum { /*< prefix=DBUSMENU_TEXT_DIRECTION >*/
+ DBUSMENU_TEXT_DIRECTION_NONE, /*< nick=none >*/
+ DBUSMENU_TEXT_DIRECTION_LTR, /*< nick=ltr >*/
+ DBUSMENU_TEXT_DIRECTION_RTL /*< nick=rtl >*/
+} DbusmenuTextDirection;
+
+
+G_END_DECLS
+
+#endif /* __DBUSMENU_TYPES_H__ */
+