-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Merge pull request #192 from TazE-scripts/master
[Minor] - Silenced unused variables - Linux
- Loading branch information
Showing
2 changed files
with
8 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1776,44 +1776,44 @@ end; | |
function GetProcAddr(handle: PtrUInt; name: PChar): Pointer; | ||
external '[email protected] '+ WINAPI_CC; | ||
{$ELSE} | ||
function ShowWindow(hwnd: TOSWindow; nCmdShow: UInt32): LongBool; | ||
function ShowWindow({$H-}hwnd: TOSWindow; nCmdShow: UInt32){$H+}: LongBool; | ||
begin | ||
WriteLn('ShowWindow() is not implemented for this operating system!'); | ||
Result := False; | ||
end; | ||
|
||
function SetWindowAttribute(hwnd: TOSWindow; dwAttribute: DWORD; pvAttribute: Pointer; cbAttribute: DWORD): UInt32; | ||
function SetWindowAttribute({$H-}hwnd: TOSWindow; dwAttribute: DWORD; pvAttribute: Pointer; cbAttribute: DWORD){$H+}: UInt32; | ||
begin | ||
WriteLn('SetWindowAttribute() is not implemented for this operating system!'); | ||
Result := 0; | ||
end; | ||
|
||
function SetWindowAttribute(hwnd: TOSWindow; dwAttribute: DWORD; pvAttribute: LongBool): UInt32; overload; | ||
function SetWindowAttribute({$H-}hwnd: TOSWindow; dwAttribute: DWORD; pvAttribute: LongBool){$H+}: UInt32; overload; | ||
begin | ||
WriteLn('SetWindowAttribute() is not implemented for this operating system!'); | ||
Result := 0; | ||
end; | ||
|
||
function SetWindowDarkTitleBar(hwnd: TOSWindow): UInt32; | ||
function SetWindowDarkTitleBar({$H-}hwnd: TOSWindow){$H+}: UInt32; | ||
begin | ||
WriteLn('SetWindowDarkTitleBar() is not implemented for this operating system!'); | ||
Result := 0; | ||
end; | ||
|
||
|
||
function SetWindowTheme(hwnd: TOSWindow; pszSubAppName: PWideChar; pszSubIdList: PWideChar): UInt32; | ||
function SetWindowTheme({$H-}hwnd: TOSWindow; pszSubAppName: PWideChar; pszSubIdList: PWideChar){$H+}: UInt32; | ||
begin | ||
WriteLn('SetWindowTheme() is not implemented for this operating system!'); | ||
Result := 0; | ||
end; | ||
|
||
function SetWindowTheme(hwnd: TOSWindow; pszSubAppName: WideString; pszSubIdList: PWideChar = nil): UInt32; overload; | ||
function SetWindowTheme({$H-}hwnd: TOSWindow; pszSubAppName: WideString; pszSubIdList: PWideChar = nil){$H+}: UInt32; overload; | ||
begin | ||
WriteLn('SetWindowTheme() is not implemented for this operating system!'); | ||
Result := 0; | ||
end; | ||
|
||
function GetProcAddr(handle: PtrUInt; name: PChar): Pointer; | ||
function GetProcAddr({$H-}handle: PtrUInt; name: PChar){$H+}: Pointer; | ||
begin | ||
WriteLn('GetProcAddr() is not implemented for this operating system!'); | ||
Result := nil; | ||
|
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