]>
Commit | Line | Data |
---|---|---|
d8e33fed JB |
1 | --- imageworks-OpenColorIO-2b12063/src/jniglue/org/OpenColorIO/EnvironmentMode.java.orig 1970-01-01 01:00:00.000000000 +0100 |
2 | +++ imageworks-OpenColorIO-2b12063/src/jniglue/org/OpenColorIO/EnvironmentMode.java 2013-10-09 00:59:34.000000000 +0200 | |
3 | @@ -0,0 +1,44 @@ | |
4 | +/* | |
5 | +Copyright (c) 2003-2010 Sony Pictures Imageworks Inc., et al. | |
6 | +All Rights Reserved. | |
7 | + | |
8 | +Redistribution and use in source and binary forms, with or without | |
9 | +modification, are permitted provided that the following conditions are | |
10 | +met: | |
11 | +* Redistributions of source code must retain the above copyright | |
12 | + notice, this list of conditions and the following disclaimer. | |
13 | +* Redistributions in binary form must reproduce the above copyright | |
14 | + notice, this list of conditions and the following disclaimer in the | |
15 | + documentation and/or other materials provided with the distribution. | |
16 | +* Neither the name of Sony Pictures Imageworks nor the names of its | |
17 | + contributors may be used to endorse or promote products derived from | |
18 | + this software without specific prior written permission. | |
19 | +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
20 | +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
21 | +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
22 | +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
23 | +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
24 | +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
25 | +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
26 | +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
27 | +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
28 | +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
29 | +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
30 | +*/ | |
31 | + | |
32 | +package org.OpenColorIO; | |
33 | +import org.OpenColorIO.*; | |
34 | + | |
35 | +public class EnvironmentMode extends LoadLibrary | |
36 | +{ | |
37 | + private final int m_enum; | |
38 | + protected EnvironmentMode(int type) { super(); m_enum = type; } | |
39 | + public native String toString(); | |
40 | + public native boolean equals(Object obj); | |
41 | + public static final EnvironmentMode | |
42 | + ENV_ENVIRONMENT_UNKNOWN = new EnvironmentMode(0); | |
43 | + public static final EnvironmentMode | |
44 | + ENV_ENVIRONMENT_LOAD_PREDEFINED = new EnvironmentMode(1); | |
45 | + public static final EnvironmentMode | |
46 | + ENV_ENVIRONMENT_LOAD_ALL = new EnvironmentMode(2); | |
47 | +} |