diff options
Diffstat (limited to 'src/vsession.h')
-rw-r--r-- | src/vsession.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/vsession.h b/src/vsession.h index 6c48ce4..ad81833 100644 --- a/src/vsession.h +++ b/src/vsession.h @@ -8,17 +8,10 @@ #include "session.h" #include "globals.h" -enum ImgType { - VMWARE, - VBOX, - OTHER -}; - class VSession : public Session { public: bool init(const QDomElement& xml); - ImgType imgtype() const; bool isActive() const; bool isLocked() const; bool isValid() const; @@ -37,6 +30,10 @@ class VSession : public Session { return getAttribute("allow_edit").toInt() != 0; } + QString virtualizer() const { + return getAttribute(QLatin1String("virtualmachine")); + } + QString shortDescription() const { return getAttribute("short_description"); } @@ -90,6 +87,7 @@ class VSession : public Session { static QList<Session*> readXmlFile(const QString& filepath); private: + QList<QString> keywords_; QDomDocument doc_; QDomElement eintrag_; |