// -*- C++ -*-
/**
* \file Timeout.h
- * Copyright 2001 LyX Team
- * Read COPYING
+ * 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
+ *
+ * Full author contact details are available in file CREDITS
*/
+
#ifndef TIMEOUT_H
#define TIMEOUT_H
-#ifdef __GNUG__
-#pragma interface
-#endif
#include <boost/signals/signal0.hpp>
*/
class Timeout {
public:
- ///
+ /// the timeout type
enum Type {
- /// one-shot timer
- ONETIME,
- /// repeating
- CONTINUOUS
+ ONETIME, //< one-shot timer
+ CONTINUOUS //< repeating
};
///
Timeout(unsigned int msec, Type = ONETIME);