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.

57 lines
1.6 KiB

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /***************************************************************/
  2. /* */
  3. /* this header-file was modified by Robert Hoehne */
  4. /* to use it with DJ's port of gcc */
  5. /* */
  6. /***************************************************************/
  7. /*----------------------------------------------------------*/
  8. /* */
  9. /* Turbo Vision 1.0 */
  10. /* Copyright (c) 1991 by Borland International */
  11. /* */
  12. /* Turbo Vision TVEDIT header file */
  13. /*----------------------------------------------------------*/
  14. #if defined( Uses_TEditorApp ) && !defined( __TEditorApp )
  15. #define __TEditorApp
  16. class TMenuBar;
  17. class TStatusLine;
  18. class TEditWindow;
  19. class TDialog;
  20. class TEditorApp : public TApplication
  21. {
  22. public:
  23. TEditorApp();
  24. virtual void handleEvent( TEvent& event );
  25. static TMenuBar *initMenuBar( TRect );
  26. static TStatusLine *initStatusLine( TRect );
  27. virtual void outOfMemory();
  28. // private:
  29. virtual TEditWindow *openEditor( const char *fileName, Boolean visible );
  30. protected:
  31. virtual void fileOpen();
  32. void fileNew();
  33. void changeDir();
  34. virtual void dosShell();
  35. void showClip();
  36. void tile();
  37. void cascade();
  38. };
  39. extern TEditWindow *clipWindow;
  40. ushort execDialog( TDialog *d, void *data );
  41. TDialog *createFindDialog();
  42. TDialog *createReplaceDialog();
  43. ushort doEditDialog( int dialog, ... );
  44. #endif