summaryrefslogtreecommitdiff
path: root/xfa/include/fwl/adapter/fwl_adaptertimermgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/include/fwl/adapter/fwl_adaptertimermgr.h')
-rw-r--r--xfa/include/fwl/adapter/fwl_adaptertimermgr.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/xfa/include/fwl/adapter/fwl_adaptertimermgr.h b/xfa/include/fwl/adapter/fwl_adaptertimermgr.h
new file mode 100644
index 0000000000..37cdf86f23
--- /dev/null
+++ b/xfa/include/fwl/adapter/fwl_adaptertimermgr.h
@@ -0,0 +1,24 @@
+// 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 _FWL_ADAPTER_TIMERMGR_H
+#define _FWL_ADAPTER_TIMERMGR_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