diff options
author | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-08-08 12:03:45 +0200 |
---|---|---|
committer | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-08-08 17:30:49 +0200 |
commit | add2152e7561ea456068dd73ebbdc480d13e1015 (patch) | |
tree | ca8ddac854acb4b811f8ac9a85a2941a9cadd791 /src/util.hpp | |
parent | 04540dd41d0b3c1fad72b3074c0511dadc947657 (diff) |
remove Poller
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/util.hpp')
-rw-r--r-- | src/util.hpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/util.hpp b/src/util.hpp index 73ddb04..0703809 100644 --- a/src/util.hpp +++ b/src/util.hpp @@ -81,19 +81,4 @@ struct unique_fd { } }; -// _ _ ____ _ _ -// ___| |_ _ __ _ _ ___| |_ | _ \ ___ | | | ___ _ __ -// / __| __| '__| | | |/ __| __| | |_) / _ \| | |/ _ \ '__| -// \__ \ |_| | | |_| | (__| |_ | __/ (_) | | | __/ | -// |___/\__|_| \__,_|\___|\__| |_| \___/|_|_|\___|_| -// -struct Poller { - std::vector<std::function<int(int)>> handlers; - std::vector<struct pollfd> pfds; - - Poller() = default; - void add_fd(int fd, std::function<int(int)> handler); - int check_events(); -}; - #endif // !WM_UTIL_HPP |