]> git.tdb.fi Git - libs/gl.git/blobdiff - source/materials/technique.h
Add inline data items to the collection
[libs/gl.git] / source / materials / technique.h
index 47a307c9af318b111ef2266b93fc9442ece058e1..a7999c0cf67652a140a219c24258e2a3e210ee39 100644 (file)
@@ -19,15 +19,20 @@ public:
        class Loader: public Msp::DataFile::CollectionObjectLoader<Technique>
        {
        private:
        class Loader: public Msp::DataFile::CollectionObjectLoader<Technique>
        {
        private:
+               std::string inline_base_name;
+
                static ActionMap shared_actions;
 
        public:
                Loader(Technique &);
                Loader(Technique &, Collection &);
                static ActionMap shared_actions;
 
        public:
                Loader(Technique &);
                Loader(Technique &, Collection &);
-
        private:
                virtual void init_actions();
 
        private:
                virtual void init_actions();
 
+       public:
+               void set_inline_base_name(const std::string &);
+
+       private:
                void inherit(const std::string &);
                void pass(const std::string &);
        };
                void inherit(const std::string &);
                void pass(const std::string &);
        };