summaryrefslogtreecommitdiffstats
path: root/tdmlib/dmctl.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-18 10:22:48 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-18 10:22:48 -0500
commit1eb5bc816598318458e3a6459663af103a46094b (patch)
tree145e8ec65da86972a2fcf2f25ff898f1f29009a0 /tdmlib/dmctl.h
parentd41051b3a2e2440f8648a8b30bc0e4b3524d3f13 (diff)
downloadtdebase-1eb5bc816598318458e3a6459663af103a46094b.tar.gz
tdebase-1eb5bc816598318458e3a6459663af103a46094b.zip
Beautify logout process
Diffstat (limited to 'tdmlib/dmctl.h')
-rw-r--r--tdmlib/dmctl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tdmlib/dmctl.h b/tdmlib/dmctl.h
index 4fdb8fb5b..376a9ddd7 100644
--- a/tdmlib/dmctl.h
+++ b/tdmlib/dmctl.h
@@ -39,6 +39,8 @@ public:
DM();
~DM();
+ enum { Unknown, NoDM, NewTDM, OldTDM, GDM };
+
bool canShutdown();
void shutdown( TDEApplication::ShutdownType shutdownType,
TDEApplication::ShutdownMode shutdownMode,
@@ -58,6 +60,8 @@ public:
static TQString sess2Str( const SessEnt &se );
static void sess2Str2( const SessEnt &se, TQString &user, TQString &loc );
+ int type();
+
private:
int fd;
@@ -86,6 +90,8 @@ public:
bool bootOptions( TQStringList &opts, int &dflt, int &curr );
+ int type() { return NoDM }
+
#endif // Q_WS_X11
}; // class DM