/* * Copyright (c) 2010,2011 - RZ Uni Freiburg * Copyright (c) 2010,2011 - OpenSLX Project * * This program/file is free software distributed under the GPL version 2. * See http://gpl.openslx.org/ * * If you have any feedback please consult http://feedback.openslx.org/ and * send your feedback to feedback@openslx.org * * General information about OpenSLX - libChooser can be found under * http://openslx.org * */ #ifndef VMCHOOSER_SESSION_H_ #define VMCHOOSER_SESSION_H_ class QString; class Session { public: virtual ~Session() {} virtual bool isActive() const = 0; virtual bool isLocked() const = 0; virtual bool isValid() const = 0; virtual int priority() const = 0; virtual QString shortDescription() const = 0; virtual QString description() const = 0; virtual QString icon() const = 0; virtual QString title() const = 0; virtual QString screenshot() const = 0; virtual QString os() const = 0; virtual QString emulator() const = 0; virtual QString author() const = 0; virtual QString creationDate () const = 0; virtual QString changeDate() const = 0; virtual bool run() const = 0; virtual int type() const = 0; virtual bool operator<(const Session& s) const = 0; const static int XSESSION = 0; const static int VSESSION = 1; }; #endif /*VMCHOOSER_SESSION_H_*/