types: move to the frontned's types header 26/170526/3
authorBoram Park <boram1288.park@samsung.com>
Thu, 18 Jan 2018 01:10:55 +0000 (10:10 +0900)
committerBoram Park <boram1288.park@samsung.com>
Tue, 20 Feb 2018 23:04:03 +0000 (08:04 +0900)
Change-Id: I322acc5654651122661ec5bc0f68541df7818e38

include/tdm.h
include/tdm_types.h

index 70c99af..7ee3edc 100644 (file)
@@ -58,24 +58,6 @@ extern "C" {
  */
 
 /**
- * @brief The display capability enumeration
- */
-typedef enum {
-       TDM_DISPLAY_CAPABILITY_PP       = (1 << 0), /**< if hardware supports pp operation */
-       TDM_DISPLAY_CAPABILITY_CAPTURE  = (1 << 1), /**< if hardware supports capture operation */
-} tdm_display_capability;
-
-/**
- * @brief The output change handler
- * @details This handler will be called when the status of a output object is
- * changed in runtime.
- */
-typedef void (*tdm_output_change_handler)(tdm_output *output,
-                                                                                 tdm_output_change_type type,
-                                                                                 tdm_value value,
-                                                                                 void *user_data);
-
-/**
  * @brief Initialize a display object
  * @param[out] error #TDM_ERROR_NONE if success. Otherwise, error value.
  * @return A display object
index d2013b7..055005f 100644 (file)
@@ -67,6 +67,14 @@ typedef enum {
 } tdm_event_loop_mask;
 
 /**
+ * @brief The display capability enumeration
+ */
+typedef enum {
+       TDM_DISPLAY_CAPABILITY_PP       = (1 << 0), /**< if hardware supports pp operation */
+       TDM_DISPLAY_CAPABILITY_CAPTURE  = (1 << 1), /**< if hardware supports capture operation */
+} tdm_display_capability;
+
+/**
  * @brief The output mode structure
  */
 typedef struct _tdm_output_mode {
@@ -244,6 +252,16 @@ typedef void tdm_pp;
 typedef void tdm_vblank;
 
 /**
+ * @brief The output change handler
+ * @details This handler will be called when the status of a output object is
+ * changed in runtime.
+ */
+typedef void (*tdm_output_change_handler)(tdm_output *output,
+                                                                                 tdm_output_change_type type,
+                                                                                 tdm_value value,
+                                                                                 void *user_data);
+
+/**
  * @brief The vblank handler
  * @see output_set_vblank_handler() function of #tdm_func_display
  */