aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-02-09 03:52:20 +0100
committerSven Gothel <[email protected]>2011-02-09 03:52:20 +0100
commiteafc9a55cd9ba31709bc45aebd063ff8c2c7d781 (patch)
tree42a698a104b2fcdb8b2db663eab67265bbb48445 /src
parent9d86a3325899606693ec1d9c42be64dc9f33ac9a (diff)
Move implementation private files from com.jogamp.<module>.impl. to jogamp.<module> (2/2) - edit files
- jogamp.openal -> jogamp.openal This sorts implementation details from the top level, ie skipping the public 'com', allowing a better seperation of public classes and implementation details and also reduces strings. This approach of public/private seperation is also used in the OpenJDK.
Diffstat (limited to 'src')
-rw-r--r--src/java/com/jogamp/openal/ALFactory.java2
-rw-r--r--src/java/jogamp/openal/ALCImpl.java2
-rw-r--r--src/java/jogamp/openal/ALDynamicLibraryBundleInfo.java2
-rw-r--r--src/java/jogamp/openal/Debug.java2
-rw-r--r--src/native/almisc.c8
5 files changed, 8 insertions, 8 deletions
diff --git a/src/java/com/jogamp/openal/ALFactory.java b/src/java/com/jogamp/openal/ALFactory.java
index e7ec774..4c114c8 100644
--- a/src/java/com/jogamp/openal/ALFactory.java
+++ b/src/java/com/jogamp/openal/ALFactory.java
@@ -35,7 +35,7 @@ package com.jogamp.openal;
import com.jogamp.openal.AL;
import com.jogamp.openal.ALC;
-import com.jogamp.openal.impl.*;
+import jogamp.openal.*;
/**
* This class provides factory methods for generating AL and ALC objects.
diff --git a/src/java/jogamp/openal/ALCImpl.java b/src/java/jogamp/openal/ALCImpl.java
index 75fc47d..c5a9b7b 100644
--- a/src/java/jogamp/openal/ALCImpl.java
+++ b/src/java/jogamp/openal/ALCImpl.java
@@ -1,7 +1,7 @@
/*
* Created on Saturday, July 10 2010 17:08
*/
-package com.jogamp.openal.impl;
+package jogamp.openal;
import com.jogamp.common.nio.Buffers;
import com.jogamp.openal.ALException;
diff --git a/src/java/jogamp/openal/ALDynamicLibraryBundleInfo.java b/src/java/jogamp/openal/ALDynamicLibraryBundleInfo.java
index 9d41a69..73e5738 100644
--- a/src/java/jogamp/openal/ALDynamicLibraryBundleInfo.java
+++ b/src/java/jogamp/openal/ALDynamicLibraryBundleInfo.java
@@ -26,7 +26,7 @@
* or implied, of JogAmp Community.
*/
-package com.jogamp.openal.impl;
+package jogamp.openal;
import com.jogamp.common.os.DynamicLibraryBundleInfo;
import java.util.*;
diff --git a/src/java/jogamp/openal/Debug.java b/src/java/jogamp/openal/Debug.java
index be57b70..671aeec 100644
--- a/src/java/jogamp/openal/Debug.java
+++ b/src/java/jogamp/openal/Debug.java
@@ -37,7 +37,7 @@
* and developed by Kenneth Bradley Russell and Christopher John Kline.
*/
-package com.jogamp.openal.impl;
+package jogamp.openal;
import java.security.*;
diff --git a/src/native/almisc.c b/src/native/almisc.c
index 6658f64..b850a9f 100644
--- a/src/native/almisc.c
+++ b/src/native/almisc.c
@@ -23,12 +23,12 @@
/* Java->C glue code:
- * Java package: com.jogamp.openal.impl.ALImpl
+ * Java package: jogamp.openal.ALImpl
* Java method: long dispatch_alGetProcAddressStatic(java.lang.String fname)
* C function: ALproc alGetProcAddress(const ALchar * fname);
*/
JNIEXPORT jlong JNICALL
-Java_com_jogamp_openal_impl_ALImpl_dispatch_1alGetProcAddressStatic(JNIEnv *env, jclass _unused, jstring fname, jlong procAddress) {
+Java_jogamp_openal_ALImpl_dispatch_1alGetProcAddressStatic(JNIEnv *env, jclass _unused, jstring fname, jlong procAddress) {
LPALGETPROCADDRESS ptr_alGetProcAddress;
const char* _strchars_fname = NULL;
ALproc _res;
@@ -50,12 +50,12 @@ Java_com_jogamp_openal_impl_ALImpl_dispatch_1alGetProcAddressStatic(JNIEnv *env,
}
/* Java->C glue code:
- * Java package: com.jogamp.openal.impl.ALCAbstractImpl
+ * Java package: jogamp.openal.ALCAbstractImpl
* Java method: java.nio.ByteBuffer dispatch_alcGetStringImpl(ALCdevice device, int param)
* C function: const ALCchar * alcGetString(ALCdevice * device, ALCenum param);
*/
JNIEXPORT jobject JNICALL
-Java_com_jogamp_openal_impl_ALCImpl_dispatch_1alcGetStringImpl1(JNIEnv *env, jobject _unused, jobject device, jint param, jlong procAddress) {
+Java_jogamp_openal_ALCImpl_dispatch_1alcGetStringImpl1(JNIEnv *env, jobject _unused, jobject device, jint param, jlong procAddress) {
LPALCGETSTRING ptr_alcGetString;
ALCdevice * _device_ptr = NULL;
const ALCchar * _res;