From b9c5376bb1b0bf8e9bd0589e192220dfe0892bd5 Mon Sep 17 00:00:00 2001 From: Pixel Date: Wed, 12 Dec 2001 07:39:41 +0000 Subject: Still working on it... --- src/Main.cc | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/Main.cc b/src/Main.cc index 2bd0b0a..4663a02 100644 --- a/src/Main.cc +++ b/src/Main.cc @@ -1,5 +1,5 @@ #include -#include +#include #include #include #include "Handle.h" @@ -17,6 +17,7 @@ #include "InPipe.h" #include "Image.h" #include "CopyJob.h" +#include "IRC.h" InPipe * in; @@ -88,11 +89,20 @@ Action * java = new Message("Applet JAVA", ", "java"); -Action * Liste[] = {a1, a2, a3, a4, a5, ad, java}; -String Labels[] = {"Action 1", "Action 2", "Action 3", "Action 4", "Action 5", "Action dynamique", "Essai de java"}; +Action * up = new Message("Test d'upload", +" +
+ +Send this file: + +
+", "upload"); + +Action * Liste[] = {a1, a2, a3, a4, a5, ad, java, up}; +String Labels[] = {"Action 1", "Action 2", "Action 3", "Action 4", "Action 5", "Action dynamique", "Essai de java", "Test d'upload"}; Action * buildmenu(void) { - return new Menu("Menu Principal", "start", Labels, Liste, 7); + return new Menu("Menu Principal", "start", Labels, Liste, 8); } int main(int argc, char ** argv) { @@ -128,6 +138,9 @@ int main(int argc, char ** argv) { try { HttpServ h(buildmenu(), port.to_int()); + IRC i("botalacon"); +// i.Connect(); +// i.MainLoop(); TaskMan::MainLoop(); } catch (GeneralException e) { -- cgit v1.2.3