diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2006-05-15 15:06:21 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2006-05-15 15:06:21 +0000 |
| commit | 8325c242bbc39df39b5b2260d3e2aac289d8a930 (patch) | |
| tree | 9a910be0c78883d9beec6cece07f7f800e0713ae /src/pedro/pedromain.cpp | |
| parent | fix potential (though currently impossible) crash when spatial mode is used w... (diff) | |
| download | inkscape-8325c242bbc39df39b5b2260d3e2aac289d8a930.tar.gz inkscape-8325c242bbc39df39b5b2260d3e2aac289d8a930.zip | |
Move from the jabber_whiteboard directory to its own, so that it can be updated in parallel.
(bzr r846)
Diffstat (limited to 'src/pedro/pedromain.cpp')
| -rw-r--r-- | src/pedro/pedromain.cpp | 32 |
1 files changed, 32 insertions, 0 deletions
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 <stdio.h> + +#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 <windows.h> + + +extern "C" int __export WINAPI +WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, + char *lpszCmdLine, int nCmdShow) +{ + int ret = main (__argc, __argv); + return ret; +} + +#endif + |
