equal
deleted
inserted
replaced
40 ****************************************************************************/ |
40 ****************************************************************************/ |
41 |
41 |
42 #ifndef METAMAKEFILE_H |
42 #ifndef METAMAKEFILE_H |
43 #define METAMAKEFILE_H |
43 #define METAMAKEFILE_H |
44 |
44 |
|
45 #include <option.h> |
|
46 |
45 #include <qlist.h> |
47 #include <qlist.h> |
46 #include <qstring.h> |
48 #include <qstring.h> |
47 |
49 |
48 QT_BEGIN_NAMESPACE |
50 QT_BEGIN_NAMESPACE |
49 |
51 |
63 virtual ~MetaMakefileGenerator(); |
65 virtual ~MetaMakefileGenerator(); |
64 |
66 |
65 static MetaMakefileGenerator *createMetaGenerator(QMakeProject *proj, const QString &name, bool op=true, bool *success = 0); |
67 static MetaMakefileGenerator *createMetaGenerator(QMakeProject *proj, const QString &name, bool op=true, bool *success = 0); |
66 static MakefileGenerator *createMakefileGenerator(QMakeProject *proj, bool noIO = false); |
68 static MakefileGenerator *createMakefileGenerator(QMakeProject *proj, bool noIO = false); |
67 |
69 |
|
70 static bool modesForGenerator(const QString &generator, |
|
71 Option::HOST_MODE *host_mode, Option::TARG_MODE *target_mode); |
|
72 |
68 inline QMakeProject *projectFile() const { return project; } |
73 inline QMakeProject *projectFile() const { return project; } |
69 |
74 |
70 virtual bool init() = 0; |
75 virtual bool init() = 0; |
71 virtual int type() const { return -1; } |
76 virtual int type() const { return -1; } |
72 virtual bool write(const QString &oldpwd) = 0; |
77 virtual bool write(const QString &oldpwd) = 0; |