From c4cf795454fa409230c214b97d0b1fcaa04205a0 Mon Sep 17 00:00:00 2001 From: Konstantin Date: Sat, 21 Jan 2023 14:40:02 +0100 Subject: Minor --- Examples/WhisperDesktop/AppState.cpp | 1 - Examples/WhisperDesktop/WhisperDesktop.cpp | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'Examples') diff --git a/Examples/WhisperDesktop/AppState.cpp b/Examples/WhisperDesktop/AppState.cpp index b478546..f8ebb4d 100644 --- a/Examples/WhisperDesktop/AppState.cpp +++ b/Examples/WhisperDesktop/AppState.cpp @@ -3,7 +3,6 @@ #include "Utils/miscUtils.h" #include #pragma comment(lib, "Comctl32.lib") -// #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") #include "CircleIndicator.h" namespace diff --git a/Examples/WhisperDesktop/WhisperDesktop.cpp b/Examples/WhisperDesktop/WhisperDesktop.cpp index ddef5b6..87ee0a4 100644 --- a/Examples/WhisperDesktop/WhisperDesktop.cpp +++ b/Examples/WhisperDesktop/WhisperDesktop.cpp @@ -5,7 +5,7 @@ #include "TranscribeDlg.h" #include "CaptureDlg.h" -HRESULT dialogLoadModel( AppState& appState ) +static HRESULT dialogLoadModel( AppState& appState ) { LoadModelDlg loadDialog{ appState }; HRESULT hr = loadDialog.show(); @@ -18,13 +18,13 @@ HRESULT dialogLoadModel( AppState& appState ) return hr; } -HRESULT dialogTranscribe( AppState& appState ) +static HRESULT dialogTranscribe( AppState& appState ) { TranscribeDlg dialog{ appState }; return dialog.show(); } -HRESULT dialogCapture( AppState& appState ) +static HRESULT dialogCapture( AppState& appState ) { CaptureDlg dialog{ appState }; return dialog.show(); -- cgit v1.2.3