|
FOSSredder 0.5.0
|
Loads and saves the aggregate application state through SQLite repositories. More...
#include <WorkspaceStateStore.h>
Public Member Functions | |
| WorkspaceStateStore (std::shared_ptr< SqliteDb > db) | |
| Creates a state store over an existing SQLite database connection wrapper. | |
| core::application::workspace::WorkspaceSessionState | load () |
| Loads the complete persisted application state from the database. | |
| core::domain::DeletionImpact | save (const core::application::workspace::WorkspaceSessionState &document) |
| Saves the complete application state and reports deletion impact details. | |
Loads and saves the aggregate application state through SQLite repositories.
Definition at line 20 of file WorkspaceStateStore.h.
|
explicit |
Creates a state store over an existing SQLite database connection wrapper.
Definition at line 299 of file WorkspaceStateStore.cpp.
| core::application::workspace::WorkspaceSessionState WorkspaceStateStore::load | ( | ) |
Loads the complete persisted application state from the database.
Definition at line 307 of file WorkspaceStateStore.cpp.

| core::domain::DeletionImpact WorkspaceStateStore::save | ( | const core::application::workspace::WorkspaceSessionState & | document | ) |
Saves the complete application state and reports deletion impact details.
Definition at line 313 of file WorkspaceStateStore.cpp.
