/***************************************************************************
                            qt_QSessionManager.h -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, using kalyptus 0.9.
 ***************************************************************************/

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

#ifndef QT_QSESSIONMANAGER
#define QT_QSESSIONMANAGER

#include <qtc/qtc_types.h>

#define QSESSIONMANAGER_RestartIfRunning	0
#define QSESSIONMANAGER_RestartAnyway	1
#define QSESSIONMANAGER_RestartImmediately	2
#define QSESSIONMANAGER_RestartNever	3
qt_QString * qt_QSessionManager_sessionId(qt_QSessionManager* instPointer);
void* qt_QSessionManager_handle(qt_QSessionManager* instPointer);
int qt_QSessionManager_allowsInteraction(qt_QSessionManager* instPointer);
int qt_QSessionManager_allowsErrorInteraction(qt_QSessionManager* instPointer);
void qt_QSessionManager_release(qt_QSessionManager* instPointer);
void qt_QSessionManager_cancel(qt_QSessionManager* instPointer);
void qt_QSessionManager_setRestartHint(qt_QSessionManager* instPointer,int arg1);
int qt_QSessionManager_restartHint(qt_QSessionManager* instPointer);
void qt_QSessionManager_setRestartCommand(qt_QSessionManager* instPointer,qt_QStringList* arg1);
qt_QStringList* qt_QSessionManager_restartCommand(qt_QSessionManager* instPointer);
void qt_QSessionManager_setDiscardCommand(qt_QSessionManager* instPointer,qt_QStringList* arg1);
qt_QStringList* qt_QSessionManager_discardCommand(qt_QSessionManager* instPointer);
void qt_QSessionManager_setManagerProperty(qt_QSessionManager* instPointer,qt_QString * name, qt_QString * value);
void qt_QSessionManager_setManagerProperty1(qt_QSessionManager* instPointer,qt_QString * name, qt_QStringList* value);
int qt_QSessionManager_isPhase2(qt_QSessionManager* instPointer);
void qt_QSessionManager_requestPhase2(qt_QSessionManager* instPointer);

#endif
