lyx_mirror/src/frontends/xforms/Timeout_pimpl.h
Angus Leeming 0c2a3e5960 Added // -*- C++ -*- to the top of all files in controllers/ and xforms/
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2118 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-13 14:33:31 +00:00

46 lines
673 B
C++

// -*- C++ -*-
/**
* \file Timeout_pimpl.h
* Copyright 2001 LyX Team
* Read COPYING
*
* \author Lars Gullik Bjønnes
* \author John Levon
*/
#ifndef TIMEOUTPIMPL_H
#define TIMEOUTPIMPL_H
#include <config.h>
#include "frontends/Timeout.h"
#include <sigc++/signal_system.h>
#ifdef __GNUG__
#pragma interface
#endif
/**
* This class executes the callback when the timeout expires
* using XForms mechanisms
*/
struct Timeout::Pimpl {
public:
///
Pimpl(Timeout * owner_);
/// start the timer
void start();
/// stop the timer
void stop();
/// reset
void reset();
private:
/// the owning timer
Timeout * owner_;
/// xforms id
int timeout_id;
};
#endif