Move enum bt_component_type to component.h
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 24 Jan 2017 17:44:49 +0000 (12:44 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:37 +0000 (12:57 -0400)
enum bt_component_type starts with bt_component, thus it
belongs to component.h.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/babeltrace/component/component-class.h
include/babeltrace/component/component.h

index d12a12022c0ee92ba41d41d0a6ffd5d721f7821c..c3359fe2e2c0f8a2ad9a5906f3446ac2cacb32a9 100644 (file)
 extern "C" {
 #endif
 
-/**
- * Component type.
- */
-enum bt_component_type {
-       BT_COMPONENT_TYPE_UNKNOWN =     -1,
-
-       /** A source component is a notification generator. */
-       BT_COMPONENT_TYPE_SOURCE =      0,
-
-       /** A sink component handles incoming notifications. */
-       BT_COMPONENT_TYPE_SINK =        1,
-
-       /** A filter component implements both Source and Sink interfaces. */
-       BT_COMPONENT_TYPE_FILTER =      2,
-};
-
 struct bt_plugin;
 struct bt_component_class;
 
index 7a1464fd2206937e62cd86f2fa377dc50abcae6a..2645c13c45f6f1f7889d85f17053f2da0b521bb3 100644 (file)
 extern "C" {
 #endif
 
+/**
+ * Component type.
+ */
+enum bt_component_type {
+       BT_COMPONENT_TYPE_UNKNOWN =     -1,
+
+       /** A source component is a notification generator. */
+       BT_COMPONENT_TYPE_SOURCE =      0,
+
+       /** A sink component handles incoming notifications. */
+       BT_COMPONENT_TYPE_SINK =        1,
+
+       /** A filter component implements both Source and Sink interfaces. */
+       BT_COMPONENT_TYPE_FILTER =      2,
+};
+
 /**
  * Status code. Errors are always negative.
  */
This page took 0.028294 seconds and 4 git commands to generate.