diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-03-12 09:56:06 +0100 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-03-12 09:57:13 +0100 |
commit | 8df85570b31ac4152c1f4def23f306c43d18ac8b (patch) | |
tree | 0634c3a0fd11cedf173aded9f85687d0d8c08a3c /src/plugins/genericprojectmanager/pkgconfigtool.h | |
parent | 1db3f56d557bf452fdc882917fa732f901c102ca (diff) | |
download | qt-creator-8df85570b31ac4152c1f4def23f306c43d18ac8b.tar.gz |
Initial work on pkg-config support.
Diffstat (limited to 'src/plugins/genericprojectmanager/pkgconfigtool.h')
-rw-r--r-- | src/plugins/genericprojectmanager/pkgconfigtool.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/plugins/genericprojectmanager/pkgconfigtool.h b/src/plugins/genericprojectmanager/pkgconfigtool.h new file mode 100644 index 0000000000..ac97d3e8eb --- /dev/null +++ b/src/plugins/genericprojectmanager/pkgconfigtool.h @@ -0,0 +1,39 @@ +#ifndef PKGCONFIGTOOL_H +#define PKGCONFIGTOOL_H + +#include <QObject> +#include <QStringList> + +namespace GenericProjectManager { +namespace Internal { + +class PkgConfigTool: public QObject +{ + Q_OBJECT + +public: + struct Package { + QString name; + QString description; + QStringList includePaths; + QStringList defines; + QStringList undefines; + }; + +public: + PkgConfigTool(); + virtual ~PkgConfigTool(); + + QList<Package> packages() const; + +private: + void packages_helper() const; + +private: + mutable QList<Package> _packages; +}; + +} // end of namespace Internal +} // end of namespace GenericProjectManager + +#endif // PKGCONFIGTOOL_H |