Turi Create  4.0
console_cancel_handler_win.hpp
1 /* Copyright © 2017 Apple Inc. All rights reserved.
2  *
3  * Use of this source code is governed by a BSD-3-clause license that can
4  * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
5  */
6 #ifndef CPPIPC_SERVER_CONSOLE_CANCEL_HANDLER_WIN_HPP
7 #define CPPIPC_SERVER_CONSOLE_CANCEL_HANDLER_WIN_HPP
8 
9 #include <core/system/cppipc/client/console_cancel_handler.hpp>
10 
11 namespace cppipc {
12 
13 class console_cancel_handler_win : public console_cancel_handler {
14  public:
15  typedef console_cancel_handler super;
16 
17  bool set_handler();
18  bool unset_handler();
19  void raise_cancel();
20  console_cancel_handler_win() : super() {}
21  private:
22 
23 };
24 } // namespace cppipc
25 
26 
27 #endif //CPPIPC_SERVER_CONSOLE_CANCEL_HANDLER_WIN_HPP