From aeffac3139c13270c97d1ef85576ac1a7f7902a6 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 31 Mar 2017 12:24:01 +0200 Subject: Add support for XML entry --- src/vsession.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/vsession.h') diff --git a/src/vsession.h b/src/vsession.h index 2b00206..2ded3ae 100644 --- a/src/vsession.h +++ b/src/vsession.h @@ -23,6 +23,7 @@ class VSession : public Session { bool isActive() const; bool isLocked() const; bool isValid() const; + int priority() const; bool isTemplate() const { @@ -33,6 +34,10 @@ class VSession : public Session { return getAttribute("for_location").toInt() != 0; } + bool canEdit() const { + return getAttribute("allow_edit").toInt() != 0; + } + QString shortDescription() const { return getAttribute("short_description"); } -- cgit v1.2.3-55-g7522