Hello GitHub
This commit is contained in:
33
src/CalcViewModel/MemoryItemViewModel.cpp
Normal file
33
src/CalcViewModel/MemoryItemViewModel.cpp
Normal file
@@ -0,0 +1,33 @@
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#include "pch.h"
|
||||
#include "MemoryItemViewModel.h"
|
||||
#include "StandardCalculatorViewModel.h"
|
||||
|
||||
using namespace CalculatorApp;
|
||||
using namespace CalculatorApp::Common;
|
||||
using namespace CalculatorApp::Common::Automation;
|
||||
using namespace CalculatorApp::ViewModel;
|
||||
using namespace Platform;
|
||||
using namespace std;
|
||||
using namespace Windows::Foundation;
|
||||
using namespace Windows::Storage;
|
||||
using namespace Windows::Storage::Streams;
|
||||
using namespace Windows::Security::Cryptography;
|
||||
using namespace Windows::Foundation::Collections;
|
||||
|
||||
void MemoryItemViewModel::Clear()
|
||||
{
|
||||
m_calcVM->OnMemoryClear(Position);
|
||||
};
|
||||
|
||||
void MemoryItemViewModel::MemoryAdd()
|
||||
{
|
||||
m_calcVM->OnMemoryAdd(Position);
|
||||
};
|
||||
|
||||
void MemoryItemViewModel::MemorySubtract()
|
||||
{
|
||||
m_calcVM->OnMemorySubtract(Position);
|
||||
};
|
||||
Reference in New Issue
Block a user