//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;

/**

 There are two classes that specifies the protocol between application
 (TDEIO.Job) and tdeioslave. SlaveInterface is the class to use on the application
 end, SlaveBase is the one to use on the slave end.
 A call to foo() results in a call to slotFoo() on the other end.
  See {@link SlaveInterfaceSignals} for signals emitted by SlaveInterface
		@short    There are two classes that specifies the protocol between application  (TDEIO.Job) and tdeioslave.

*/
public class SlaveInterface extends TQObject  {
	protected SlaveInterface(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public native void setConnection(Connection connection);
	public native Connection connection();
	public native void setProgressId(int id);
	public native int progressId();
	/**	 Send our answer to the MSG_RESUME (canResume) request
		 (to tell the "put" job whether to resume or not)
		     		@short   Send our answer to the MSG_RESUME (canResume) request  (to tell the "put" job whether to resume or not)
	*/
	public native void sendResumeAnswer(boolean resume);
	public native void setOffset(long offset);
	public native long offset();
}
