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
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_COMMON_AVAILABILITY_VERSION_CHECK_H_
6
#define FLUTTER_SHELL_PLATFORM_DARWIN_COMMON_AVAILABILITY_VERSION_CHECK_H_
7
8
#include <cstdint>
9
#include <optional>
10
#include <tuple>
11
12
namespace
flutter
{
13
14
using
ProductVersion
=
15
std::tuple<int32_t
/* major */
, int32_t
/* minor */
, int32_t
/* patch */
>;
16
17
std::optional<ProductVersion>
ProductVersionFromSystemVersionPList
();
18
19
bool
IsEncodedVersionLessThanOrSame
(uint32_t encoded_lhs,
ProductVersion
rhs);
20
21
}
// namespace flutter
22
23
#endif // FLUTTER_SHELL_PLATFORM_DARWIN_COMMON_AVAILABILITY_VERSION_CHECK_H_
flutter::ProductVersion
std::tuple< int32_t, int32_t, int32_t > ProductVersion
Definition:
availability_version_check.h:15
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
shell
platform
darwin
common
availability_version_check.h
Generated by
1.8.17