summaryrefslogtreecommitdiff
path: root/lib/common/ExcludeList.h
diff options
context:
space:
mode:
authorBen Summers <ben@fluffy.co.uk>2006-01-30 20:04:53 +0000
committerBen Summers <ben@fluffy.co.uk>2006-01-30 20:04:53 +0000
commitd0418fb869e5a95022888b44fe67a31f08986d61 (patch)
tree57cc131b68cbb0685adacc7f1ac4a1ad41e11b04 /lib/common/ExcludeList.h
parent9fff72211207eda582e10f6bf5294bfa61cc40ed (diff)
Merge chris/bb-save-state, resolving conflicts
Diffstat (limited to 'lib/common/ExcludeList.h')
-rw-r--r--lib/common/ExcludeList.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/common/ExcludeList.h b/lib/common/ExcludeList.h
index 5324d226..720b6788 100644
--- a/lib/common/ExcludeList.h
+++ b/lib/common/ExcludeList.h
@@ -19,6 +19,8 @@
typedef int regex_t;
#endif
+class Archive;
+
// --------------------------------------------------------------------------
//
// Class
@@ -33,6 +35,9 @@ public:
ExcludeList();
~ExcludeList();
+ void Deserialize(Archive & rArchive);
+ void Serialize(Archive & rArchive) const;
+
void AddDefiniteEntries(const std::string &rEntries);
void AddRegexEntries(const std::string &rEntries);
@@ -55,6 +60,7 @@ private:
std::set<std::string> mDefinite;
#ifdef HAVE_REGEX_H
std::vector<regex_t *> mRegex;
+ std::vector<std::string> mRegexStr; // save original regular expression string-based source for Serialize
#endif
// For exceptions to the excludes