~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/bind/java/org/inkscape/cmn/BaseObject.java

  • Committer: ishmal
  • Date: 2008-03-08 22:50:44 UTC
  • Revision ID: ishmal@users.sourceforge.net-20080308225044-8uoavse4zlq2lu7w
First commit for java binding

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * This is a simple mechanism to bind Inkscape to Java, and thence
 
3
 * to all of the nice things that can be layered upon that.
 
4
 *
 
5
 * Authors:
 
6
 *   Bob Jamison
 
7
 *
 
8
 * Copyright (C) 2007-2008 Bob Jamison
 
9
 *
 
10
 *  This library is free software; you can redistribute it and/or
 
11
 *  modify it under the terms of the GNU Lesser General Public
 
12
 *  License as published by the Free Software Foundation; either
 
13
 *  version 2.1 of the License, or (at your option) any later version.
 
14
 *
 
15
 *  This library is distributed in the hope that it will be useful,
 
16
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
18
 *  Lesser General Public License for more details.
 
19
 *
 
20
 *  You should have received a copy of the GNU Lesser General Public
 
21
 *  License along with this library; if not, write to the Free Software
 
22
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
23
 */
 
24
 
 
25
package org.inkscape.cmn;
 
26
 
 
27
public class BaseObject
 
28
{
 
29
 
 
30
private long _pointer;
 
31
 
 
32
protected native void construct();
 
33
 
 
34
protected native void destruct();
 
35
 
 
36
public BaseObject()
 
37
{
 
38
    construct();
 
39
}
 
40
 
 
41
}