Logo Search packages:      
Sourcecode: inkscape version File versions

dobinding.cpp File Reference

Detailed Description

This is a simple mechanism to bind Inkscape to Java, and thence to all of the nice things that can be layered upon that.

Authors: Bob Jamison

Copyright (C) 2007-2008 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 3 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

Definition in file dobinding.cpp.

#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <jni.h>
#include <dlfcn.h>
#include <errno.h>
#include "javabind.h"
#include "javabind-private.h"
#include <dom/dom.h>
#include <dom/domimpl.h>

Go to the source code of this file.


namespace  Inkscape
namespace  Inkscape::Bind


struct  Inkscape::Bind::NativeClass


#define EXCEPTION   (getExceptionString(env).c_str())


static void JNICALL Inkscape::Bind::BaseObject_construct (JNIEnv *env, jobject obj)
static void JNICALL Inkscape::Bind::BaseObject_destruct (JNIEnv *env, jobject obj)
static void JNICALL Inkscape::Bind::DOMBase_construct (JNIEnv *env, jobject obj)
static void JNICALL Inkscape::Bind::DOMBase_destruct (JNIEnv *env, jobject obj)
void JNICALL Inkscape::Bind::DOMImplementation_nCreateDocument (JNIEnv *env, jobject obj)
static jlong Inkscape::Bind::getPointer (JNIEnv *env, jobject obj)
static void Inkscape::Bind::setPointer (JNIEnv *env, jobject obj, jlong val)

Generated by  Doxygen 1.6.0   Back to index