aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.hpp')
-rw-r--r--src/app.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/app.hpp b/src/app.hpp
index 4aaed50..e53824c 100644
--- a/src/app.hpp
+++ b/src/app.hpp
@@ -70,6 +70,8 @@ extern const char kKeyHeightPixel[];
extern const char kKeyWidthMm[];
extern const char kKeyHeightMm[];
+class AppList;
+
struct id_allocator
{
unsigned next = 1;
@@ -205,7 +207,7 @@ struct App
std::vector<int> surface_bg;
explicit App(wl::display *d);
- ~App() = default;
+ ~App()/* = default */;
App(App const &) = delete;
App &operator=(App const &) = delete;
@@ -286,6 +288,9 @@ struct App
WMError lm_layout_change(const struct WMAction &action);
WMError lm_release(const struct WMAction &action);
void lm_enddraw(const char *drawing_name);
+
+ private:
+ std::unique_ptr<wm::AppList> app_list;
};
} // namespace wm