X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=src%2Fkernel%2Fkernel.h;h=7213b461a9a54d996923b19cfe45a4785b588cfb;hb=f43129215d9cc2dcd6bf5f2a4c6b1bebec34de16;hp=89260cc2334245a97d70453cf17e6478c7c9fb10;hpb=595f80b4f2420ff252f137cacb22a7d4b6f0850d;p=vlp.git diff --git a/src/kernel/kernel.h b/src/kernel/kernel.h index 89260cc..7213b46 100644 --- a/src/kernel/kernel.h +++ b/src/kernel/kernel.h @@ -40,7 +40,7 @@ #include "comm.h" -#include "kernelwindow.h" +#include "ui/kernelwindow.h" #define GPATH "loggr" #define IPATH "logi" @@ -55,6 +55,9 @@ #define NORM_COL 2 +namespace loglan { +namespace vlp { + /** * Interpreter slot */ @@ -83,10 +86,14 @@ public: class ConnectEntry { public: char addr[256]; - + ConnectEntry(char *s) { strcpy(addr, s); }; + + ConnectEntry(const char *s) { + strcpy(addr, s); + }; }; @@ -103,8 +110,7 @@ public: QKernel(int argc, char **argv); - void WriteMessage(char* msg); - void InitMessage(); + void WriteMessage(const char * msg); public slots: void NetMessage(); @@ -184,4 +190,7 @@ private slots: void on_actionUnlock_console_triggered(); }; +} +} + #endif /* VLP_KERNEL_H */