From 179fa413b047bede6e32109e2ce82437c5fb8d34 Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Mon, 16 Jan 2006 02:36:01 +0000 Subject: moving trunk for module inkscape (bzr r1) --- src/extension/script/cpptest.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/extension/script/cpptest.cpp (limited to 'src/extension/script/cpptest.cpp') diff --git a/src/extension/script/cpptest.cpp b/src/extension/script/cpptest.cpp new file mode 100644 index 000000000..e5c9d34de --- /dev/null +++ b/src/extension/script/cpptest.cpp @@ -0,0 +1,22 @@ + +#include + +#include "InkscapeBinding.h" + +void doTest() +{ + Inkscape::Extension::Script::Inkscape *inkscape = + Inkscape::Extension::Script::getInkscape(); + Inkscape::Extension::Script::Desktop *desktop = inkscape->getDesktop(); + Inkscape::Extension::Script::Document *document = desktop->getDocument(); + document->hello(); +} + +int main(int argc, char **argv) +{ + + doTest(); + +} + + -- cgit v1.2.3