summaryrefslogtreecommitdiffstats
path: root/src/vsession.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vsession.h')
-rw-r--r--src/vsession.h5
1 files changed, 5 insertions, 0 deletions
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");
}