aboutsummaryrefslogtreecommitdiff
path: root/source/app/wandac/include
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2024-05-17 17:58:38 +0200
committerFelix Morgner <felix.morgner@gmail.com>2024-05-17 17:58:38 +0200
commit577fc0845718ed8ad5bebf02a277c0579a817f77 (patch)
tree3d1cdc53c426a0ba60a7996619a7b787850bb3b3 /source/app/wandac/include
parentde5bf7ca3b7a2bf6be35b86486b00dc6a071b950 (diff)
downloadwanda-develop.tar.xz
wanda-develop.zip
wanda: restructure source layoutHEADdevelop
Diffstat (limited to 'source/app/wandac/include')
-rw-r--r--source/app/wandac/include/wandac/cli.hpp27
-rw-r--r--source/app/wandac/include/wandac/listener.hpp26
2 files changed, 0 insertions, 53 deletions
diff --git a/source/app/wandac/include/wandac/cli.hpp b/source/app/wandac/include/wandac/cli.hpp
deleted file mode 100644
index c04b138..0000000
--- a/source/app/wandac/include/wandac/cli.hpp
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef WANDA_APP_WANDAC_CLI_HPP
-#define WANDA_APP_WANDAC_CLI_HPP
-
-#include <lyra/args.hpp>
-#include <lyra/cli_parser.hpp>
-
-#include <iosfwd>
-#include <string>
-
-namespace wandac
-{
-
- struct cli
- {
- auto parse(lyra::args arguments, std::ostream & error_stream) -> bool;
- auto print_usage(std::ostream & output_stream) -> void;
-
- std::string command{};
- bool help{};
-
- private:
- lyra::cli_parser parser{};
- };
-
-} // namespace wandac
-
-#endif \ No newline at end of file
diff --git a/source/app/wandac/include/wandac/listener.hpp b/source/app/wandac/include/wandac/listener.hpp
deleted file mode 100644
index 49b75b6..0000000
--- a/source/app/wandac/include/wandac/listener.hpp
+++ /dev/null
@@ -1,26 +0,0 @@
-#ifndef WANDA_APP_WANDAC_LISTENER_HPP
-#define WANDA_APP_WANDAC_LISTENER_HPP
-
-#include "wandac/cli.hpp"
-
-#include <wanda/control/commander.hpp>
-
-#include <boost/asio/io_context.hpp>
-
-namespace wandac
-{
-
- struct listener : wanda::control::commander::listener
- {
- listener(wandac::cli const & cli, boost::asio::io_context & service);
-
- auto on_connected(wanda::control::commander & commander) -> void override ;
-
- private:
- wandac::cli const & m_cli;
- boost::asio::io_context & m_service;
- };
-
-} // namespace wandac
-
-#endif \ No newline at end of file