00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef PROCESSQUIT_H
00022 #define PROCESSQUIT_H
00023
00024 #ifdef NO_IRISNET
00025 # include <QtCore>
00026 # define IRISNET_EXPORT
00027 #else
00028 # include "irisnetglobal.h"
00029 #endif
00030
00031 #ifndef NO_IRISNET
00032 namespace XMPP {
00033 #endif
00034
00051 class IRISNET_EXPORT ProcessQuit : public QObject
00052 {
00053 Q_OBJECT
00054 public:
00062 static ProcessQuit *instance();
00063
00071 static void reset();
00072
00082 static void cleanup();
00083
00084 signals:
00094 void quit();
00095
00096 private:
00097 class Private;
00098 friend class Private;
00099 Private *d;
00100
00101 ProcessQuit(QObject *parent = 0);
00102 ~ProcessQuit();
00103 };
00104
00105 #ifndef NO_IRISNET
00106 }
00107 #endif
00108
00109 #endif