wxMaxima
Loading...
Searching...
No Matches
Data Structures
MaximaSessionInfo.h File Reference

Declares MaximaSessionInfo: what we know about the connected Maxima. More...

#include <wx/string.h>
#include <wx/hashmap.h>
#include <unordered_map>
Include dependency graph for MaximaSessionInfo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  MaximaSessionInfo
 What we know about the Maxima instance we are talking to. More...
 

Detailed Description

Declares MaximaSessionInfo: what we know about the connected Maxima.

Another step of splitting the Configuration god class: the facts wxMaxima learns about the running Maxima instance (its version, architecture and lisp, its directories, whether it is in lisp mode and which operator names it knows) are session state, not settings - they are never persisted and become stale when Maxima restarts. They now live in this class; Configuration owns a MaximaSessionInfo and delegates its existing accessors, so its many dependents are unaffected.