ultimatepp/rainbow/LinuxFb/Local.h
kohait 0c95fb07d9 rainbow: some small fixes, SDLFb first shot..
git-svn-id: svn://ultimatepp.org/upp/trunk@3607 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-07-04 21:21:17 +00:00

23 lines
490 B
C

#ifdef PLATFORM_POSIX
void FBInit(const String& fbdevice);
void FBDeInit();
#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(); \
FBDeInit(); \
UPP::UsrLog("---------- About to delete this log of LinuxFB..."); \
UPP::DeleteUsrLog(); \
return UPP::GetExitCode(); \
} \
\
void GuiMainFn_()
#endif