Avoid unnecessary inclusions in public headers
[babeltrace.git] / include / babeltrace / graph / component-class-source.h
index 6190977b44a6a3831245a85a79ec4197077edb9d..e0c7ecce19ee1ee1c0f17cf4ed77310d6c11bf3a 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef BABELTRACE_COMPONENT_COMPONENT_CLASS_SOURCE_H
-#define BABELTRACE_COMPONENT_COMPONENT_CLASS_SOURCE_H
+#ifndef BABELTRACE_GRAPH_COMPONENT_CLASS_SOURCE_H
+#define BABELTRACE_GRAPH_COMPONENT_CLASS_SOURCE_H
 
 /*
  * Babeltrace - Component Class Interface.
@@ -25,7 +25,8 @@
  * SOFTWARE.
  */
 
-#include <babeltrace/graph/component.h>
+/* For component class method type definitions */
+#include <babeltrace/graph/component-class.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -35,25 +36,20 @@ struct bt_component_class;
 
 extern
 struct bt_component_class *bt_component_class_source_create(const char *name,
-               bt_component_class_notification_iterator_next_method notification_iterator_next_method);
+               bt_component_class_notification_iterator_next_method method);
 
 extern
 int bt_component_class_source_set_notification_iterator_init_method(
                struct bt_component_class *component_class,
-               bt_component_class_notification_iterator_init_method notification_iterator_init_method);
+               bt_component_class_notification_iterator_init_method method);
 
 extern
 int bt_component_class_source_set_notification_iterator_finalize_method(
                struct bt_component_class *component_class,
-               bt_component_class_notification_iterator_finalize_method notification_iterator_finalize_method);
-
-extern
-int bt_component_class_source_set_notification_iterator_seek_time_method(
-               struct bt_component_class *component_class,
-               bt_component_class_notification_iterator_seek_time_method notification_iterator_seek_time_method);
+               bt_component_class_notification_iterator_finalize_method method);
 
 #ifdef __cplusplus
 }
 #endif
 
-#endif /* BABELTRACE_COMPONENT_COMPONENT_CLASS_SOURCE_H */
+#endif /* BABELTRACE_GRAPH_COMPONENT_CLASS_SOURCE_H */
This page took 0.046955 seconds and 4 git commands to generate.