aboutsummaryrefslogtreecommitdiff
path: root/src/libappindicator
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2009-12-08 15:24:36 -0600
committerTed Gould <ted@gould.cx>2009-12-08 15:24:36 -0600
commit46799c6fa192f2312f3f688914e9bbd02c6dc995 (patch)
tree4364639dfc54ce56bfca46c2288a7771c1b740f9 /src/libappindicator
parentb63e88070937c3e87fd51e6fcf1538e638c050cb (diff)
downloadlibayatana-appindicator-46799c6fa192f2312f3f688914e9bbd02c6dc995.tar.gz
libayatana-appindicator-46799c6fa192f2312f3f688914e9bbd02c6dc995.tar.bz2
libayatana-appindicator-46799c6fa192f2312f3f688914e9bbd02c6dc995.zip
Adding in documentation for the Object/Class macros
Diffstat (limited to 'src/libappindicator')
-rw-r--r--src/libappindicator/app-indicator.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/libappindicator/app-indicator.h b/src/libappindicator/app-indicator.h
index 6a961fe..f63c387 100644
--- a/src/libappindicator/app-indicator.h
+++ b/src/libappindicator/app-indicator.h
@@ -34,6 +34,41 @@ License version 3 and version 2.1 along with this program. If not, see
G_BEGIN_DECLS
+/**
+ APP_INDICATOR_TYPE:
+
+ Get the #GType for a #AppIndicator.
+*/
+/**
+ APP_INDICATOR:
+ @obj: The object to convert
+
+ Safely convert a #GObject into an #AppIndicator.
+*/
+/**
+ APP_INDICATOR_CLASS:
+ @klass: #GObjectClass based class to convert.
+
+ Safely convert a #GObjectClass into a #AppIndicatorClass.
+*/
+/**
+ IS_APP_INDICATOR:
+ @obj: An #GObject to check
+
+ Checks to see if @obj is in the object hierarchy of #AppIndicator.
+*/
+/**
+ IS_APP_INDICATOR_CLASS:
+ @klass: An #GObjectClass to check
+
+ Checks to see if @klass is in the object class hierarchy of #AppIndicatorClass.
+*/
+/**
+ APP_INDICATOR_GET_CLASS:
+ @obj: A #GObject in the class hierarchy of #AppIndicator.
+
+ Gets a pointer to the #AppIndicatorClass for the object @obj.
+*/
#define APP_INDICATOR_TYPE (app_indicator_get_type ())
#define APP_INDICATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), APP_INDICATOR_TYPE, AppIndicator))
#define APP_INDICATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), APP_INDICATOR_TYPE, AppIndicatorClass))