]> git.localhorst.tv Git - blank.git/blobdiff - src/app/Config.hpp
add TCP based CLI
[blank.git] / src / app / Config.hpp
index 4beb0627b6d609405e1ef0765b0553c68fff6918..d584766b48ad9bbbbf564ddc74d15e3894652a6f 100644 (file)
@@ -2,6 +2,7 @@
 #define BLANK_APP_CONFIG_HPP_
 
 #include <cstdint>
+#include <iosfwd>
 #include <string>
 
 
@@ -29,6 +30,7 @@ struct Config {
 
                std::string host = "localhost";
                std::uint16_t port = 12354;
+               std::uint16_t cmd_port = 0;
 
        } net;
 
@@ -50,6 +52,9 @@ struct Config {
 
        } video;
 
+       void Load(std::istream &);
+       void Save(std::ostream &);
+
 };
 
 }