]> git.tdb.fi Git - builder.git/blobdiff - source/sourcepackage.h
Reorder functions
[builder.git] / source / sourcepackage.h
index 94555d6e3e96dc85c3ad662f0c896a10637f3af6..e5c315231f8e77aa084b68bfd78c18867bb1067c 100644 (file)
@@ -79,20 +79,23 @@ public:
        const std::string &get_version() const { return version; }
        const std::string &get_interface_version() const { return interface_version; }
        const std::string &get_description() const { return description; }
+
        FileTarget &get_build_file() const { return *build_file; }
        const Msp::FS::Path &get_source_directory() const { return source_dir; }
        Msp::FS::Path get_temp_directory() const;
        Msp::FS::Path get_output_directory() const;
+
        const ComponentList &get_components() const { return components; }
        const Config &get_config() const { return config; }
        bool match_feature(const std::string &) const;
        void set_build_type(const BuildType &);
        const BuildInfo &get_build_info() const { return build_info; }
-
-       Cache &get_cache() const { return cache; }
 private:
        virtual void do_prepare();
 
+public:
+       Cache &get_cache() const { return cache; }
+private:
        virtual void save_caches();
 };