Avoid unnecessary inclusions in public headers
[babeltrace.git] / include / babeltrace / graph / component-class-filter.h
index bc30a77f14ab1d90e0bd55b5777ed498f938217c..b27eb37633fb4e652a20fb22a545928f4ba78e58 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef BABELTRACE_COMPONENT_COMPONENT_CLASS_FILTER_H
-#define BABELTRACE_COMPONENT_COMPONENT_CLASS_FILTER_H
+#ifndef BABELTRACE_GRAPH_COMPONENT_CLASS_FILTER_H
+#define BABELTRACE_GRAPH_COMPONENT_CLASS_FILTER_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_filter_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_filter_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_filter_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_filter_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_FILTER_H */
+#endif /* BABELTRACE_GRAPH_COMPONENT_CLASS_FILTER_H */
This page took 0.029849 seconds and 4 git commands to generate.