| 1 |
{%MainUnit castleopendocument.pas} |
| 2 |
{ |
| 3 |
Copyright 2024-2024 Michalis Kamburelis. |
| 4 |
|
| 5 |
This file is part of "Castle Game Engine". |
| 6 |
|
| 7 |
"Castle Game Engine" is free software; see the file COPYING.txt, |
| 8 |
included in this distribution, for details about the copyright. |
| 9 |
Parts of this file are based on Lazarus LCL code, which has |
| 10 |
exactly the same license as our "Castle Game Engine": |
| 11 |
LGPL with static linking exception, see COPYING.txt for details. |
| 12 |
|
| 13 |
"Castle Game Engine" is distributed in the hope that it will be useful, |
| 14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 16 |
|
| 17 |
---------------------------------------------------------------------------- |
| 18 |
} |
| 19 |
|
| 20 |
{ OpenUrl and OpenDocument implementations |
| 21 |
that just make a warning that they are not implemented. } |
| 22 |
|
| 23 |
{$ifdef read_implementation} |
| 24 |
|
| 25 |
function OpenUrl(AUrl: String): Boolean; |
| 26 |
begin |
| 27 |
WritelnWarning('Not implemented', 'OpenUrl not implemented on this platform'); |
| 28 |
Result := false; |
| 29 |
end; |
| 30 |
|
| 31 |
function OpenDocument(APath: String): Boolean; |
| 32 |
begin |
| 33 |
WritelnWarning('Not implemented', 'OpenDocument not implemented on this platform'); |
| 34 |
Result := false; |
| 35 |
end; |
| 36 |
|
| 37 |
{$endif read_implementation} |