minor alias changes and added comments with todos
This commit is contained in:
parent
1b877f9127
commit
103cb3cd59
|
@ -79,7 +79,7 @@ format_iter(env,env.sources + env.headers)
|
||||||
|
|
||||||
env.Alias('format', env.format_actions)
|
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/lib/', [env.library_shared, env.library_static])
|
||||||
env.Install('/usr/local/include/kelgin/', [env.headers])
|
env.Install('/usr/local/include/kelgin/', [env.headers])
|
||||||
|
|
|
@ -6,6 +6,10 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace gin {
|
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
|
#ifdef GIN_UNIX
|
||||||
#define Fd int;
|
#define Fd int;
|
||||||
#endif
|
#endif
|
||||||
|
@ -36,6 +40,9 @@ class NetworkAddress {
|
||||||
public:
|
public:
|
||||||
virtual ~NetworkAddress() = default;
|
virtual ~NetworkAddress() = default;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Listen on this address
|
||||||
|
*/
|
||||||
virtual Own<Server> listen() = 0;
|
virtual Own<Server> listen() = 0;
|
||||||
virtual Own<IoStream> connect() = 0;
|
virtual Own<IoStream> connect() = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue