Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Classes | Namespaces | Defines | Functions | Variables

dobinding.cpp File Reference

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

#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>
Include dependency graph for dobinding.cpp:

Go to the source code of this file.

Classes

struct  Inkscape::Bind::NativeClass

Namespaces

namespace  Inkscape
 

Main Inkscape namespace.


Defines

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

Functions

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)

Variables

static jmethodID Inkscape::Bind::_getPointer_id = NULL
static jmethodID Inkscape::Bind::_setPointer_id = NULL
static NativeClass * Inkscape::Bind::allClasses []
static NativeClass Inkscape::Bind::nc_BaseObject
static NativeClass Inkscape::Bind::nc_DOMBase
static NativeClass Inkscape::Bind::nc_DOMImplementation
static JNINativeMethod Inkscape::Bind::nm_BaseObject []
static JNINativeMethod Inkscape::Bind::nm_DOMBase []
static JNINativeMethod Inkscape::Bind::nm_DOMImplementation []

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.


Generated by  Doxygen 1.6.0   Back to index