]>
Commit | Line | Data |
---|---|---|
7fd59977 | 1 | // Java Native Class from Cas.Cade |
2 | // Copyright (C) 1991,1999 by | |
3 | // | |
4 | // MATRA DATAVISION, FRANCE | |
5 | // | |
6 | // This software is furnished in accordance with the terms and conditions | |
7 | // of the contract and with the inclusion of the above copyright notice. | |
8 | // This software or any other copy thereof may not be provided or otherwise | |
9 | // be made available to any other person. No title to an ownership of the | |
10 | // software is hereby transferred. | |
11 | // | |
12 | // At the termination of the contract, the software and all copies of this | |
13 | // software must be deleted. | |
14 | // | |
15 | ||
16 | ||
17 | package SampleViewer3DJni; | |
18 | ||
19 | ||
20 | ||
21 | public class Graphic3d_VertexNC extends SampleViewer3DJni.Graphic3d_VertexN { | |
22 | ||
23 | static { | |
24 | System.loadLibrary("SampleViewer3DJni"); | |
25 | } | |
26 | ||
27 | public Graphic3d_VertexNC() { | |
28 | } | |
29 | ||
30 | ||
31 | ||
32 | public native static void FinalizeValue(long anHID); | |
33 | ||
34 | public void finalize() { | |
35 | synchronized(myCasLock) { | |
36 | if ( aVirer != 0 ) FinalizeValue(HID); | |
37 | HID = 0; | |
38 | } | |
39 | } | |
40 | ||
41 | } |