5 #ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_SEQUENTIAL_ID_GENERATOR_H_
6 #define FLUTTER_SHELL_PLATFORM_WINDOWS_SEQUENTIAL_ID_GENERATOR_H_
9 #include <unordered_map>
11 #include "flutter/fml/macros.h"
45 typedef std::unordered_map<uint32_t, uint32_t> IdMap;
47 uint32_t GetNextAvailableId();
49 void UpdateNextAvailableIdAfterRelease(uint32_t
id);
54 const uint32_t min_id_;
55 const uint32_t max_id_;
56 uint32_t min_available_id_;
63 #endif // FLUTTER_SHELL_PLATFORM_WINDOWS_SEQUENTIAL_ID_GENERATOR_H_