You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
842 B

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /*
  2. * Turbo Vision - Version 2.0
  3. *
  4. * Copyright (c) 1994 by Borland International
  5. * All Rights Reserved.
  6. *
  7. Modified by Robert H�hne to be used for RHIDE.
  8. *
  9. *
  10. */
  11. #if defined( Uses_TResourceFile ) && !defined( __TResourceFile )
  12. #define __TResourceFile
  13. class TResourceCollection;
  14. class fpstream;
  15. class TResourceFile: public TObject
  16. {
  17. public:
  18. TResourceFile( fpstream *aStream );
  19. ~TResourceFile();
  20. short count();
  21. void remove( const char *key );
  22. void flush();
  23. void *get( const char *key );
  24. const char *keyAt( short i );
  25. void put( TStreamable *item, const char *key );
  26. fpstream *switchTo( fpstream *aStream, Boolean pack );
  27. protected:
  28. fpstream *stream;
  29. Boolean modified;
  30. long basePos;
  31. long indexPos;
  32. TResourceCollection *index;
  33. };
  34. #endif // Uses_TResourceFile