mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-01 22:03:40 -06:00
31 lines
684 B
C++
31 lines
684 B
C++
class ViewDraw : public SystemDraw {
|
|
public:
|
|
ViewDraw(Ctrl *ctrl);
|
|
~ViewDraw();
|
|
};
|
|
|
|
Vector<WString>& coreCmdLine__();
|
|
Vector<WString> SplitCmdLine__(const char *cmd);
|
|
|
|
void CocoInit(int argc, const char **argv, const char **envptr);
|
|
void CocoExit();
|
|
|
|
#ifdef PLATFORM_POSIX
|
|
#define GUI_APP_MAIN \
|
|
void GuiMainFn_(); \
|
|
\
|
|
int main(int argc, const char **argv, const char **envptr) { \
|
|
UPP::AppInit__(argc, (const char **)argv, envptr); \
|
|
GUI_APP_MAIN_HOOK \
|
|
UPP::CocoInit(argc, argv, envptr); \
|
|
GuiMainFn_(); \
|
|
UPP::Ctrl::CloseTopCtrls(); \
|
|
UPP::CocoExit(); \
|
|
return UPP::GetExitCode(); \
|
|
} \
|
|
\
|
|
void GuiMainFn_()
|
|
|
|
#endif
|
|
|
|
class DHCtrl : Ctrl {};
|