aseprite/src/base/chrono.h

28 lines
514 B
C++

// Aseprite Base Library
// Copyright (c) 2001-2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifndef BASE_CHRONO_H_INCLUDED
#define BASE_CHRONO_H_INCLUDED
#pragma once
namespace base {
class Chrono {
public:
Chrono();
~Chrono();
void reset();
double elapsed() const;
private:
class ChronoImpl;
ChronoImpl* m_impl;
};
} // namespace base
#endif // BASE_CHRONO_H_INCLUDED