diff options
Diffstat (limited to 'src/MenuCreator.hh')
-rw-r--r-- | src/MenuCreator.hh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/MenuCreator.hh b/src/MenuCreator.hh index 6c537de..2c90f3d 100644 --- a/src/MenuCreator.hh +++ b/src/MenuCreator.hh | |||
@@ -42,8 +42,9 @@ class FluxboxWindow; | |||
42 | 42 | ||
43 | class MenuCreator { | 43 | class MenuCreator { |
44 | public: | 44 | public: |
45 | static std::auto_ptr<FbMenu> | 45 | static void |
46 | createMenu(lua::state &l, int screen_number, FbTk::AutoReloadHelper *reloader = NULL); | 46 | createMenu(FbMenu &inject_into, lua::state &l, int screen_number, |
47 | FbTk::AutoReloadHelper *reloader = NULL); | ||
47 | static FbMenu *createMenu(const std::string &label, int screen_num); | 48 | static FbMenu *createMenu(const std::string &label, int screen_num); |
48 | static FbMenu *createMenuType(const std::string &label, int screen_num); | 49 | static FbMenu *createMenuType(const std::string &label, int screen_num); |
49 | static bool createFromFile(const std::string &filename, | 50 | static bool createFromFile(const std::string &filename, |