minor alias changes and added comments with todos

This commit is contained in:
keldu.magnus 2020-09-02 14:50:38 +02:00
parent 1b877f9127
commit 103cb3cd59
2 changed files with 8 additions and 1 deletions

View File

@ -79,7 +79,7 @@ format_iter(env,env.sources + env.headers)
env.Alias('format', env.format_actions)
env.Alias('all', ['format', 'library', 'test'])
env.Alias('all', ['format', 'library_shared', 'library_static', 'test'])
env.Install('/usr/local/lib/', [env.library_shared, env.library_static])
env.Install('/usr/local/include/kelgin/', [env.headers])

View File

@ -6,6 +6,10 @@
#include <string>
namespace gin {
/// @todo change this. Not everyone uses my convention...
/// My own platform description is only allowed in .cpp files meant for
/// compiled binaries like .o, .a or .so
#ifdef GIN_UNIX
#define Fd int;
#endif
@ -36,6 +40,9 @@ class NetworkAddress {
public:
virtual ~NetworkAddress() = default;
/*
* Listen on this address
*/
virtual Own<Server> listen() = 0;
virtual Own<IoStream> connect() = 0;