]> git.sesse.net Git - nageru/commitdiff
Make Theme::register_class() private.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 1 Nov 2015 11:58:16 +0000 (12:58 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 1 Nov 2015 11:58:16 +0000 (12:58 +0100)
theme.h

diff --git a/theme.h b/theme.h
index 80b01badf3f1a1c0b0a38f37e15f9270f4ee84d8..49152637975c8d2df8a90325c8f2dbd247a5eebb 100644 (file)
--- a/theme.h
+++ b/theme.h
@@ -26,7 +26,6 @@ public:
 class Theme {
 public:
        Theme(const char *filename, movit::ResourcePool *resource_pool);
-       void register_class(const char *class_name, const luaL_Reg *funcs);
 
        std::pair<movit::EffectChain *, std::function<void()>>
        get_chain(unsigned num, float t, unsigned width, unsigned height);
@@ -44,6 +43,8 @@ public:
        void channel_clicked(int preview_num);
 
 private:
+       void register_class(const char *class_name, const luaL_Reg *funcs);
+
        std::mutex m;
        lua_State *L;
        movit::ResourcePool *resource_pool;