summaryrefslogtreecommitdiff
path: root/glib/glibmm/class.h
diff options
context:
space:
mode:
Diffstat (limited to 'glib/glibmm/class.h')
-rw-r--r--glib/glibmm/class.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/glib/glibmm/class.h b/glib/glibmm/class.h
index c961a763..2e7345da 100644
--- a/glib/glibmm/class.h
+++ b/glib/glibmm/class.h
@@ -57,8 +57,15 @@ protected:
GType gtype_;
GClassInitFunc class_init_func_;
+ /** Register a GType, derived from the @a base_type.
+ */
void register_derived_type(GType base_type);
+ /** Register a GType, derived from the @a base_type.
+ * @param module If this is not 0 then g_type_module_register_type() will be used. Otherwise g_type_register_static() will be used.
+ */
+ void register_derived_type(GType base_type, GTypeModule* module);
+
private:
static void custom_class_init_function(void* g_class, void* class_data);
};