home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
pc3270sa.zip
/
ecllistn.hpp
< prev
next >
Wrap
C/C++ Source or Header
|
2002-02-28
|
2KB
|
51 lines
//-------------------------------------------------------------------------------
// Module: ecllistn.hpp
//-------------------------------------------------------------------------------
//
// Description: ECL listener classes header file.
//
//-------------------------------------------------------------------------------
// Copyright Notice: IBM Personal Communication/3270 Version 4.3
// (C) COPYRIGHT IBM CORP. 1989,1998 - PROGRAM PROPERTY
// OF IBM ALL RIGHTS RESERVED
//-------------------------------------------------------------------------------
#include "eclall.hpp"
#ifndef _ECLLISTENER_HPP_
#define _ECLLISTENER_HPP_
//-------------------------------------------------------------------------------
// Base class for all ECL listener classes.
//-------------------------------------------------------------------------------
class DllExport ECLListener: public ECLBase
{
public:
ECLListener();
~ECLListener();
};
//-------------------------------------------------------------------------------
// PS Update listener class (implemented by user application). User application
// must implement all functions. Register an object of this class with the
// ECLPS object to be notified of PS updates.
//-------------------------------------------------------------------------------
class DllExport ECLPSListener: public ECLListener
{
public:
ECLPSListener();
~ECLPSListener();
// Pure virtual functions all derived classes must implement
virtual void PSNotifyEvent(ECLPSEvent *Event) = 0;
virtual void PSNotifyError(ECLPS *Ps, ECLErr ErrObject) = 0;
virtual void PSNotifyStop(ECLPS *Ps, int Reason) = 0;
};
#endif // _ELCLISTENER_HPP_