summaryrefslogtreecommitdiff
path: root/plugins/bladesio1/gui.c
diff options
context:
space:
mode:
authorSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-07-07 13:52:32 +0000
committerSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-07-07 13:52:32 +0000
commit337765356b5fd420d3cab3349caa34eec2f98e65 (patch)
treeac569bb639779ab741be53329c406008b2108c33 /plugins/bladesio1/gui.c
parent2bcdda648da39be8d65bd9c0c96c87861c775c2e (diff)
downloadpcsxr-337765356b5fd420d3cab3349caa34eec2f98e65.tar.gz
Sio1 plugin (dummy).
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@54273 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/bladesio1/gui.c')
-rw-r--r--plugins/bladesio1/gui.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/plugins/bladesio1/gui.c b/plugins/bladesio1/gui.c
new file mode 100644
index 00000000..342d1d55
--- /dev/null
+++ b/plugins/bladesio1/gui.c
@@ -0,0 +1,32 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include <gdk/gdk.h>
+#include <gtk/gtk.h>
+#include <glade/glade.h>
+
+long CFGopen()
+{
+ return 0;
+}
+
+int main( int argc, char *argv[] )
+{
+#ifdef ENABLE_NLS
+ setlocale( LC_ALL, "" );
+ bindtextdomain( GETTEXT_PACKAGE, LOCALE_DIR );
+ bind_textdomain_codeset( GETTEXT_PACKAGE, "UTF-8" );
+ textdomain( GETTEXT_PACKAGE );
+#endif
+
+ gtk_set_locale();
+ gtk_init( &argc, &argv );
+
+ if( !strcmp(argv[1], "open") )
+ {
+ return CFGopen();
+ }
+
+ return 0;
+}