mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 14:32:04 +00:00
a4276f27f7
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6230 a592a061-630c-0410-9148-cb99ea01b6c8
45 lines
790 B
C++
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
|