lyx_mirror/src/frontends/xforms/xformsTimeout.h
Angus Leeming a4276f27f7 Make the GUI instantiation invisible to Timeout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6230 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-22 18:01:16 +00:00

45 lines
790 B
C++

// -*- C++ -*-
/**
* \file xformsTimeout.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Lars Gullik Bjønnes
* \author John Levon
* \author Angus Leeming
*
* Full author contact details are available in file CREDITS
*/
#ifndef XFORMSTIMEOUT_H
#define XFORMSTIMEOUT_H
#include "frontends/Timeout.h"
/**
* This class executes the callback when the timeout expires
* using xforms mechanisms
*/
class xformsTimeout : public Timeout::Impl {
public:
///
xformsTimeout(Timeout &);
///
virtual bool running() const;
///
virtual void start();
///
virtual void stop();
///
virtual void reset();
/// xforms callback function
void emitCB();
private:
///
int timeout_id;
};
#endif // XFORMSTIMEOUT_H