From c2888f18f47f8078f36c74cf11fbbcb832256c87 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 21 Mar 2001 11:22:57 +0000 Subject: Added enumeration interface from Laurent. --- include/PropSet.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/PropSet.h') diff --git a/include/PropSet.h b/include/PropSet.h index 4cad0eecf..61a4f4252 100644 --- a/include/PropSet.h +++ b/include/PropSet.h @@ -27,6 +27,8 @@ class PropSet { private: enum { hashRoots=31 }; Property *props[hashRoots]; + Property *enumnext; + int enumhash; public: PropSet *superPS; PropSet(); @@ -40,6 +42,8 @@ public: SString GetWild(const char *keybase, const char *filename); SString GetNewExpand(const char *keybase, const char *filename); void Clear(); + bool GetFirst(char **key, char **val); + bool GetNext(char **key, char **val); }; /** -- cgit v1.2.3