1 | // Copyright 2013 The Flutter Authors. All rights reserved. |
---|---|
2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. |
4 | |
5 | #ifndef FLUTTER_FML_WAKEABLE_H_ |
6 | #define FLUTTER_FML_WAKEABLE_H_ |
7 | |
8 | #include "flutter/fml/time/time_point.h" |
9 | |
10 | namespace fml { |
11 | |
12 | class Wakeable { |
13 | public: |
14 | virtual ~Wakeable() {} |
15 | |
16 | virtual void WakeUp(fml::TimePoint time_point) = 0; |
17 | }; |
18 | |
19 | } // namespace fml |
20 | |
21 | #endif // FLUTTER_FML_WAKEABLE_H_ |
22 |