X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=client%2Ftdm_client_types.h;h=569cd1db93a17da99348330bf42774699b887ee7;hb=00e93c2550c7ecf3af1ee6f6b52efdff19987e11;hp=94807ec6ae3f9a01f036391c31ed048f6a2a5bcf;hpb=84496bc63961000e56ffc27cfb49307fe15104d5;p=platform%2Fcore%2Fuifw%2Flibtdm.git diff --git a/client/tdm_client_types.h b/client/tdm_client_types.h index 94807ec..569cd1d 100644 --- a/client/tdm_client_types.h +++ b/client/tdm_client_types.h @@ -9,7 +9,7 @@ * Taeheon Kim , * YoungJun Cho , * SooChan Lim , - * Boram Park + * Boram Park * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the @@ -36,6 +36,10 @@ #ifndef _TDM_CLIENT_TYPES_H_ #define _TDM_CLIENT_TYPES_H_ +#include "tdm_common.h" + +#include + #ifdef __cplusplus extern "C" { #endif @@ -45,8 +49,6 @@ extern "C" { * @brief The header file which defines Enumerations and Structures for client. */ -#include - /** * @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