calculator/src/CalcManager/CalculatorResource.h
Howard Wolosky c13b8a099e Hello GitHub
2019-01-28 16:24:37 -08:00

23 lines
794 B
C++

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
namespace CalculationManager
{
class IResourceProvider
{
public:
virtual ~IResourceProvider() { }
// Should return a string from the resource table for strings used
// by the calculation engine. The strings that must be defined
// and the ids to define them with can be seen in EngineStrings.h
// with SIDS prefix. Additionally it must provide values for string
// ids "sDecimal", "sThousand" and "sGrouping". See
// http://technet.microsoft.com/en-us/library/cc782655(v=ws.10).aspx
// for what these values refer to.
virtual std::wstring GetCEngineString(const std::wstring& id) = 0;
};
}