diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-09-26 01:02:17 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-09-26 01:02:17 +0200 |
| commit | dea555a6d395e74c20436123a5f3b5bd623ebcf6 (patch) | |
| tree | 4dd96f24249d8647adb9440f03704c4290a62541 /test/test.h | |
| parent | 3cd0685fb3f3222b3e9a2406986274031befeae6 (diff) | |
Move Editor class to test.{cc,h}
Diffstat (limited to 'test/test.h')
| -rw-r--r-- | test/test.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/test.h b/test/test.h index 10113b662..8bcef0604 100644 --- a/test/test.h +++ b/test/test.h @@ -97,6 +97,20 @@ public: }; +class Editor +{ +public: + Editor(boost::filesystem::path path); + ~Editor(); + + void replace(std::string a, std::string b); + +private: + boost::filesystem::path _path; + std::string _content; +}; + + namespace dcp { std::ostream& operator<< (std::ostream& s, dcp::Size i); |
