cpp_client_telemetry/lib/jni/PrivacyGuardHelper.hpp

19 строки
490 B
C++

//
// Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
//
#include "ctmacros.hpp"
#include "modules/privacyguard/PrivacyGuard.hpp"
namespace MAT_NS_BEGIN
{
struct PrivacyGuardHelper {
/**
* Get the current instance of PrivacyGuardPtr.
* @return PrivacyGuardPtr if it is initialized, nullptr otherwise.
*/
static std::shared_ptr<PrivacyGuard> GetPrivacyGuardPtr() noexcept;
};
} MAT_NS_END