Banuba SDK
license_status.hpp
Go to the documentation of this file.
1 /// \file
2 /// \addtogroup LicenseUtils
3 /// @{
4 ///
5 // AUTOGENERATED FILE - DO NOT MODIFY!
6 // This file was generated by Djinni from license_utils.djinni
7 
8 #pragma once
9 
10 #include <functional>
11 
12 namespace bnb { namespace interfaces {
13 
14 enum class license_status : int {
15  /** everything is ok */
16  valid,
17  /** canceled by Banuba */
18  revoked,
19  /** before begin time or expired */
20  time_bombed,
21 };
22 
23 } } // namespace bnb::interfaces
24 
25 namespace std {
26 
27 template <>
28 struct hash<::bnb::interfaces::license_status> {
29  size_t operator()(::bnb::interfaces::license_status type) const {
30  return std::hash<int>()(static_cast<int>(type));
31  }
32 };
33 
34 } // namespace std
35 /// @}
36