]> git.saurik.com Git - wxWidgets.git/blame - utils/projgen/makeproj.h
Reverted wxString members to const wxChar * for struct BugsGridData
[wxWidgets.git] / utils / projgen / makeproj.h
CommitLineData
302aa842
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: makeproj.h
3// Purpose: Generate sample VC++ project files
4// Author: Julian Smart
5// Modified by:
6// Created: 10/12/98
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifdef __GNUG__
13#pragma interface "makeproj.h"
14#endif
15
16#ifndef _MAKEPROJ_H_
17#define _MAKEPROJ_H_
18
19class wxProject: public wxObject
20{
21public:
22 wxProject();
23 ~wxProject();
24
25 bool GenerateVCProject();
26
27 void SetProjectName(const wxString& projectName) { m_projectName = projectName; }
28 void SetTargetName(const wxString& targetName) { m_targetName = targetName; }
29 void SetProjectPath(const wxString& path) { m_path = path; }
30 void SetSourceFiles(const wxStringList& sources) { m_sourceFiles = sources; }
31// void SetHeaders(const wxStringList& headers) { m_headerFiles = headers; }
32 void SetIncludeDirs(const wxStringList& dirs) { m_includeDirs = dirs; }
33 void SetResourceIncludeDirs(const wxStringList& dirs) { m_resourceIncludeDirs = dirs; }
34 void SetLibDirs(const wxStringList& dirs) { m_libDirs = dirs; }
35 void SetDebugLibDirs(const wxStringList& dirs) { m_debugLibDirs = dirs; }
36 void SetReleaseLibDirs(const wxStringList& dirs) { m_releaseLibDirs = dirs; }
37 void SetExtraLibs(const wxStringList& libs) { m_extraLibs = libs; }
38
39 inline wxString GetProjectName() const { return m_projectName; }
40 inline wxString GetTargetName() const { return m_targetName; }
41 inline wxString GetPath() const { return m_path; }
42 inline wxStringList GetSourceFiles() const { return m_sourceFiles; }
43// inline wxStringList GetHeaders() const { return m_headerFiles; }
44 inline wxStringList GetIncludeDirs() const { return m_includeDirs; }
45 inline wxStringList GetResourceIncludeDirs() const { return m_resourceIncludeDirs; }
46 inline wxStringList GetLibDirs() const { return m_libDirs; }
47 inline wxStringList GetDebugLibDirs() const { return m_debugLibDirs; }
48 inline wxStringList GetReleaseLibDirs() const { return m_releaseLibDirs; }
49 inline wxStringList GetExtraLibs() const { return m_extraLibs; }
50
51protected:
52 wxString m_projectName;
53 wxString m_targetName;
54 wxString m_path;
55 wxStringList m_sourceFiles;
56// wxStringList m_headerFiles;
57 wxStringList m_includeDirs;
58 wxStringList m_resourceIncludeDirs;
59 wxStringList m_libDirs;
60 wxStringList m_debugLibDirs;
61 wxStringList m_releaseLibDirs;
62 wxStringList m_extraLibs;
63};
64
65
66#endif
67 // _MAKEPROJ_H_