virtual output: Add implementation for set_available_modes, connect and disconnect.
[platform/core/uifw/libtdm.git] / client / tdm_client_types.h
index cb4e96d..096b44f 100644 (file)
@@ -110,13 +110,15 @@ typedef void
                                                         void *user_data);
 
 /* Virtual Output */
+/* this is a copy of server side's tdm_output_mode */
 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 */
+       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;