]> git.saurik.com Git - wxWidgets.git/blob - utils/projgen/makeproj.h
Dialogs and slider updates
[wxWidgets.git] / utils / projgen / makeproj.h
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
19 class wxProject: public wxObject
20 {
21 public:
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 SetExtraLibsDebug(const wxStringList& libs) { m_extraLibsDebug = libs; }
38 void SetExtraLibsRelease(const wxStringList& libs) { m_extraLibsRelease = libs; }
39
40 inline wxString GetProjectName() const { return m_projectName; }
41 inline wxString GetTargetName() const { return m_targetName; }
42 inline wxString GetPath() const { return m_path; }
43 inline wxStringList GetSourceFiles() const { return m_sourceFiles; }
44 // inline wxStringList GetHeaders() const { return m_headerFiles; }
45 inline wxStringList GetIncludeDirs() const { return m_includeDirs; }
46 inline wxStringList GetResourceIncludeDirs() const { return m_resourceIncludeDirs; }
47 inline wxStringList GetLibDirs() const { return m_libDirs; }
48 inline wxStringList GetDebugLibDirs() const { return m_debugLibDirs; }
49 inline wxStringList GetReleaseLibDirs() const { return m_releaseLibDirs; }
50 inline wxStringList GetExtraLibsDebug() const { return m_extraLibsDebug; }
51 inline wxStringList GetExtraLibsRelease() const { return m_extraLibsRelease; }
52
53 protected:
54 wxString m_projectName;
55 wxString m_targetName;
56 wxString m_path;
57 wxStringList m_sourceFiles;
58 // wxStringList m_headerFiles;
59 wxStringList m_includeDirs;
60 wxStringList m_resourceIncludeDirs;
61 wxStringList m_libDirs;
62 wxStringList m_debugLibDirs;
63 wxStringList m_releaseLibDirs;
64 wxStringList m_extraLibsDebug;
65 wxStringList m_extraLibsRelease;
66 };
67
68
69 #endif
70 // _MAKEPROJ_H_