#ifndef FRAME1_H #define FRAME1_H #ifndef ZMENVIRONMENT_H #include "ZMutility/ZMenvironment.h" #endif #include "ZMutility/iostream" #include "ErrorLogger/ELcontextSupplier.h" #ifndef SSTREAM_INCLUDED #include "ZMutility/sstream" #endif USING( std::ostringstream ) #include //============================================================================= // // Classes the Framework Makes Available // //============================================================================= class Event { // This is a rather lame mock-up of what an Event looks like. The framework // will pass an Event from one module to the next. public: int data; Event( int d ) : data(d) { } }; // Event class RunEventContext : public ELcontextSupplier { // $$ 9:1 public: ZM_COVARIANT_TYPE(ELcontextSupplier *, RunEventContext *) clone() const; std::string context() const; std::string fullContext() const; std::string summaryContext() const; }; // RunEventContext #endif // FRAME1_H