mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-09 07:13:43 +00:00
28 lines
514 B
C++
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
|