| 1 | /*++ |
| 2 | |
| 3 | Copyright (c) Microsoft. All rights reserved. |
| 4 | |
| 5 | Module Name: |
| 6 | |
| 7 | notifications.h |
| 8 | |
| 9 | Abstract: |
| 10 | |
| 11 | This file contains notification function definitions. |
| 12 | |
| 13 | --*/ |
| 14 | |
| 15 | #pragma once |
| 16 | |
| 17 | namespace wsl::windows::common::notifications { |
| 18 | |
| 19 | /// <summary> |
| 20 | /// Displays the notification that a WSL update is available. |
| 21 | /// </summary> |
| 22 | HRESULT DisplayUpdateNotification(const std::wstring& versionString); |
| 23 | |
| 24 | /// <summary> |
| 25 | /// Displays the notification that performance will be poor due to DrvFs usage. |
| 26 | /// </summary> |
| 27 | HRESULT DisplayFilesystemNotification(_In_ LPCSTR binaryName); |
| 28 | |
| 29 | /// <summary> |
| 30 | /// Displays the notification saying that warnings were emitted during launch. |
| 31 | /// </summary> |
| 32 | void DisplayWarningsNotification(); |
| 33 | |
| 34 | /// <summary> |
| 35 | /// Displays the notification saying that a proxy change has been detected. |
| 36 | /// </summary> |
| 37 | void DisplayProxyChangeNotification(const std::wstring& message); |
| 38 | |
| 39 | /// <summary> |
| 40 | /// Displays the notification saying that optional components need to be installed. |
| 41 | /// </summary> |
| 42 | void DisplayOptionalComponentsNotification(); |
| 43 | |
| 44 | } // namespace wsl::windows::common::notifications |