mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2025-12-18 15:17:42 +03:00
15 lines
315 B
C++
15 lines
315 B
C++
#pragma once
|
|
#include <iosfwd>
|
|
#include <string>
|
|
|
|
class CrossPointState {
|
|
void serialize(std::ostream& os) const;
|
|
static CrossPointState* deserialize(std::istream& is);
|
|
|
|
public:
|
|
std::string openEpubPath;
|
|
~CrossPointState() = default;
|
|
void saveToFile() const;
|
|
static CrossPointState* loadFromFile();
|
|
};
|