tdm_client: Introduce header of tdm_virtual_output.
[platform/core/uifw/libtdm.git] / client / tdm_client_types.h
index 94807ec..cb4e96d 100644 (file)
@@ -9,7 +9,7 @@
  *          Taeheon Kim <th908.kim@samsung.com>,
  *          YoungJun Cho <yj44.cho@samsung.com>,
  *          SooChan Lim <sc1.lim@samsung.com>,
- *          Boram Park <sc1.lim@samsung.com>
+ *          Boram Park <boram1288.park@samsung.com>
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
@@ -36,6 +36,8 @@
 #ifndef _TDM_CLIENT_TYPES_H_
 #define _TDM_CLIENT_TYPES_H_
 
+#include "tdm_common.h"
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -45,8 +47,6 @@ extern "C" {
  * @brief The header file which defines Enumerations and Structures for client.
  */
 
-#include <tdm_common.h>
-
 /**
  * @deprecated
  */
@@ -109,6 +109,21 @@ typedef void
                                                         unsigned int tv_usec,
                                                         void *user_data);
 
+/* Virtual Output */
+typedef struct _tdm_client_output_mode {
+    char name[TDM_NAME_LEN];        /**< The output name */
+    unsigned int mode_count;        /**< The count of available modes */
+    unsigned int prop_count;        /**< The count of available properties */
+    unsigned int mmWidth;           /**< The physical width (milimeter) */
+    unsigned int mmHeight;          /**< The physical height (milimeter) */
+    unsigned int subpixel;          /**< The subpixel */
+} tdm_client_output_mode;
+
+typedef void tdm_client_voutput;
+
+typedef void (*tdm_client_voutput_commit_handler)(tdm_client_voutput *voutput,
+                                                                                                 void *user_data);
+/* End of Virtual Output */
 #ifdef __cplusplus
 }
 #endif