From: Steinar H. Gunderson Date: Sun, 1 Nov 2015 11:58:16 +0000 (+0100) Subject: Make Theme::register_class() private. X-Git-Tag: 1.0.0~191 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=af35bb637146622dc43416a5f2e801b1efaf6953;p=nageru Make Theme::register_class() private. --- diff --git a/theme.h b/theme.h index 80b01ba..4915263 100644 --- 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> 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;