Skeleton for the GUI shell
authorFredrik Tolf <fredrik@dolda2000.com>
Mon, 13 Aug 2007 03:46:52 +0000 (05:46 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Mon, 13 Aug 2007 03:46:52 +0000 (05:46 +0200)
clients/Makefile.am
clients/gui-shell/Makefile.am [new file with mode: 0644]
clients/gui-shell/launch.c [new file with mode: 0644]
configure.in

index 66e3e71..fd7072d 100644 (file)
@@ -1,4 +1,4 @@
-SUBDIRS=gtk2 tty gnome-trans-applet gaim
+SUBDIRS=gtk2 tty gnome-trans-applet gaim gui-shell
 EXTRA_DIST=hellodolda.png
 
 iconsdir = $(datadir)/pixmaps
diff --git a/clients/gui-shell/Makefile.am b/clients/gui-shell/Makefile.am
new file mode 100644 (file)
index 0000000..a6aa0e4
--- /dev/null
@@ -0,0 +1,3 @@
+bin_PROGRAMS=dolcon-launch
+
+dolcon_launch_SOURCES=launch.c
diff --git a/clients/gui-shell/launch.c b/clients/gui-shell/launch.c
new file mode 100644 (file)
index 0000000..f31fcc2
--- /dev/null
@@ -0,0 +1,36 @@
+/*
+ *  Dolda Connect - Modular multiuser Direct Connect-style client
+ *  Copyright (C) 2007 Fredrik Tolf <fredrik@dolda2000.com>
+ *  
+ *  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; either version 2 of the License, or
+ *  (at your option) any later version.
+ *  
+ *  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 <stdlib.h>
+#include <stdio.h>
+#include <unistd.h>
+#include <string.h>
+#include <pwd.h>
+#include <libintl.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#define _(text) gettext(text)
+
+int main(int argc, char **argv)
+{
+    return(0);
+}
index 7160668..45aec59 100644 (file)
@@ -231,6 +231,7 @@ clients/gtk2/Makefile
 clients/tty/Makefile
 clients/gnome-trans-applet/Makefile
 clients/gaim/Makefile
+clients/gui-shell/Makefile
 include/Makefile
 include/doldaconnect/Makefile
 doc/Makefile