]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/stc/scintilla/include/PropSet.h
Typos fixed and further clarification of the Python situation on Panther
[wxWidgets.git] / contrib / src / stc / scintilla / include / PropSet.h
index 1a7e2f166536cfb248906cd498759354430f5a51..20ac5f774ac3ed8fdacf5d9b8ad01cea1295f5b4 100644 (file)
@@ -24,11 +24,21 @@ struct Property {
 /**
  */
 class PropSet {
 /**
  */
 class PropSet {
-private:
+protected:
        enum { hashRoots=31 };
        Property *props[hashRoots];
        Property *enumnext;
        int enumhash;
        enum { hashRoots=31 };
        Property *props[hashRoots];
        Property *enumnext;
        int enumhash;
+       static unsigned int HashString(const char *s, size_t len) {
+               unsigned int ret = 0;
+               while (len--) {
+                       ret <<= 4;
+                       ret ^= *s;
+                       s++;
+               }
+               return ret;
+       }
+       static bool IncludesVar(const char *value, const char *key);
 public:
        PropSet *superPS;
        PropSet();
 public:
        PropSet *superPS;
        PropSet();