FilenameField.h 426 B

1234567891011121314151617181920212223
  1. #ifndef NDE_FILENAMEFIELD_H
  2. #define NDE_FILENAMEFIELD_H
  3. /*
  4. Mostly the same as StringField
  5. but this implements OS-dependent string comparisons that make sense for the file system
  6. */
  7. #include "nde.h"
  8. #include "NDEString.h"
  9. class FilenameField : public StringField
  10. {
  11. protected:
  12. virtual int Compare(Field *Entry);
  13. virtual Field *Clone(Table *pTable);
  14. public:
  15. FilenameField(CFStringRef Str);
  16. FilenameField();
  17. };
  18. #endif