-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefileProjectWithExistingCode.h
More file actions
40 lines (30 loc) · 1.07 KB
/
MakefileProjectWithExistingCode.h
File metadata and controls
40 lines (30 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* This file uses parts of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
* http://www.gnu.org/licenses/gpl-3.0.html
*/
#ifndef MakefileProjectWithExistingCode_H_INCLUDED
#define MakefileProjectWithExistingCode_H_INCLUDED
// For compilers that support precompilation, includes <wx/wx.h>
#include <wx/wxprec.h>
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
#include "cbplugin.h"
#include <memory>
class MakefileProjectWithExistingCode : public cbPlugin
{
public:
/** Constructor. */
MakefileProjectWithExistingCode();
~MakefileProjectWithExistingCode() = default;
void BuildMenu(wxMenuBar* menuBar) override;
protected:
void OnAttach() override;
void OnRelease(bool appShutDown) override;
DECLARE_EVENT_TABLE()
private:
void OnMakefileProjectWithExistingCode( wxCommandEvent& event );
bool CreateMakefileProjectWithExistingCode(wxString &error);
bool CreateProjectInternal(const wxString& fileName, const wxArrayString& filelist, wxString &errorString);
};
#endif // MakefileProjectWithExistingCode_H_INCLUDED