/***************************************************************************
                            QSessionManager.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.qt;

import java.util.*;
import java.lang.Error;

public class QSessionManager extends QObject  {
	protected QSessionManager(Class dummy){super((Class) null);}

	public native String sessionId();
//	public native int handle();
	public native boolean allowsInteraction();
	public native boolean allowsErrorInteraction();
	public native void release();
	public native void cancel();
	public native void setRestartHint( int arg1);
	public native int restartHint();
	public native void setRestartCommand( String[] arg1);
	public native ArrayList restartCommand();
	public native void setDiscardCommand( String[] arg1);
	public native ArrayList discardCommand();
	public native void setManagerProperty( String name, String value);
	public native void setManagerProperty( String name, String[] value);
	public native boolean isPhase2();
	public native void requestPhase2();
	public static final int RestartIfRunning = 0;
	public static final int RestartAnyway = 1;
	public static final int RestartImmediately = 2;
	public static final int RestartNever = 3;
}
