]> git.tdb.fi Git - builder.git/blobdiff - source/binarypackage.h
Refactor transitive dependencies to work on all targets
[builder.git] / source / binarypackage.h
diff --git a/source/binarypackage.h b/source/binarypackage.h
deleted file mode 100644 (file)
index 8c0d0e9..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-#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<BinaryPackage &>(pkg); }
-       private:
-               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_flags(Builder &, const std::string &, const std::vector<std::string> &);
-private:
-       virtual void create_build_info();
-};
-
-#endif