diff options
author | schnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f> | 2005-05-27 10:49:27 +0000 |
---|---|---|
committer | schnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f> | 2005-05-27 10:49:27 +0000 |
commit | f7e4d7ae9de31669bcb700e02bba9e71c4c959e5 (patch) | |
tree | 6f9c455fca76e17a7750cb13b4b46616e0288f50 /src/storage.hh | |
parent | 3c42753983e5094afabe023e956ca30417e5d7df (diff) |
Store the source tarballs into a subdirectory to remove clutter.
Restructure the announcing code so that there can be multiple announce
targets.
"Announce" to a file in the output directory by default.
Also announce the list of active thorns and all parameter values.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@14 83718e91-0e4f-0410-abf4-91180603181f
Diffstat (limited to 'src/storage.hh')
-rw-r--r-- | src/storage.hh | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/storage.hh b/src/storage.hh new file mode 100644 index 0000000..ce8a6e7 --- /dev/null +++ b/src/storage.hh @@ -0,0 +1,39 @@ +// $Header$ + + + +#ifndef STORAGE_HH +#define STORAGE_HH + + + +class storage +{ +public: + + virtual + ~ storage (); + + virtual void + store (char const * key, + int value); + + virtual void + store (char const * key, + char const * value); + +protected: + + virtual void + write (std::string const & msg) + = 0; + + virtual std::string + clean (std::string const & txt) + const; + +}; + + + +#endif // ifndef STORAGE_HH |