[libsocialweb] sw-client-monitor: Add sw-client-monitor.h to installed headers for external plugins



commit 3cee42145cd074e1b80bd8e3d6d71d311040e230
Author: Gary Ching-Pang Lin <chingpang gmail com>
Date:   Tue Nov 9 09:47:04 2010 +0800

    sw-client-monitor: Add sw-client-monitor.h to installed headers for external plugins

 libsocialweb/Makefile.am         |    3 ++-
 libsocialweb/sw-client-monitor.h |    9 +++++++++
 2 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/libsocialweb/Makefile.am b/libsocialweb/Makefile.am
index b1f226c..526fc47 100644
--- a/libsocialweb/Makefile.am
+++ b/libsocialweb/Makefile.am
@@ -49,7 +49,8 @@ public_headers = \
 	sw-cache.h \
 	sw-item.h \
 	sw-module.h \
-	sw-utils.h
+	sw-utils.h \
+	sw-client-monitor.h
 
 libsocialweb_la_HEADERS = $(public_headers) sw-enum-types.h
 
diff --git a/libsocialweb/sw-client-monitor.h b/libsocialweb/sw-client-monitor.h
index 806bff9..66075a9 100644
--- a/libsocialweb/sw-client-monitor.h
+++ b/libsocialweb/sw-client-monitor.h
@@ -16,9 +16,18 @@
  * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
+#ifndef _SW_CLIENT_MONITOR
+#define _SW_CLIENT_MONITOR
+
 #include <glib-object.h>
 #include <dbus/dbus-glib.h>
 
+G_BEGIN_DECLS
+
 void sw_client_monitor_init (DBusGConnection *connection);
 void sw_client_monitor_add (char *sender, GObject *object);
 void sw_client_monitor_remove (char *sender, GObject *object);
+
+G_END_DECLS
+
+#endif /* _SW_CLIENT_MONITOR */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]