| Flutter macOS Embedder |

availability_version_check.h
Go to the documentation of this file.
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 #include <cstdint>
6 #include <optional>
7 #include <tuple>
8
9 namespace flutter {
10
11 using ProductVersion =
12 std::tuple<int32_t /* major */, int32_t /* minor */, int32_t /* patch */>;
13
14 std::optional<ProductVersion> ProductVersionFromSystemVersionPList();
15
16 bool IsEncodedVersionLessThanOrSame(uint32_t encoded_lhs, ProductVersion rhs);
17
18 } // namespace flutter
flutter::ProductVersion
std::tuple< int32_t, int32_t, int32_t > ProductVersion
Definition: availability_version_check.h:12
flutter
Definition: AccessibilityBridgeMac.h:16
flutter::ProductVersionFromSystemVersionPList
std::optional< ProductVersion > ProductVersionFromSystemVersionPList()
Definition: availability_version_check.cc:53
flutter::IsEncodedVersionLessThanOrSame
bool IsEncodedVersionLessThanOrSame(uint32_t encoded_lhs, ProductVersion rhs)
Definition: availability_version_check.cc:122