summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KCPUInfo.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KCPUInfo.java')
-rw-r--r--kdejava/koala/org/kde/koala/KCPUInfo.java51
1 files changed, 51 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/KCPUInfo.java b/kdejava/koala/org/kde/koala/KCPUInfo.java
new file mode 100644
index 00000000..bfd33d28
--- /dev/null
+++ b/kdejava/koala/org/kde/koala/KCPUInfo.java
@@ -0,0 +1,51 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.koala;
+
+import org.kde.qt.Qt;
+import org.kde.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();
+}