Fixed warning by splitting out win32 specific stuff from timer.cc

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@499 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2012-01-16 09:59:51 +00:00
parent bd14f87e73
commit 1b2fd63226
2 changed files with 14 additions and 13 deletions

View File

@@ -63,19 +63,7 @@ namespace Utils {
using namespace std; using namespace std;
// -------------------------------------------------------------- TimerImpl ---- // -------------------------------------------------------------- TimerImpl ----
// just a base class for the implementation
class TimerImpl
{
protected:
public:
TimerImpl() { ; }
virtual ~TimerImpl() { ; }
virtual void reset(void) = 0;
virtual void start(void) = 0;
virtual void stop(void) = 0;
virtual void cont(void) = 0;
virtual double seconds(void) const = 0;
}; };
// compiler and os dependent implementation // compiler and os dependent implementation

View File

@@ -70,7 +70,20 @@ namespace Utils {
// -------------------------------------------------------------- forwards ---- // -------------------------------------------------------------- forwards ----
class TimerImpl; // just a base class for the implementation
class TimerImpl
{
protected:
public:
TimerImpl() { ; }
virtual ~TimerImpl() { ; }
virtual void reset(void) = 0;
virtual void start(void) = 0;
virtual void stop(void) = 0;
virtual void cont(void) = 0;
virtual double seconds(void) const = 0;
};
// ----------------------------------------------------------------- class ---- // ----------------------------------------------------------------- class ----