From 10021c40317d0b445e60aa9582bbe337ef0a04a1 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 6 Aug 2005 06:16:59 +0000 Subject: Allow properties to differentiate between different case file names on GTK+ so that .C can be treated as c++ and .c as C. --- 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 ef1faffba..e38de7dc4 100644 --- a/include/PropSet.h +++ b/include/PropSet.h @@ -29,6 +29,7 @@ protected: Property *props[hashRoots]; Property *enumnext; int enumhash; + static bool caseSensitiveFilenames; static unsigned int HashString(const char *s, size_t len) { unsigned int ret = 0; while (len--) { @@ -58,6 +59,9 @@ public: char *ToString(); // Caller must delete[] the return value bool GetFirst(char **key, char **val); bool GetNext(char **key, char **val); + static void SetCaseSensitiveFilenames(bool caseSensitiveFilenames_) { + caseSensitiveFilenames = caseSensitiveFilenames_; + } private: // copy-value semantics not implemented -- cgit v1.2.3