package version up to 2.10.1
[platform/core/uifw/libtdm.git] / client / tdm_client_types.h
index 94807ec..569cd1d 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
 #ifndef _TDM_CLIENT_TYPES_H_
 #define _TDM_CLIENT_TYPES_H_
 
+#include "tdm_common.h"
+
+#include <tbm_surface.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -45,8 +49,6 @@ extern "C" {
  * @brief The header file which defines Enumerations and Structures for client.
  */
 
-#include <tdm_common.h>
-
 /**
  * @deprecated
  */
@@ -109,6 +111,24 @@ typedef void
                                                         unsigned int tv_usec,
                                                         void *user_data);
 
+/* Virtual Output */
+/* this is a copy of server side's tdm_output_mode */
+typedef struct _tdm_client_output_mode {
+       unsigned int clock;
+       unsigned int hdisplay, hsync_start, hsync_end, htotal, hskew;
+       unsigned int vdisplay, vsync_start, vsync_end, vtotal, vscan;
+       unsigned int vrefresh;
+       unsigned int flags;
+       unsigned int type;
+       char name[TDM_NAME_LEN];
+} tdm_client_output_mode;
+
+typedef void tdm_client_voutput;
+
+typedef void (*tdm_client_voutput_commit_handler)(tdm_client_voutput *voutput,
+                                                                                                 tbm_surface_h buffer,
+                                                                                                 void *user_data);
+/* End of Virtual Output */
 #ifdef __cplusplus
 }
 #endif