home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
tv20os2.zip
/
demos
/
tvedit.h
< prev
next >
Wrap
C/C++ Source or Header
|
1999-05-19
|
1KB
|
52 lines
/*----------------------------------------------------------*/
/* */
/* Turbo Vision 1.0 */
/* Copyright (c) 1991 by Borland International */
/* */
/* Turbo Vision TVEDIT header file */
/*----------------------------------------------------------*/
class TMenuBar;
class TStatusLine;
class TEditWindow;
class TDialog;
#define cmOpen 100
#define cmNew 101
#define cmChangeDrct 102
#define cmDosShell 103
#define cmCalculator 104
#define cmShowClip 105
class TEditorApp : public TApplication
{
public:
TEditorApp();
virtual void handleEvent( TEvent& event );
static TMenuBar *initMenuBar( TRect );
static TStatusLine *initStatusLine( TRect );
virtual void outOfMemory();
private:
TEditWindow *openEditor( const char *fileName, Boolean visible );
void fileOpen();
void fileNew();
void changeDir();
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, ... );