X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinarypackage.h;h=ff077f8c362ed385ce09152517038c0de3536977;hb=43bd25ffcb0b4f7882773f4676b209a99cb73c04;hp=0be063393107915c0c97aaafa6d5cf56c7ac854e;hpb=4d0d003b022943d8a0e39ba19078bab8d32d8857;p=builder.git diff --git a/source/binarypackage.h b/source/binarypackage.h index 0be0633..ff077f8 100644 --- a/source/binarypackage.h +++ b/source/binarypackage.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of builder -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef BINARYPACKAGE_H_ #define BINARYPACKAGE_H_ @@ -26,15 +19,23 @@ public: void build_info(); }; +private: + bool need_path; + Msp::FS::Path path; + +public: BinaryPackage(Builder &, const std::string &); - void set_path(const Msp::Path &); + + /** + Sets the path where the package's files were installed. This is only useful + if the package doesn't use pkg-config. + */ + void set_path(const Msp::FS::Path &); + bool get_need_path() const { return need_path; } static BinaryPackage *from_pkgconfig(Builder &, const std::string &); private: - bool need_path; - Msp::Path path; - virtual void create_build_info(); };