diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-01-08 20:06:00 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-01-08 20:06:00 +0100 |
commit | 636f509299122d02087c6fd62e1e4a46dbd22026 (patch) | |
tree | 70e43efceeb5b00e7f19cdac8da44928bd2fb459 /tdejava/koala/org/trinitydesktop/koala/KCPUInfo.java | |
parent | 719b61750c08343f530068ed4127623aeac71cf0 (diff) | |
download | tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.tar.gz tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.zip |
Rename many classes to avoid conflicts with KDE
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/KCPUInfo.java')
-rw-r--r-- | tdejava/koala/org/trinitydesktop/koala/KCPUInfo.java | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/KCPUInfo.java b/tdejava/koala/org/trinitydesktop/koala/KCPUInfo.java new file mode 100644 index 00000000..eadfd85e --- /dev/null +++ b/tdejava/koala/org/trinitydesktop/koala/KCPUInfo.java @@ -0,0 +1,51 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.koala; + +import org.trinitydesktop.qt.Qt; +import org.trinitydesktop.qt.QtSupport; + +/** + + This class provides a means for applications to obtain information at + runtime about processor support for certain architecture extensions, + such as MMX, SSE, 3DNow and AltiVec. + @short This class provides a means for applications to obtain information at runtime about processor support for certain architecture extensions, such as MMX, SSE, 3DNow and AltiVec. + +*/ +public class KCPUInfo implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected KCPUInfo(Class dummy){} + + /** + This enum contains the list of architecture extensions you + can query. + @short This enum contains the list of architecture extensions you can query. + */ + public static final int IntelMMX = 1<<0; + public static final int IntelSSE = 1<<1; + public static final int IntelSSE2 = 1<<2; + public static final int AMD3DNOW = 1<<3; + public static final int AltiVec = 1<<4; + + public KCPUInfo() { + newKCPUInfo(); + } + private native void newKCPUInfo(); + /** + Returns true if the processor supports <code>extension</code>, + and false otherwise. + @param extension the feature to query. + @return If true, the processor supports <code>extension.</code> + + @short Returns true if the processor supports <code>extension</code>, and false otherwise. + @see Extensions + */ + public static native boolean haveExtension(int extension); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} |