summaryrefslogtreecommitdiffstats
path: root/src/session.h
diff options
context:
space:
mode:
authorSimon Rettberg2016-03-29 16:10:31 +0200
committerSimon Rettberg2016-03-29 16:10:31 +0200
commit6cacb1191590223af6afab5c13acc3664b72e8e3 (patch)
tree94f3e2b29cc645d27716117ec14b965c82c7d311 /src/session.h
parentdur dur... (diff)
downloadvmchooser2-6cacb1191590223af6afab5c13acc3664b72e8e3.tar.gz
vmchooser2-6cacb1191590223af6afab5c13acc3664b72e8e3.tar.xz
vmchooser2-6cacb1191590223af6afab5c13acc3664b72e8e3.zip
Feature: Show warning for 64bit VMs if no VT-x available
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/session.h b/src/session.h
index 4a9699f..c490d88 100644
--- a/src/session.h
+++ b/src/session.h
@@ -1,6 +1,8 @@
#ifndef VMCHOOSER_SESSION_H_
#define VMCHOOSER_SESSION_H_
+#include <QVariant>
+
class QString;
class QIcon;
@@ -27,6 +29,8 @@ class Session {
virtual QString execCommand() const = 0;
virtual int type() const = 0;
virtual SectionType section() const = 0;
+ virtual bool is64Bit() const { return false; }
+ virtual QVariant backgroundRole() const { return QVariant(); }
virtual bool operator<(const Session& s) const = 0;