diff options
author | Jan Darmochwal | 2010-10-06 17:47:13 +0200 |
---|---|---|
committer | Jan Darmochwal | 2010-10-06 17:47:13 +0200 |
commit | 93c62a6c376ec919cfaa342620d9f950c7091813 (patch) | |
tree | fe6a0d69dedb890327f0932e979a3c9da0830c0c /src/xsession.h | |
parent | Remove debug printfs (diff) | |
download | vmchooser-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.h | 4 |
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; |