summaryrefslogtreecommitdiff
path: root/src/plugins/genericprojectmanager/pkgconfigtool.h
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-03-12 09:56:06 +0100
committerRoberto Raggi <roberto.raggi@nokia.com>2009-03-12 09:57:13 +0100
commit8df85570b31ac4152c1f4def23f306c43d18ac8b (patch)
tree0634c3a0fd11cedf173aded9f85687d0d8c08a3c /src/plugins/genericprojectmanager/pkgconfigtool.h
parent1db3f56d557bf452fdc882917fa732f901c102ca (diff)
downloadqt-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.h39
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