Adjusting testing cases for current state of OCCT
[occt.git] / samples / java / java / CASCADESamplesJni / PrsMgr_Presentation.java
CommitLineData
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
17package CASCADESamplesJni;
18
19
20
21public class PrsMgr_Presentation extends jcas.Object {
22
23 static {
24 System.loadLibrary("CASCADESamplesJni");
25 }
26
27public PrsMgr_Presentation() {
28}
29
30
31
32public native static void FinalizeValue(long anHID);
33
34public void finalize() {
35 synchronized(myCasLock) {
36 if ( aVirer != 0 ) FinalizeValue(HID);
37 HID = 0;
38 }
39}
40
41}