aboutsummaryrefslogtreecommitdiffstats
path: root/src/applist.hpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-06-09 15:38:38 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-06-09 15:59:35 +0900
commitbb51378eb5a390bd489fd41bd38e0b262e31479d (patch)
tree135b6bbca84632e3eb1e66db2a26ea5e5d2ea9c4 /src/applist.hpp
parentc18d1bfc63d6aad07d58074bc8fd6f15a14c8716 (diff)
Use unique_ptr
I don't debug yet Change-Id: I540f31c3fd5dbe757e254346328a25eb5b58dea5 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/applist.hpp')
-rw-r--r--src/applist.hpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/applist.hpp b/src/applist.hpp
index 92310fd..20e7cb5 100644
--- a/src/applist.hpp
+++ b/src/applist.hpp
@@ -30,14 +30,18 @@ namespace wm
/* using std::experimental::nullopt;
using std::experimental::optional; */
-struct FloatingSurface;
+struct FloatingSurface
+{
+ unsigned surface_id;
+ unsigned pid;
+};
class AppList
{
public:
AppList();
- virtual ~AppList();
- AppList(const AppList &obj) = delete;
+ virtual ~AppList() = default;
+ AppList(const AppList &obj);
// Client Database Interface
void addClient(const std::string &appid, const std::string &role);