mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Prototyped command object infrastructure to be used in regression tests of Octave scripts
p4#: 22387
This commit is contained in:
@@ -35,6 +35,7 @@ class RiaSocketServer;
|
||||
class RiaPreferences;
|
||||
class RimReservoirView;
|
||||
class RimProject;
|
||||
class RimCommandObject;
|
||||
|
||||
namespace caf
|
||||
{
|
||||
@@ -133,6 +134,9 @@ public:
|
||||
void setCacheDataObject(const QString& key, const QVariant& dataObject);
|
||||
QVariant cacheDataObject(const QString& key) const;
|
||||
|
||||
void addCommandObject(RimCommandObject* commandObject);
|
||||
void executeCommandObjects();
|
||||
|
||||
private:
|
||||
void onProjectOpenedOrClosed();
|
||||
void setWindowCaptionFromAppState();
|
||||
@@ -168,4 +172,6 @@ private:
|
||||
cvf::ref<cvf::Font> m_standardFont;
|
||||
|
||||
QMap<QString, QVariant> m_sessionCache; // Session cache used to store username/passwords per session
|
||||
|
||||
std::list<RimCommandObject*> m_commandQueue;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user