mirror of
https://github.com/Microsoft/calculator.git
synced 2025-07-29 19:18:24 -07:00
Add variable editing (#581)
This commit is contained in:
parent
a418777f02
commit
46f11c7c72
12 changed files with 519 additions and 6 deletions
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#ifndef GRAPHINGAPI
|
||||
#ifdef GRAPHING_ENGINE_IMPL
|
||||
|
@ -38,6 +39,14 @@ namespace Graphing
|
|||
virtual bool IsEmptySet() const = 0;
|
||||
};
|
||||
|
||||
struct IVariable
|
||||
{
|
||||
virtual ~IVariable() = default;
|
||||
|
||||
virtual int GetVariableID() const = 0;
|
||||
virtual const std::wstring& GetVariableName() = 0;
|
||||
};
|
||||
|
||||
struct IExpressible
|
||||
{
|
||||
virtual ~IExpressible() = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue