barrier/lib/arch/CArchSleepUnix.h

33 lines
867 B
C
Raw Normal View History

2002-08-02 23:57:46 +04:00
/*
* synergy -- mouse and keyboard sharing utility
* Copyright (C) 2002 Chris Schoeneman
*
* This package is free software you can redistribute it and/or
2002-08-02 23:57:46 +04:00
* modify it under the terms of the GNU General Public License
* found in the file COPYING that should have accompanied this file.
*
* This package is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY without even the implied warranty of
2002-08-02 23:57:46 +04:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef CARCHSLEEPUNIX_H
#define CARCHSLEEPUNIX_H
#include "IArchSleep.h"
#define ARCH_SLEEP CArchSleepUnix
//! Unix implementation of IArchSleep
class CArchSleepUnix : public IArchSleep {
public:
CArchSleepUnix();
virtual ~CArchSleepUnix();
// IArchSleep overrides
virtual void sleep(double timeout);
};
#endif