lib: force user to include `<babeltrace2/babeltrace.h>`
[babeltrace.git] / include / babeltrace2 / graph / component-class-sink.h
index 80ee66c820bdc0b131e7362b04e2b7b74748dd88..48d647f50f87eaceda63ac9ad11b63caa0b4cc5d 100644 (file)
  * SOFTWARE.
  */
 
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
 #include <stdint.h>
 
 /* For bt_component_class_*_status */
 /* For bt_logging_level */
 #include <babeltrace2/logging.h>
 
-/* For __BT_FUNC_STATUS_* */
-#define __BT_FUNC_STATUS_ENABLE
-#include <babeltrace2/func-status.h>
-#undef __BT_FUNC_STATUS_ENABLE
-
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -139,6 +138,4 @@ bt_component_class_sink_set_query_method(
 }
 #endif
 
-#include <babeltrace2/undef-func-status.h>
-
 #endif /* BABELTRACE2_GRAPH_COMPONENT_CLASS_SINK_H */
This page took 0.024159 seconds and 4 git commands to generate.