summaryrefslogtreecommitdiff
path: root/xfa/include/fwl/adapter/fwl_adaptertimermgr.h
blob: f8b0daab8667c746696c5459c3c870ff569076c5 (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
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#ifndef XFA_INCLUDE_FWL_ADAPTER_FWL_ADAPTERTIMERMGR_H_
#define XFA_INCLUDE_FWL_ADAPTER_FWL_ADAPTERTIMERMGR_H_

#include "xfa/include/fwl/core/fwl_error.h"
#include "xfa/include/fwl/core/fwl_timer.h"

class IFWL_Timer;

class IFWL_AdapterTimerMgr {
 public:
  virtual ~IFWL_AdapterTimerMgr() {}
  virtual FWL_ERR Start(IFWL_Timer* pTimer,
                        FX_DWORD dwElapse,
                        FWL_HTIMER& hTimer,
                        FX_BOOL bImmediately = TRUE) = 0;
  virtual FWL_ERR Stop(FWL_HTIMER hTimer) = 0;
};

#endif  // XFA_INCLUDE_FWL_ADAPTER_FWL_ADAPTERTIMERMGR_H_