mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 22:02:49 -06:00
21 lines
395 B
C
21 lines
395 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(); \
|
|
return UPP::GetExitCode(); \
|
|
} \
|
|
\
|
|
void GuiMainFn_()
|
|
|
|
#endif
|
|
|