2014-08-23 21:50:11 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: app.h
|
|
|
|
// Purpose: wxApp class
|
2014-08-28 23:37:46 -04:00
|
|
|
// Author: Peter Most, Mariano Reingart
|
|
|
|
// Copyright: (c) 2009 wxWidgets dev team
|
2014-08-23 21:50:11 -04:00
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_QT_APP_H_
|
|
|
|
#define _WX_QT_APP_H_
|
|
|
|
|
|
|
|
#include <QtWidgets/QApplication>
|
|
|
|
|
|
|
|
class WXDLLIMPEXP_CORE wxApp : public wxAppBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
wxApp();
|
|
|
|
~wxApp();
|
|
|
|
|
|
|
|
virtual bool Initialize(int& argc, wxChar **argv);
|
|
|
|
|
|
|
|
private:
|
|
|
|
QApplication *m_qtApplication;
|
|
|
|
int m_qtArgc;
|
|
|
|
char **m_qtArgv;
|
|
|
|
|
|
|
|
wxDECLARE_DYNAMIC_CLASS_NO_COPY( wxApp );
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _WX_QT_APP_H_
|