Whoops, missed a few.

This commit is contained in:
Alexander Riccio 2019-03-14 14:47:18 -04:00
commit 31cfee7dde
5 changed files with 10 additions and 10 deletions

View file

@ -81,7 +81,7 @@ void Utils::RunOnUIThreadNonblocking(std::function<void()>&& function, _In_ Core
} }
// returns if the last character of a wstring is the target wchar_t // returns if the last character of a wstring is the target wchar_t
bool Utils::IsLastCharacterTarget(_In_ wstring const &input, _In_ wchar_t target) bool Utils::IsLastCharacterTarget(_In_ wstring const &input, wchar_t target)
{ {
return !input.empty() && input.back() == target; return !input.empty() && input.back() == target;
} }

View file

@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved. // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. // Licensed under the MIT License.
#include "pch.h" #include "pch.h"
@ -14,7 +14,7 @@ using namespace Windows::ApplicationModel::Core;
using namespace Windows::Foundation; using namespace Windows::Foundation;
using namespace Windows::UI::Xaml; using namespace Windows::UI::Xaml;
unique_ptr<TitleBarHelper> TitleBarHelper::CreateTitleBarHelperIfNotDocked(FrameworkElement^ customTitleBar) unique_ptr<TitleBarHelper> TitleBarHelper::CreateTitleBarHelperIfNotDocked(_In_ FrameworkElement^ customTitleBar)
{ {
return (App::GetAppViewState() == ViewState::DockedView) return (App::GetAppViewState() == ViewState::DockedView)
? nullptr ? nullptr

View file

@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved. // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. // Licensed under the MIT License.
#pragma once #pragma once
@ -68,7 +68,7 @@ namespace CalculatorApp
void SetDefaultFocus(); void SetDefaultFocus();
private: private:
void OnLoaded(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e); void OnLoaded(_In_ Platform::Object^ sender, _In_ Windows::UI::Xaml::RoutedEventArgs^ e);
void LoadResourceStrings(); void LoadResourceStrings();

View file

@ -86,7 +86,7 @@ MainPage::MainPage() :
} }
} }
void MainPage::OnNavigatedTo(NavigationEventArgs^ e) void MainPage::OnNavigatedTo(_In_ NavigationEventArgs^ e)
{ {
if (m_model->CalculatorViewModel) if (m_model->CalculatorViewModel)
{ {
@ -409,7 +409,7 @@ void MainPage::OnNavPaneClosed(_In_ MUXC::NavigationView^ sender, _In_ Object^ a
this->SetDefaultFocus(); this->SetDefaultFocus();
} }
void MainPage::OnAboutButtonClick(Object^ sender, ItemClickEventArgs^ e) void MainPage::OnAboutButtonClick(_In_ Object^ sender, _In_ ItemClickEventArgs^ e)
{ {
ShowAboutPage(); ShowAboutPage();
} }

View file

@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved. // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. // Licensed under the MIT License.
#pragma once #pragma once
@ -14,8 +14,8 @@ namespace CalculatorApp
void SetTitleBar(); void SetTitleBar();
private: private:
void OnLoaded(_In_ Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e); void OnLoaded(_In_ Object^ sender, _In_ Windows::UI::Xaml::RoutedEventArgs^ e);
void OnUnloaded(_In_ Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e); void OnUnloaded(_In_ Object^ sender, _In_ Windows::UI::Xaml::RoutedEventArgs^ e);
void Initialize(); void Initialize();
void RegisterForLayoutChanged(); void RegisterForLayoutChanged();