]> git.tdb.fi Git - builder.git/blobdiff - source/sourcepackage.h
find_dependencies should not be public
[builder.git] / source / sourcepackage.h
index 5b4ffd0474bc8a1e2f79c060e58193edb77cd20d..c143a276f0db446b142d3e860172c3de2ff72324 100644 (file)
@@ -51,11 +51,13 @@ public:
                void tar_file(const std::string &);
        };
 
+       typedef std::list<Component> ComponentList;
+
 private:
        std::string version;
        std::string description;
 
-       Msp::FS::Path source;
+       Msp::FS::Path source_dir;
        const BuildType *build_type;
        FeatureList features;
        BuildInfo build_info;
@@ -68,7 +70,7 @@ public:
 
        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; }
+       const Msp::FS::Path &get_source_directory() const { return source_dir; }
        Msp::FS::Path get_temp_dir() const;
        Msp::FS::Path get_out_dir() const;
        const ComponentList &get_components() const { return components; }
@@ -77,7 +79,7 @@ public:
        const BuildInfo &get_build_info() const { return build_info; }
        Builder &get_builder() const { return builder; }
 
-       DependencyCache &get_deps_cache() const { return deps_cache; }
+       DependencyCache &get_dependency_cache() const { return deps_cache; }
 private:
        virtual void create_build_info();