From 8325c242bbc39df39b5b2260d3e2aac289d8a930 Mon Sep 17 00:00:00 2001 From: Bob Jamison Date: Mon, 15 May 2006 15:06:21 +0000 Subject: Move from the jabber_whiteboard directory to its own, so that it can be updated in parallel. (bzr r846) --- src/pedro/pedromain.cpp | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/pedro/pedromain.cpp (limited to 'src/pedro/pedromain.cpp') diff --git a/src/pedro/pedromain.cpp b/src/pedro/pedromain.cpp new file mode 100644 index 000000000..9cee6d992 --- /dev/null +++ b/src/pedro/pedromain.cpp @@ -0,0 +1,32 @@ +#include + +#include "pedrogui.h" + +int main(int argc, char *argv[]) +{ + Gtk::Main kit(argc, argv); + + Pedro::PedroGui window; + + kit.run(window); + + return 0; +} + + + + +#ifdef __WIN32__ +#include + + +extern "C" int __export WINAPI +WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, + char *lpszCmdLine, int nCmdShow) +{ + int ret = main (__argc, __argv); + return ret; +} + +#endif + -- cgit v1.2.3