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.

47 lines
879 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_TFindDialogRec ) && !defined( __TFindDialogRec )
  12. #define __TFindDialogRec
  13. struct TFindDialogRec
  14. {
  15. TFindDialogRec( const char *str, ushort flgs )
  16. {
  17. strcpy( find, str );
  18. options = flgs;
  19. }
  20. char find[maxFindStrLen];
  21. ushort options;
  22. };
  23. #endif // Uses_TFindDialogRec
  24. #if defined( Uses_TReplaceDialogRec ) && !defined( __TReplaceDialogRec )
  25. #define __TReplaceDialogRec
  26. struct TReplaceDialogRec
  27. {
  28. TReplaceDialogRec( const char *str, const char *rep, ushort flgs )
  29. {
  30. strcpy( find, str );
  31. strcpy( replace, rep );
  32. options = flgs;
  33. }
  34. char find[maxFindStrLen];
  35. char replace[maxReplaceStrLen];
  36. ushort options;
  37. };
  38. #endif // Uses_TReplaceDialogRec