+Command-line interface build.
authorshort <>
Thu, 20 May 2004 16:46:51 +0000 (16:46 +0000)
committershort <>
Thu, 20 May 2004 16:46:51 +0000 (16:46 +0000)
src/Makefile.am
src/ui-line.c [new file with mode: 0644]
src/ui-line.h [new file with mode: 0644]

index 756fdc1..59e0d8f 100644 (file)
@@ -38,6 +38,8 @@ udpgate_SOURCES= \
                packet.h \
                ui-gnome.c \
                ui-gnome.h \
+               ui-line.c \
+               ui-line.h \
                $(GLADE_OUT)
 
 EXTRA_DIST+= \
diff --git a/src/ui-line.c b/src/ui-line.c
new file mode 100644 (file)
index 0000000..472a3b0
--- /dev/null
@@ -0,0 +1,36 @@
+/* $Id$
+ * Commandline user interface
+ * Copyright (C) 2004 Jan Kratochvil <project-udpgate@jankratochvil.net>
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; exactly version 2 of June 1991 is required
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+
+#include "config.h"
+
+#include "ui-line.h"   /* self */
+#include <glib/gmessages.h>
+#include "main.h"
+
+#include "network.h"
+
+
+gboolean ui_line_init(void)
+{
+       return TRUE;
+}
+
+void ui_line_interactive(void)
+{
+}
diff --git a/src/ui-line.h b/src/ui-line.h
new file mode 100644 (file)
index 0000000..705f8d9
--- /dev/null
@@ -0,0 +1,35 @@
+/* $Id$
+ * Include file for commandline user interface
+ * Copyright (C) 2004 Jan Kratochvil <project-udpgate@jankratochvil.net>
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; exactly version 2 of June 1991 is required
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+
+#ifndef _UDPGATE_UI_LINE_H
+#define _UDPGATE_UI_LINE_H 1
+
+
+#include <glib/gtypes.h>
+
+
+G_BEGIN_DECLS
+
+gboolean ui_line_init(void);
+void ui_line_interactive(void);
+
+G_END_DECLS
+
+
+#endif /* _UDPGATE_UI_LINE_H */