Adapt plugin system to use unified reference counting
[babeltrace.git] / include / babeltrace / plugin / component-class-internal.h
index e516478b779f894a0ae4e07db1755bdb1a09779f..500d7cf3f503f34c51bf2edcbf354d57d1fd920d 100644 (file)
  */
 
 #include <babeltrace/babeltrace-internal.h>
-#include <babeltrace/ref-internal.h>
 #include <babeltrace/plugin/component-factory-internal.h>
 #include <babeltrace/plugin/plugin-internal.h>
+#include <babeltrace/object-internal.h>
 
 struct bt_component_class {
-       struct bt_ref ref;
+       struct bt_object base;
        enum bt_component_type type;
        GString *name;
        struct bt_plugin *plugin;
@@ -44,10 +44,4 @@ struct bt_component_class *bt_component_class_create(
                enum bt_component_type type, const char *name,
                struct bt_plugin *plugin);
 
-BT_HIDDEN
-void bt_component_class_get(struct bt_component_class *class);
-
-BT_HIDDEN
-void bt_component_class_put(struct bt_component_class *class);
-
 #endif /* BABELTRACE_PLUGIN_COMPONENT_CLASS_INTERNAL_H */
This page took 0.023336 seconds and 4 git commands to generate.