diff options
| author | Christian Kandeler <christian.kandeler@digia.com> | 2013-08-20 17:12:02 +0200 |
|---|---|---|
| committer | Christian Kandeler <christian.kandeler@digia.com> | 2013-08-21 17:36:23 +0200 |
| commit | d1bbb4180f24f70d8a3823d1774bae2828077c18 (patch) | |
| tree | b46bbfb2b55c3d6728b68bbc5f7cb1ae8560ce0f /src/lib/buildgraph/productinstaller.h | |
| parent | 38a3026d5cb7d81397192865d1d8b6acb7fe67a8 (diff) | |
| download | qbs-d1bbb4180f24f70d8a3823d1774bae2828077c18.tar.gz | |
API: Add ability to retrieve the list of files to be installed.
This sort of information is something an IDE would like to show.
Change-Id: I2284f3e36c7ed90a880b1df9027a976b2ce7fb63
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/lib/buildgraph/productinstaller.h')
| -rw-r--r-- | src/lib/buildgraph/productinstaller.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/buildgraph/productinstaller.h b/src/lib/buildgraph/productinstaller.h index 1c711f02a..1b782ac3e 100644 --- a/src/lib/buildgraph/productinstaller.h +++ b/src/lib/buildgraph/productinstaller.h @@ -48,11 +48,17 @@ public: const InstallOptions &options, ProgressObserver *observer, const Logger &logger); void install(); + static QString targetFilePath(const TopLevelProject *project, + const QString &sourceFilePath, const PropertyMapConstPtr &properties, + InstallOptions &options, QString *targetDirectory = 0); + static void initInstallRoot(const TopLevelProject *project, InstallOptions &options); + private: void removeInstallRoot(); void copyFile(const Artifact *artifact); void handleError(const QString &message); + const TopLevelProjectConstPtr m_project; const QList<ResolvedProductPtr> m_products; InstallOptions m_options; ProgressObserver * const m_observer; |
