forked from files-community/Files
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: Added an icon to the system tray (files-community#14285)
- Loading branch information
Showing
9 changed files
with
588 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// Copyright (c) 2023 Files Community | ||
// Licensed under the MIT License. See the LICENSE. | ||
{ | ||
"$schema": "https://aka.ms/CsWin32.schema.json", | ||
|
||
// Emit COM interfaces instead of structs, and allow generation of non-blittable structs for the sake of an easier to use API. | ||
"allowMarshaling": true, | ||
|
||
// A value indicating whether to generate APIs judged to be unnecessary or redundant given the target framework. | ||
// This is useful for multi-targeting projects that need a consistent set of APIs across target frameworks | ||
// to avoid too many conditional compilation regions. | ||
"multiTargetingFriendlyAPIs": false, | ||
|
||
// A value indicating whether friendly overloads should use safe handles. | ||
"useSafeHandles": true, | ||
|
||
// Omit ANSI functions and remove `W` suffix from UTF-16 functions. | ||
"wideCharOnly": true, | ||
|
||
// A value indicating whether to emit a single source file as opposed to types spread across many files. | ||
"emitSingleFile": false, | ||
|
||
// The name of a single class under which all p/invoke methods and constants are generated, regardless of imported module. | ||
"className": "PInvoke", | ||
|
||
// A value indicating whether to expose the generated APIs publicly (as opposed to internally). | ||
"public": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// Copyright (c) 2023 Files Community | ||
// Licensed under the MIT License. See the LICENSE. | ||
|
||
WNDPROC | ||
WNDCLASSEXW | ||
RegisterClassEx | ||
CreateWindowEx | ||
DestroyWindow | ||
GetModuleHandle | ||
RECT | ||
NOTIFYICONIDENTIFIER | ||
Shell_NotifyIconGetRect | ||
RegisterWindowMessage | ||
NOTIFYICONDATAW | ||
Shell_NotifyIcon | ||
GetCursorPos | ||
DestroyMenu | ||
AppendMenu | ||
CreatePopupMenu | ||
SetForegroundWindow | ||
TrackPopupMenuEx | ||
TRACK_POPUP_MENU_FLAGS | ||
GetSystemMetricsForDpi | ||
DefWindowProc | ||
SYSTEM_METRICS_INDEX | ||
GetDpiForWindow | ||
HWND | ||
LRESULT | ||
WPARAM | ||
LPARAM | ||
WM_LBUTTONUP | ||
WM_RBUTTONUP | ||
WM_DESTROY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.