virtual output: Add implementation for set_available_modes, connect and disconnect.
[platform/core/uifw/libtdm.git] / client / tdm_client_types.h
index bd7e8a5..096b44f 100644 (file)
@@ -109,6 +109,23 @@ 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,
+                                                                                                 void *user_data);
+/* End of Virtual Output */
 #ifdef __cplusplus
 }
 #endif