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
57 lines
1.6 KiB
/***************************************************************/
|
|
/* */
|
|
/* this header-file was modified by Robert Hoehne */
|
|
/* to use it with DJ's port of gcc */
|
|
/* */
|
|
/***************************************************************/
|
|
/*----------------------------------------------------------*/
|
|
/* */
|
|
/* Turbo Vision 1.0 */
|
|
/* Copyright (c) 1991 by Borland International */
|
|
/* */
|
|
/* Turbo Vision TVEDIT header file */
|
|
/*----------------------------------------------------------*/
|
|
|
|
#if defined( Uses_TEditorApp ) && !defined( __TEditorApp )
|
|
#define __TEditorApp
|
|
|
|
class TMenuBar;
|
|
class TStatusLine;
|
|
class TEditWindow;
|
|
class TDialog;
|
|
|
|
class TEditorApp : public TApplication
|
|
{
|
|
|
|
public:
|
|
|
|
TEditorApp();
|
|
|
|
virtual void handleEvent( TEvent& event );
|
|
static TMenuBar *initMenuBar( TRect );
|
|
static TStatusLine *initStatusLine( TRect );
|
|
virtual void outOfMemory();
|
|
|
|
// private:
|
|
|
|
virtual TEditWindow *openEditor( const char *fileName, Boolean visible );
|
|
|
|
protected:
|
|
|
|
virtual void fileOpen();
|
|
void fileNew();
|
|
void changeDir();
|
|
virtual void dosShell();
|
|
void showClip();
|
|
void tile();
|
|
void cascade();
|
|
};
|
|
|
|
extern TEditWindow *clipWindow;
|
|
|
|
ushort execDialog( TDialog *d, void *data );
|
|
TDialog *createFindDialog();
|
|
TDialog *createReplaceDialog();
|
|
ushort doEditDialog( int dialog, ... );
|
|
|
|
#endif
|