lib: remove "For *" comments in public headers
[babeltrace.git] / include / babeltrace2 / trace-ir / event-class-const.h
index cde2df9bd55dcc2d42b66d1187e883b6b93621f9..ba83871ae8a17e7440d6be4f529178d67b4ecadf 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef BABELTRACE_TRACE_IR_EVENT_CLASS_CONST_H
-#define BABELTRACE_TRACE_IR_EVENT_CLASS_CONST_H
+#ifndef BABELTRACE2_TRACE_IR_EVENT_CLASS_CONST_H
+#define BABELTRACE2_TRACE_IR_EVENT_CLASS_CONST_H
 
 /*
  * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
  * http://www.efficios.com/ctf
  */
 
-/* For bt_property_availability */
-#include <babeltrace2/property.h>
-
-/* For bt_event_class, bt_field_class, bt_stream_class */
-#include <babeltrace2/types.h>
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
 
 #include <stdint.h>
 #include <stddef.h>
 
+#include <babeltrace2/property.h>
+#include <babeltrace2/types.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-typedef enum bt_event_class_status {
-       BT_EVENT_CLASS_STATUS_OK = 0,
-       BT_EVENT_CLASS_STATUS_NOMEM = -12,
-} bt_event_class_status;
-
 typedef enum bt_event_class_log_level {
        BT_EVENT_CLASS_LOG_LEVEL_EMERGENCY,
        BT_EVENT_CLASS_LOG_LEVEL_ALERT,
@@ -105,4 +101,4 @@ extern void bt_event_class_put_ref(const bt_event_class *event_class);
 }
 #endif
 
-#endif /* BABELTRACE_TRACE_IR_EVENT_CLASS_CONST_H */
+#endif /* BABELTRACE2_TRACE_IR_EVENT_CLASS_CONST_H */
This page took 0.024161 seconds and 4 git commands to generate.