#include "tlmpdia.h" PUBLIC FRAMEWORK_MSGS::FRAMEWORK_MSGS() { } PUBLIC VIRTUAL FRAMEWORK_MSGS::~FRAMEWORK_MSGS() { } /* Register interest in those messages */ PUBLIC void FRAMEWORK_MSGS::waitfor (DIALOG &dia) { dia.waitfor (mayend); dia.waitfor (ending); } /* Return true if this is the "ending" message */ PUBLIC bool FRAMEWORK_MSGS::is_ending() { return dialog_testmessage(ending); } /* Return true if this is the "mayend" message */ PUBLIC bool FRAMEWORK_MSGS::is_mayend() { return dialog_testmessage(mayend); } /* Indicates we are willing to end */ PUBLIC VIRTUAL void FRAMEWORK_MSGS::endok() { }