#ifndef _WFD_APP_H_ #define _WFD_APP_H_ #include //#include #define WFD_APP_DEBUG #define WFD_APP_TRACE #define WFD_APP_ERROR #ifdef WFD_APP_DEBUG #define wfd_app_printf(fmt, arg...) printf("[WFDApp]"fmt,##arg) #else #define wfd_app_printf(a,...) do{}while(0) #endif #ifdef WFD_APP_TRACE #define wfd_app_trace(fmt, arg...) printf("[WFDApp][FUNCTION]%s:[LINE]%d\n",__FUNCTION__,__LINE__) #else #define wfd_app_trace(a,...) do{}while(0) #endif #ifdef WFD_APP_ERROR #define wfd_app_error(fmt, arg...) printf("[WFDApp][ERROR]"fmt,##arg) #else #define wfd_app_error(a,...) do{}while(0) #endif #define WFD_RET_SUCCESS 0 #define WFD_RET_FAIL -1 extern SysAppInstDef stWFDAppInst; #endif