Welcome to mirror list, hosted at ThFree Co, Russian Federation.

video_timer.cpp « platform - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8f731f58a3ad6d8b162282350ed0ef7cbe894e27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "video_timer.hpp"

VideoTimer::VideoTimer(TFrameFn fn) : m_frameFn(fn), m_state(EStopped)
{}

VideoTimer::EState VideoTimer::state() const
{
  return m_state;
}

VideoTimer::~VideoTimer()
{}

VideoTimer::TFrameFn VideoTimer::frameFn() const
{
  return m_frameFn;
}

void VideoTimer::setFrameFn(TFrameFn fn)
{
  m_frameFn = fn;
}