summaryrefslogtreecommitdiffstats
path: root/src/pedro/pedromain.cpp
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2007-03-18 23:50:32 +0000
committerishmal <ishmal@users.sourceforge.net>2007-03-18 23:50:32 +0000
commit41b3ef76820b799761ee2ea4cd103ff9b5d42489 (patch)
tree125ccf29d9392e14ddf7205226a8dc17b9fa37c6 /src/pedro/pedromain.cpp
parentcorrect intersection since we allow empty rects again (diff)
downloadinkscape-41b3ef76820b799761ee2ea4cd103ff9b5d42489.tar.gz
inkscape-41b3ef76820b799761ee2ea4cd103ff9b5d42489.zip
Update pedrogui stuff and makefile. Add placeholder for alternate test framework.
(bzr r2705)
Diffstat (limited to 'src/pedro/pedromain.cpp')
-rw-r--r--src/pedro/pedromain.cpp64
1 files changed, 63 insertions, 1 deletions
diff --git a/src/pedro/pedromain.cpp b/src/pedro/pedromain.cpp
index 9cee6d992..60322f718 100644
--- a/src/pedro/pedromain.cpp
+++ b/src/pedro/pedromain.cpp
@@ -1,5 +1,57 @@
+/*
+ * Implementation the Pedro mini-XMPP client
+ *
+ * Authors:
+ * Bob Jamison
+ *
+ * Copyright (C) 2005-2007 Bob Jamison
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
#include <stdio.h>
+
+
+
+//#######################################################################
+//# G E C K O (xulrunner)
+//#######################################################################
+
+#ifdef GECKO_EMBED
+
+
+#include "geckoembed.h"
+
+int main(int argc, char *argv[])
+{
+ GeckoEmbed embedder;
+
+ embedder.run();
+
+ return 0;
+}
+
+
+//#######################################################################
+//# G T K M M (pedrogui)
+//#######################################################################
+#else /* NOT GECKO_EMBED */
+
+
+
#include "pedrogui.h"
int main(int argc, char *argv[])
@@ -15,11 +67,15 @@ int main(int argc, char *argv[])
+#endif /* GECKO_EMBED */
+
+
+
+
#ifdef __WIN32__
#include <windows.h>
-
extern "C" int __export WINAPI
WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
char *lpszCmdLine, int nCmdShow)
@@ -30,3 +86,9 @@ WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
#endif
+
+
+//########################################################################
+//# E N D O F F I L E
+//########################################################################
+