home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Utilities / NewsView 1.0.0 / source / FindDialog.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-22  |  828 b   |  32 lines  |  [TEXT/KAHL]

  1. /* FindDialog.h */
  2.  
  3. #ifndef Included_FindDialog_h
  4. #define Included_FindDialog_h
  5.  
  6. /* FindDialog module depends on */
  7. /* MiscInfo.h */
  8. /* Debug */
  9. /* Audit */
  10. /* Definitions */
  11. /* Screen */
  12. /* EventLoop */
  13. /* SimpleButton */
  14. /* TextEdit */
  15. /* Memory */
  16. /* Menus */
  17. /* Alert */
  18.  
  19. /* to avoid dragging Menus.h into the header */
  20. struct MenuItemType;
  21.  
  22. /* these possible operations can be returned */
  23. typedef enum {eFindCancel, eFindFromStart, eFindAgain, eDontFind} FindOpType;
  24.  
  25. /* present the find dialog, update internal variables, and return the operation to do */
  26. FindOpType        DoFindDialog(char** SearchKey, char** Replace, struct MenuItemType* MCut,
  27.                                 struct MenuItemType* MPaste, struct MenuItemType* MCopy,
  28.                                 struct MenuItemType* MUndo, struct MenuItemType* MSelectAll,
  29.                                 struct MenuItemType* MClear);
  30.  
  31. #endif
  32.