diff options
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/TDEProcessController.java')
-rw-r--r-- | tdejava/koala/org/trinitydesktop/koala/TDEProcessController.java | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/TDEProcessController.java b/tdejava/koala/org/trinitydesktop/koala/TDEProcessController.java new file mode 100644 index 00000000..1612e04b --- /dev/null +++ b/tdejava/koala/org/trinitydesktop/koala/TDEProcessController.java @@ -0,0 +1,79 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.koala; + +import org.trinitydesktop.qt.Qt; +import org.trinitydesktop.qt.TQMetaObject; +import org.trinitydesktop.qt.QtSupport; +import org.trinitydesktop.qt.TQObject; + +/** + + A class for internal use by TDEProcess only. -- Exactly one instance + of this class is created by TDEApplication. + This class takes care of the actual (UNX) signal handling. + @author Christian Czezatke <e9025461@student.tuwien.ac.at> + + @short Used internally by TDEProcess. + +*/ +public class TDEProcessController extends TQObject { + protected TDEProcessController(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + /** + Wait for any process to exit and handle their exit without + starting an event loop. + This function may cause TDEProcess to emit any of its signals. + @param timeout the timeout in seconds. -1 means no timeout. + @return true if a process exited, false + if no process exited within <code>timeout</code> seconds. + + @short Wait for any process to exit and handle their exit without starting an event loop. + */ + public native boolean waitForProcessExit(int timeout); + /** + Call this function to defer processing of the data that became available + on notifierFd(). + @short Call this function to defer processing of the data that became available on notifierFd(). + */ + public native void unscheduleCheck(); + /** + This function <b>must</b> be called at some point after calling + unscheduleCheck(). + @short This function @em must be called at some point after calling unscheduleCheck(). + */ + public native void rescheduleCheck(); + public native int notifierFd(); + /** + @short + */ + public native void addTDEProcess(TDEProcess arg1); + /** + @short + */ + public native void removeTDEProcess(TDEProcess arg1); + /** + @short + */ + public native void addProcess(int pid); + /** + Create an instance if none exists yet. + Called by TDEApplication.TDEApplication() + @short Create an instance if none exists yet. + */ + public static native void ref(); + /** + Destroy the instance if one exists and it is not referenced any more. + Called by TDEApplication.~TDEApplication() + @short Destroy the instance if one exists and it is not referenced any more. + */ + public static native void deref(); + /** + Automatically called upon SIGCHLD. Never call it directly. + If your application (or some library it uses) redirects SIGCHLD, + the new signal handler (and only it) should call the old handler + returned by sigaction(). + @short Automatically called upon SIGCHLD. + */ + public static native void theSigCHLDHandler(int signal); +} |