ultimatepp/rainbow/LinuxFb/Local.h
cxl b0078027de .developing rainbow
git-svn-id: svn://ultimatepp.org/upp/trunk@3593 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-07-02 18:24:00 +00:00

19 lines
452 B
C

#ifdef PLATFORM_POSIX
void FBInit(const String& fbdevice);
#define GUI_APP_MAIN \
void GuiMainFn_();\
\
int main(int argc, const char **argv, const char **envptr) { \
UPP::AppInit__(argc, argv, envptr); \
FBInit("/dev/fb0"); \
GuiMainFn_(); \
UPP::Ctrl::CloseTopCtrls(); \
UPP::UsrLog("---------- About to delete this log of LinuxFB..."); \
UPP::DeleteUsrLog(); \
return UPP::GetExitCode(); \
} \
\
void GuiMainFn_()
#endif