#if !defined(__leowl_2e_h)// Sentry, use file only if it's not already included.
#define __leowl_2e_h

/*  Project leowl_2
    xor@frognet.net
    Copyright © 1996. Andrey B. Yastrebov. All Rights Reserved.

    SUBSYSTEM:    leowl_2.exe Application
    FILE:         leowl_2e.h
    AUTHOR:       Andrey B. Yastrebov


    OVERVIEW
    ========
    Class definition for leowl_2Edit (TEditFile).
*/


#include <owl\owlpch.h>
#pragma hdrstop

#define LEDIT_NO_VIEW
#include "leowl.h"
#include "leowl_2.rh"

//{{TEditFile = leowl_2Edit}}
class leowl_2Edit : public TLEditFile {
public:
    leowl_2Edit (TWindow* parent = 0,
                 int id = 0,
                 const char far* fileName = 0,
                 TModule* module = 0);
    virtual ~leowl_2Edit ();

protected:
    virtual void OnGotFocus();
//{{leowl_2EditVIRTUAL_BEGIN}}
public:
	 virtual BOOL Create ();
//{{leowl_2EditVIRTUAL_END}}

//{{leowl_2EditRSP_TBL_BEGIN}}
protected:
	 void CmFileClose ();
#ifdef BC40
void EvSetText (LPSTR text);
#else
void EvSetText (const char far* text);
#endif
//{{leowl_2EditRSP_TBL_END}}
DECLARE_RESPONSE_TABLE(leowl_2Edit);
DECLARE_STREAMABLE(,leowl_2Edit,1);
};    //{{leowl_2Edit}}

#endif                                      // __leowl_2e_h sentry.
