X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinarypackage.h;h=b8c29de772e45610d9078de5ea0225c8ce961349;hb=HEAD;hp=0be063393107915c0c97aaafa6d5cf56c7ac854e;hpb=4d0d003b022943d8a0e39ba19078bab8d32d8857;p=builder.git diff --git a/source/binarypackage.h b/source/binarypackage.h deleted file mode 100644 index 0be0633..0000000 --- a/source/binarypackage.h +++ /dev/null @@ -1,41 +0,0 @@ -/* $Id$ - -This file is part of builder -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - -#ifndef BINARYPACKAGE_H_ -#define BINARYPACKAGE_H_ - -#include "package.h" - -/** -Represents a package that is installed on the system, but can't be built by -Builder. -*/ -class BinaryPackage: public Package -{ -public: - class Loader: public Package::Loader - { - public: - Loader(BinaryPackage &); - BinaryPackage &get_object() { return static_cast(pkg); } - private: - void build_info(); - }; - - BinaryPackage(Builder &, const std::string &); - void set_path(const Msp::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(); -}; - -#endif