Separate KeyboardConfig out into a separate class that can be stored in the global...
[supertux.git] / src / supertux / menu / addon_menu.hpp
index 9be3468..640c5bc 100644 (file)
@@ -1,5 +1,5 @@
 //  SuperTux
-//  Copyright (C) 2009 Ingo Ruhnke <grumbel@gmx.de>
+//  Copyright (C) 2009 Ingo Ruhnke <grumbel@gmail.com>
 //
 //  This program is free software: you can redistribute it and/or modify
 //  it under the terms of the GNU General Public License as published by
@@ -28,8 +28,13 @@ class Addon;
 class AddonMenu : public Menu
 {
 private:
+  std::vector<Addon*> m_addons;
+
 public:
-  AddonMenu(const std::vector<Addon*>& addons);
+  AddonMenu();
+
+  void refresh();
+  void menu_action(MenuItem* item) override;
 
 private:
   AddonMenu(const AddonMenu&);