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

VideoTimer.hpp « maps « mapswithme « com « jni « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 44f678bd170261376aea7b79a208c62c6d459641 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#pragma once

#include <jni.h>

#include "../../../../../platform/video_timer.hpp"

namespace android
{
  class VideoTimer : public ::VideoTimer
  {
  private:
    jobject m_videoTimer;

  public:

    VideoTimer(TFrameFn frameFn);
    ~VideoTimer();

    void SetParentObject(jobject videoTimer);

    void start();

    void stop();

    void resume();

    void pause();

    void perform();
  };
}

extern android::VideoTimer * g_timer;