summaryrefslogtreecommitdiffstats
path: root/src/xsession.h
diff options
context:
space:
mode:
authorJan Darmochwal2010-10-06 17:47:13 +0200
committerJan Darmochwal2010-10-06 17:47:13 +0200
commit93c62a6c376ec919cfaa342620d9f950c7091813 (patch)
treefe6a0d69dedb890327f0932e979a3c9da0830c0c /src/xsession.h
parentRemove debug printfs (diff)
downloadvmchooser-93c62a6c376ec919cfaa342620d9f950c7091813.tar.gz
vmchooser-93c62a6c376ec919cfaa342620d9f950c7091813.tar.xz
vmchooser-93c62a6c376ec919cfaa342620d9f950c7091813.zip
XSession init from single .desktop-file
xsession.init(file) can initialize an XSession from a single .desktop file
Diffstat (limited to 'src/xsession.h')
-rw-r--r--src/xsession.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xsession.h b/src/xsession.h
index aac80fd..50563c2 100644
--- a/src/xsession.h
+++ b/src/xsession.h
@@ -12,8 +12,10 @@
class XSession : public Session {
public:
- bool init(const QString& name, const QString& exec,
+ void init(const QString& name, const QString& exec,
const QString& comment, const QString& icon);
+ bool init(const QString& filename);
+
bool isActive() const;
bool isLocked() const;