From: Mikko Rasa Date: Sat, 14 Jul 2012 13:26:58 +0000 (+0300) Subject: Clean up some unused cruft X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=5c25b76c7263b2a8ac01c863e438592c6287758a;p=builder.git Clean up some unused cruft --- diff --git a/source/builder.h b/source/builder.h index 90380a6..4192fe7 100644 --- a/source/builder.h +++ b/source/builder.h @@ -22,7 +22,6 @@ class Config; class FileTarget; class Package; class SourcePackage; -class VirtualTarget; /** The main application class. Controls and owns everything. Rules the world. @@ -57,7 +56,6 @@ private: public: typedef std::map TargetMap; - typedef std::list TargetList; private: typedef std::map ProfileTemplateMap; @@ -127,7 +125,6 @@ public: /** Adds a target to both the target map and the new target queue. Called from Target constructor. */ void add_target(Target *); - void register_path(const Msp::FS::Path &, FileTarget *); void problem(const std::string &, const std::string &); diff --git a/source/sourcepackage.h b/source/sourcepackage.h index fa1492d..cd576fe 100644 --- a/source/sourcepackage.h +++ b/source/sourcepackage.h @@ -59,7 +59,6 @@ private: public: SourcePackage(Builder &, const std::string &, const Msp::FS::Path &); - const std::string &get_name() const { return name; } const std::string &get_version() const { return version; } const std::string &get_description() const { return description; } const Msp::FS::Path &get_source() const { return source; } @@ -68,7 +67,6 @@ public: const ComponentList &get_components() const { return components; } const Config &get_config() const { return config; } const BuildInfo &get_build_info() const { return build_info; } - const BuildInfo &get_exported_binfo() const { return export_binfo; } Builder &get_builder() const { return builder; } LibMode get_library_mode() const;