author | zecke <zecke> | 2004-07-15 17:36:57 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-07-15 17:36:57 (UTC) |
commit | 323e9a7472a110b4befba7320540263147505bae (patch) (unidiff) | |
tree | 14c810bdb9c0603a30356b17b4bdf9ccb72741c6 /qmake/project.h | |
parent | aa292b322f1ecb43dd8f4e3cd295855730dd9f59 (diff) | |
download | opie-323e9a7472a110b4befba7320540263147505bae.zip opie-323e9a7472a110b4befba7320540263147505bae.tar.gz opie-323e9a7472a110b4befba7320540263147505bae.tar.bz2 |
Manually updatet to qmake1.06a which includes support for precompiled
headers.
Opies 'PRO' keyword was already reintroduced
-rw-r--r-- | qmake/project.h | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/qmake/project.h b/qmake/project.h index ec19f0c..0ca2a92 100644 --- a/qmake/project.h +++ b/qmake/project.h | |||
@@ -1,12 +1,10 @@ | |||
1 | /**************************************************************************** | 1 | /**************************************************************************** |
2 | ** $Id$ | 2 | ** |
3 | ** | 3 | ** |
4 | ** Definition of ________ class. | 4 | ** Definition of QMakeProject class. |
5 | ** | 5 | ** |
6 | ** Created : 970521 | 6 | ** Copyright (C) 1992-2003 Trolltech AS. All rights reserved. |
7 | ** | 7 | ** |
8 | ** Copyright (C) 1992-2002 Trolltech AS. All rights reserved. | 8 | ** This file is part of qmake. |
9 | ** | ||
10 | ** This file is part of the network module of the Qt GUI Toolkit. | ||
11 | ** | 9 | ** |
12 | ** This file may be distributed under the terms of the Q Public License | 10 | ** This file may be distributed under the terms of the Q Public License |
@@ -35,4 +33,5 @@ | |||
35 | ** | 33 | ** |
36 | **********************************************************************/ | 34 | **********************************************************************/ |
35 | |||
37 | #ifndef __PROJECT_H__ | 36 | #ifndef __PROJECT_H__ |
38 | #define __PROJECT_H__ | 37 | #define __PROJECT_H__ |
@@ -42,4 +41,6 @@ | |||
42 | #include <qmap.h> | 41 | #include <qmap.h> |
43 | 42 | ||
43 | class QMakeProperty; | ||
44 | |||
44 | class QMakeProject | 45 | class QMakeProject |
45 | { | 46 | { |
@@ -48,4 +49,6 @@ class QMakeProject | |||
48 | 49 | ||
49 | QString pfile, cfile; | 50 | QString pfile, cfile; |
51 | QMakeProperty *prop; | ||
52 | void reset(); | ||
50 | QMap<QString, QStringList> vars, base_vars, cache; | 53 | QMap<QString, QStringList> vars, base_vars, cache; |
51 | bool parse(const QString &text, QMap<QString, QStringList> &place); | 54 | bool parse(const QString &text, QMap<QString, QStringList> &place); |
@@ -57,6 +60,10 @@ class QMakeProject | |||
57 | public: | 60 | public: |
58 | QMakeProject(); | 61 | QMakeProject(); |
62 | QMakeProject(QMakeProperty *); | ||
63 | |||
64 | enum { ReadCache=0x01, ReadConf=0x02, ReadCmdLine=0x04, ReadProFile=0x08, ReadPostFiles=0x10, ReadAll=0xFF }; | ||
65 | bool read(const QString &project, const QString &pwd, uchar cmd=ReadAll); | ||
66 | bool read(uchar cmd=ReadAll); | ||
59 | 67 | ||
60 | bool read(const QString &project, const QString &pwd, bool just_project=FALSE); | ||
61 | QString projectFile(); | 68 | QString projectFile(); |
62 | QString configFile(); | 69 | QString configFile(); |
@@ -66,5 +73,5 @@ public: | |||
66 | QString first(const QString &v); | 73 | QString first(const QString &v); |
67 | QMap<QString, QStringList> &variables(); | 74 | QMap<QString, QStringList> &variables(); |
68 | bool isActiveConfig(const QString &x, bool regex=FALSE); | 75 | bool isActiveConfig(const QString &x, bool regex=FALSE, QMap<QString, QStringList> *place=NULL); |
69 | 76 | ||
70 | protected: | 77 | protected: |