X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinarypackage.h;h=a0b3d0a66dfc1675e165001b98974ebfb37c97d1;hb=242c55b17e6608b29a77ca17a5b677e202a3ca90;hp=a0f20e86e273f4ba79f23119afa04f13c3e0682f;hpb=77461a8c0e2b5686b04cf15f3a9333b215813992;p=builder.git diff --git a/source/binarypackage.h b/source/binarypackage.h index a0f20e8..a0b3d0a 100644 --- a/source/binarypackage.h +++ b/source/binarypackage.h @@ -1,7 +1,7 @@ /* $Id$ This file is part of builder -Copyright © 2007 Mikko Rasa, Mikkosoft Productions +Copyright © 2007-2009 Mikko Rasa, Mikkosoft Productions Distributed under the LGPL */ @@ -26,15 +26,23 @@ public: void build_info(); }; +private: + bool need_path; + Msp::FS::Path path; + +public: BinaryPackage(Builder &, const std::string &); + + /** + 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::FS::Path path; - virtual void create_build_info(); };