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_
|
|
|
|
|
2019-02-27 15:06:47 -05:00
|
|
|
#include <wx/scopedarray.h>
|
2019-01-30 13:48:46 -05:00
|
|
|
|
2016-08-25 11:56:00 -04:00
|
|
|
class QApplication;
|
2014-08-23 21:50:11 -04:00
|
|
|
class WXDLLIMPEXP_CORE wxApp : public wxAppBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
wxApp();
|
|
|
|
~wxApp();
|
2019-01-30 11:28:08 -05:00
|
|
|
|
2014-08-23 21:50:11 -04:00
|
|
|
virtual bool Initialize(int& argc, wxChar **argv);
|
|
|
|
|
|
|
|
private:
|
2019-02-27 15:06:47 -05:00
|
|
|
wxScopedPtr<QApplication> m_qtApplication;
|
2014-08-23 21:50:11 -04:00
|
|
|
int m_qtArgc;
|
2019-02-27 15:06:47 -05:00
|
|
|
wxScopedArray<char*> m_qtArgv;
|
2019-01-30 11:28:08 -05:00
|
|
|
|
2014-08-23 21:50:11 -04:00
|
|
|
wxDECLARE_DYNAMIC_CLASS_NO_COPY( wxApp );
|
|
|
|
};
|
2019-01-30 11:28:08 -05:00
|
|
|
|
2014-08-23 21:50:11 -04:00
|
|
|
#endif // _WX_QT_APP_H_
|