diff options
author | schnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f> | 2005-05-28 12:04:33 +0000 |
---|---|---|
committer | schnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f> | 2005-05-28 12:04:33 +0000 |
commit | 5555ec71ef4be69a2f4425554d030829a33baac2 (patch) | |
tree | 9f3052433dbd2d8e478974e8ccdf682150ca284e /src/file.hh | |
parent | d41baa0734e66bfe72ffe848ac5fa2fa69ce68f5 (diff) |
Make announcing to the portal work
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@17 83718e91-0e4f-0410-abf4-91180603181f
Diffstat (limited to 'src/file.hh')
-rw-r--r-- | src/file.hh | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/src/file.hh b/src/file.hh index 17cc1ac..3c3c0ac 100644 --- a/src/file.hh +++ b/src/file.hh @@ -17,15 +17,33 @@ class file : public storage ofstream fil; public: - file (char const * id); + + file (char const * id, + enum state st); virtual ~ file (); -protected: + virtual void + store (char const * key, + int value); + + virtual void + store (char const * key, + double value); virtual void + store (char const * key, + char const * value); + +private: + + void write (std::string const & msg); + + std::string + clean (std::string const & txt) + const; }; |