mirror of
https://github.com/Microsoft/calculator.git
synced 2025-07-16 02:02:51 -07:00
20 lines
629 B
C++
20 lines
629 B
C++
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
#pragma once
|
|
|
|
namespace CalculatorApp
|
|
{
|
|
public ref class AppResourceProvider sealed
|
|
{
|
|
public:
|
|
static AppResourceProvider ^ GetInstance();
|
|
Platform::String ^ GetResourceString(_In_ Platform::String ^ key);
|
|
Platform::String ^ GetCEngineString(_In_ Platform::String ^ key);
|
|
|
|
private:
|
|
AppResourceProvider();
|
|
Windows::ApplicationModel::Resources::ResourceLoader ^ m_stringResLoader;
|
|
Windows::ApplicationModel::Resources::ResourceLoader ^ m_cEngineStringResLoader;
|
|
};
|
|
}
|