CMQT/inc/hgl/platform/QT5Application.h

34 lines
876 B
C
Raw Permalink Normal View History

2022-06-25 22:48:37 +08:00
#ifndef HGL_QT5_APPLICATION_INCLUDE
#define HGL_QT5_APPLICATION_INCLUDE
#include<hgl/QT.h>
class QApplication;
#include<hgl/platform/ConsoleApplication.h>
namespace hgl
{
class QT5GuiApplication:public ConsoleApplication
{
QApplication *qt_app;
public:
QT5GuiApplication(QApplication *);
~QT5GuiApplication();
int exec();
};//class QT5GuiApplication
}//namespace hgl
/**
*
* @param sii
* @param app
* @param args
* @return
*/
extern "C" int QT5AppMain(hgl::ConsoleSystemInitInfo &sii,hgl::QT5GuiApplication &app,const hgl::StringList<hgl::OSString> &args);
#endif//HGL_QT5_APPLICATION_INCLUDE