GDBus: Hide class structures for classes we don't want to be subclassed
[platform/upstream/glib.git] / gio / gdbusmethodinvocation.h
index 2c6563c..5f6ba09 100644 (file)
@@ -1,6 +1,6 @@
 /* GDBus - GLib D-Bus Library
  *
- * Copyright (C) 2008-2009 Red Hat, Inc.
+ * Copyright (C) 2008-2010 Red Hat, Inc.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * Author: David Zeuthen <davidz@redhat.com>
  */
 
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
 #ifndef __G_DBUS_METHOD_INVOCATION_H__
 #define __G_DBUS_METHOD_INVOCATION_H__
 
@@ -52,30 +56,6 @@ struct _GDBusMethodInvocation
   GDBusMethodInvocationPrivate *priv;
 };
 
-/**
- * GDBusMethodInvocationClass:
- *
- * Class structure for #GDBusMethodInvocation.
- *
- * Since: 2.26
- */
-struct _GDBusMethodInvocationClass
-{
-  /*< private >*/
-  GObjectClass parent_class;
-
-  /*< private >*/
-  /* Padding for future expansion */
-  void (*_g_reserved1) (void);
-  void (*_g_reserved2) (void);
-  void (*_g_reserved3) (void);
-  void (*_g_reserved4) (void);
-  void (*_g_reserved5) (void);
-  void (*_g_reserved6) (void);
-  void (*_g_reserved7) (void);
-  void (*_g_reserved8) (void);
-};
-
 GType                  g_dbus_method_invocation_get_type             (void) G_GNUC_CONST;
 GDBusMethodInvocation *g_dbus_method_invocation_new                  (const gchar           *sender,
                                                                       const gchar           *object_path,