summaryrefslogtreecommitdiffstats
path: root/src/session.h
diff options
context:
space:
mode:
authorJohann Latocha2011-03-01 23:03:20 +0100
committerJohann Latocha2011-03-01 23:03:20 +0100
commitb796bbc803613c3061b08b6c3c2a9883724f4684 (patch)
tree210892cb3ab8791b019000d4383de8f351edd841 /src/session.h
parent[Fix] Startup problems with xsession (Quick&Dirty) (diff)
downloadvmchooser-b796bbc803613c3061b08b6c3c2a9883724f4684.tar.gz
vmchooser-b796bbc803613c3061b08b6c3c2a9883724f4684.tar.xz
vmchooser-b796bbc803613c3061b08b6c3c2a9883724f4684.zip
1) cmd-switch to use a window manager
2) openslx logo added
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/session.h b/src/session.h
index 2033ba7..b031991 100644
--- a/src/session.h
+++ b/src/session.h
@@ -14,7 +14,12 @@ class Session {
virtual QString description() const = 0;
virtual QString icon() const = 0;
virtual bool run() const = 0;
+ virtual int type() const = 0;
virtual bool operator<(const Session& s) const = 0;
+
+ const static int XSESSION = 0;
+ const static int VSESSION = 1;
+
};
#endif /*VMCHOOSER_SESSION_H_*/