diff --git a/README.md b/README.md index 8812a818..d0019df6 100644 --- a/README.md +++ b/README.md @@ -3,15 +3,15 @@ CEF4Delphi is an open source project created by Salvador Díaz Fau to embed Chro CEF4Delphi is based on DCEF3 and fpCEF3. The original license of those projects still applies to CEF4Delphi. Read the license terms in the LICENSE.md file. -CEF4Delphi uses CEF 118.6.6 which includes Chromium 117.0.5993.96. +CEF4Delphi uses CEF 118.6.7 which includes Chromium 117.0.5993.96. The CEF binaries used by CEF4Delphi are available for download at Spotify : -* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_118.6.6%2Bg3cffa57%2Bchromium-117.0.5993.96_windows32.tar.bz2) -* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_118.6.6%2Bg3cffa57%2Bchromium-118.0.5993.96_windows64.tar.bz2) -* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_118.6.6%2Bg3cffa57%2Bchromium-117.0.5993.96_linux64.tar.bz2) -* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_118.6.6%2Bg3cffa57%2Bchromium-117.0.5993.96_linuxarm.tar.bz2) -* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_118.6.6%2Bg3cffa57%2Bchromium-117.0.5993.96_linuxarm64.tar.bz2) -* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_118.6.6%2Bg3cffa57%2Bchromium-117.0.5993.96_macosx64.tar.bz2) +* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_118.6.7%2Bg7b7a3d7%2Bchromium-117.0.5993.96_windows32.tar.bz2) +* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_118.6.7%2Bg7b7a3d7%2Bchromium-118.0.5993.96_windows64.tar.bz2) +* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_118.6.7%2Bg7b7a3d7%2Bchromium-117.0.5993.96_linux64.tar.bz2) +* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_118.6.7%2Bg7b7a3d7%2Bchromium-117.0.5993.96_linuxarm.tar.bz2) +* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_118.6.7%2Bg7b7a3d7%2Bchromium-117.0.5993.96_linuxarm64.tar.bz2) +* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_118.6.7%2Bg7b7a3d7%2Bchromium-117.0.5993.96_macosx64.tar.bz2) CEF4Delphi was developed and tested on Delphi 11.3 and it has been tested in Delphi 7, Delphi XE, Delphi 10, Delphi 10.2, Delphi 10.3, Delphi 10.4 and Lazarus 2.2.6/FPC 3.2.2. CEF4Delphi includes VCL, FireMonkey (FMX) and Lazarus components. diff --git a/demos/Delphi_FMX_Linux/FMXExternalPumpBrowser2/cef.inc b/demos/Delphi_FMX_Linux/FMXExternalPumpBrowser2/cef.inc index af4e9092..da947a0a 100644 --- a/demos/Delphi_FMX_Linux/FMXExternalPumpBrowser2/cef.inc +++ b/demos/Delphi_FMX_Linux/FMXExternalPumpBrowser2/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} diff --git a/demos/Delphi_FMX_Mac/FMXExternalPumpBrowser/cef.inc b/demos/Delphi_FMX_Mac/FMXExternalPumpBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_FMX_Mac/FMXExternalPumpBrowser/cef.inc +++ b/demos/Delphi_FMX_Mac/FMXExternalPumpBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_FMX_Windows/FMXExternalPumpBrowser/cef.inc b/demos/Delphi_FMX_Windows/FMXExternalPumpBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_FMX_Windows/FMXExternalPumpBrowser/cef.inc +++ b/demos/Delphi_FMX_Windows/FMXExternalPumpBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_FMX_Windows/FMXSkiaBrowser/cef.inc b/demos/Delphi_FMX_Windows/FMXSkiaBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_FMX_Windows/FMXSkiaBrowser/cef.inc +++ b/demos/Delphi_FMX_Windows/FMXSkiaBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_FMX_Windows/FMXTabbedBrowser/cef.inc b/demos/Delphi_FMX_Windows/FMXTabbedBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_FMX_Windows/FMXTabbedBrowser/cef.inc +++ b/demos/Delphi_FMX_Windows/FMXTabbedBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_FMX_Windows/FMXTabbedOSRBrowser/cef.inc b/demos/Delphi_FMX_Windows/FMXTabbedOSRBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_FMX_Windows/FMXTabbedOSRBrowser/cef.inc +++ b/demos/Delphi_FMX_Windows/FMXTabbedOSRBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_FMX_Windows/FMXToolBoxBrowser/cef.inc b/demos/Delphi_FMX_Windows/FMXToolBoxBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_FMX_Windows/FMXToolBoxBrowser/cef.inc +++ b/demos/Delphi_FMX_Windows/FMXToolBoxBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_FMX_Windows/FMXVirtualUIBrowser/cef.inc b/demos/Delphi_FMX_Windows/FMXVirtualUIBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_FMX_Windows/FMXVirtualUIBrowser/cef.inc +++ b/demos/Delphi_FMX_Windows/FMXVirtualUIBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_FMX_Windows/SimpleFMXBrowser/cef.inc b/demos/Delphi_FMX_Windows/SimpleFMXBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_FMX_Windows/SimpleFMXBrowser/cef.inc +++ b/demos/Delphi_FMX_Windows/SimpleFMXBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/ConsoleBrowser/cef.inc b/demos/Delphi_VCL/ConsoleBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/ConsoleBrowser/cef.inc +++ b/demos/Delphi_VCL/ConsoleBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/ConsoleBrowser2/cef.inc b/demos/Delphi_VCL/ConsoleBrowser2/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/ConsoleBrowser2/cef.inc +++ b/demos/Delphi_VCL/ConsoleBrowser2/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/CookieVisitor/cef.inc b/demos/Delphi_VCL/CookieVisitor/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/CookieVisitor/cef.inc +++ b/demos/Delphi_VCL/CookieVisitor/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/CustomResourceBrowser/cef.inc b/demos/Delphi_VCL/CustomResourceBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/CustomResourceBrowser/cef.inc +++ b/demos/Delphi_VCL/CustomResourceBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/DLLBrowser/cef.inc b/demos/Delphi_VCL/DLLBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/DLLBrowser/cef.inc +++ b/demos/Delphi_VCL/DLLBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/DOMVisitor/cef.inc b/demos/Delphi_VCL/DOMVisitor/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/DOMVisitor/cef.inc +++ b/demos/Delphi_VCL/DOMVisitor/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/EditorBrowser/cef.inc b/demos/Delphi_VCL/EditorBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/EditorBrowser/cef.inc +++ b/demos/Delphi_VCL/EditorBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/Extensions/HelloWorldExt/cef.inc b/demos/Delphi_VCL/Extensions/HelloWorldExt/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/Extensions/HelloWorldExt/cef.inc +++ b/demos/Delphi_VCL/Extensions/HelloWorldExt/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/Extensions/PageColorExt/cef.inc b/demos/Delphi_VCL/Extensions/PageColorExt/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/Extensions/PageColorExt/cef.inc +++ b/demos/Delphi_VCL/Extensions/PageColorExt/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/ExternalPumpBrowser/cef.inc b/demos/Delphi_VCL/ExternalPumpBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/ExternalPumpBrowser/cef.inc +++ b/demos/Delphi_VCL/ExternalPumpBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/FullScreenBrowser/cef.inc b/demos/Delphi_VCL/FullScreenBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/FullScreenBrowser/cef.inc +++ b/demos/Delphi_VCL/FullScreenBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/JavaScript/CustomTitleBar/cef.inc b/demos/Delphi_VCL/JavaScript/CustomTitleBar/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/JavaScript/CustomTitleBar/cef.inc +++ b/demos/Delphi_VCL/JavaScript/CustomTitleBar/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/JavaScript/JSDialog/cef.inc b/demos/Delphi_VCL/JavaScript/JSDialog/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/JavaScript/JSDialog/cef.inc +++ b/demos/Delphi_VCL/JavaScript/JSDialog/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/JavaScript/JSEval/cef.inc b/demos/Delphi_VCL/JavaScript/JSEval/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/JavaScript/JSEval/cef.inc +++ b/demos/Delphi_VCL/JavaScript/JSEval/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/JavaScript/JSExecutingFunctions/cef.inc b/demos/Delphi_VCL/JavaScript/JSExecutingFunctions/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/JavaScript/JSExecutingFunctions/cef.inc +++ b/demos/Delphi_VCL/JavaScript/JSExecutingFunctions/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/JavaScript/JSExtension/cef.inc b/demos/Delphi_VCL/JavaScript/JSExtension/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/JavaScript/JSExtension/cef.inc +++ b/demos/Delphi_VCL/JavaScript/JSExtension/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/JavaScript/JSExtensionWithFunction/cef.inc b/demos/Delphi_VCL/JavaScript/JSExtensionWithFunction/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/JavaScript/JSExtensionWithFunction/cef.inc +++ b/demos/Delphi_VCL/JavaScript/JSExtensionWithFunction/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/JavaScript/JSExtensionWithObjectParameter/cef.inc b/demos/Delphi_VCL/JavaScript/JSExtensionWithObjectParameter/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/JavaScript/JSExtensionWithObjectParameter/cef.inc +++ b/demos/Delphi_VCL/JavaScript/JSExtensionWithObjectParameter/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/JavaScript/JSRTTIExtension/cef.inc b/demos/Delphi_VCL/JavaScript/JSRTTIExtension/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/JavaScript/JSRTTIExtension/cef.inc +++ b/demos/Delphi_VCL/JavaScript/JSRTTIExtension/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/JavaScript/JSSharedMemoryProcMessage/cef.inc b/demos/Delphi_VCL/JavaScript/JSSharedMemoryProcMessage/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/JavaScript/JSSharedMemoryProcMessage/cef.inc +++ b/demos/Delphi_VCL/JavaScript/JSSharedMemoryProcMessage/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/JavaScript/JSSimpleExtension/cef.inc b/demos/Delphi_VCL/JavaScript/JSSimpleExtension/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/JavaScript/JSSimpleExtension/cef.inc +++ b/demos/Delphi_VCL/JavaScript/JSSimpleExtension/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/JavaScript/JSSimpleWindowBinding/cef.inc b/demos/Delphi_VCL/JavaScript/JSSimpleWindowBinding/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/JavaScript/JSSimpleWindowBinding/cef.inc +++ b/demos/Delphi_VCL/JavaScript/JSSimpleWindowBinding/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/JavaScript/JSWindowBindingSubProcess/cef.inc b/demos/Delphi_VCL/JavaScript/JSWindowBindingSubProcess/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/JavaScript/JSWindowBindingSubProcess/cef.inc +++ b/demos/Delphi_VCL/JavaScript/JSWindowBindingSubProcess/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/JavaScript/JSWindowBindingWithArrayBuffer/cef.inc b/demos/Delphi_VCL/JavaScript/JSWindowBindingWithArrayBuffer/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/JavaScript/JSWindowBindingWithArrayBuffer/cef.inc +++ b/demos/Delphi_VCL/JavaScript/JSWindowBindingWithArrayBuffer/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/JavaScript/JSWindowBindingWithFunction/cef.inc b/demos/Delphi_VCL/JavaScript/JSWindowBindingWithFunction/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/JavaScript/JSWindowBindingWithFunction/cef.inc +++ b/demos/Delphi_VCL/JavaScript/JSWindowBindingWithFunction/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/JavaScript/JSWindowBindingWithObject/cef.inc b/demos/Delphi_VCL/JavaScript/JSWindowBindingWithObject/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/JavaScript/JSWindowBindingWithObject/cef.inc +++ b/demos/Delphi_VCL/JavaScript/JSWindowBindingWithObject/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/KioskOSRBrowser/cef.inc b/demos/Delphi_VCL/KioskOSRBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/KioskOSRBrowser/cef.inc +++ b/demos/Delphi_VCL/KioskOSRBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/MDIBrowser/cef.inc b/demos/Delphi_VCL/MDIBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/MDIBrowser/cef.inc +++ b/demos/Delphi_VCL/MDIBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/MDIExternalPumpBrowser/cef.inc b/demos/Delphi_VCL/MDIExternalPumpBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/MDIExternalPumpBrowser/cef.inc +++ b/demos/Delphi_VCL/MDIExternalPumpBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/MediaRouter/cef.inc b/demos/Delphi_VCL/MediaRouter/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/MediaRouter/cef.inc +++ b/demos/Delphi_VCL/MediaRouter/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/MiniBrowser/cef.inc b/demos/Delphi_VCL/MiniBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/MiniBrowser/cef.inc +++ b/demos/Delphi_VCL/MiniBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/MobileBrowser/cef.inc b/demos/Delphi_VCL/MobileBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/MobileBrowser/cef.inc +++ b/demos/Delphi_VCL/MobileBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/OAuth2Tester/cef.inc b/demos/Delphi_VCL/OAuth2Tester/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/OAuth2Tester/cef.inc +++ b/demos/Delphi_VCL/OAuth2Tester/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/OSRExternalPumpBrowser/cef.inc b/demos/Delphi_VCL/OSRExternalPumpBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/OSRExternalPumpBrowser/cef.inc +++ b/demos/Delphi_VCL/OSRExternalPumpBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/PopupBrowser/cef.inc b/demos/Delphi_VCL/PopupBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/PopupBrowser/cef.inc +++ b/demos/Delphi_VCL/PopupBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/PopupBrowser2/cef.inc b/demos/Delphi_VCL/PopupBrowser2/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/PopupBrowser2/cef.inc +++ b/demos/Delphi_VCL/PopupBrowser2/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/PostInspectorBrowser/cef.inc b/demos/Delphi_VCL/PostInspectorBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/PostInspectorBrowser/cef.inc +++ b/demos/Delphi_VCL/PostInspectorBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/ResponseFilterBrowser/cef.inc b/demos/Delphi_VCL/ResponseFilterBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/ResponseFilterBrowser/cef.inc +++ b/demos/Delphi_VCL/ResponseFilterBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/SchemeRegistrationBrowser/cef.inc b/demos/Delphi_VCL/SchemeRegistrationBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/SchemeRegistrationBrowser/cef.inc +++ b/demos/Delphi_VCL/SchemeRegistrationBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/SimpleBrowser/cef.inc b/demos/Delphi_VCL/SimpleBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/SimpleBrowser/cef.inc +++ b/demos/Delphi_VCL/SimpleBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/SimpleBrowser2/cef.inc b/demos/Delphi_VCL/SimpleBrowser2/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/SimpleBrowser2/cef.inc +++ b/demos/Delphi_VCL/SimpleBrowser2/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/SimpleExternalPumpBrowser/cef.inc b/demos/Delphi_VCL/SimpleExternalPumpBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/SimpleExternalPumpBrowser/cef.inc +++ b/demos/Delphi_VCL/SimpleExternalPumpBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/SimpleOSRBrowser/cef.inc b/demos/Delphi_VCL/SimpleOSRBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/SimpleOSRBrowser/cef.inc +++ b/demos/Delphi_VCL/SimpleOSRBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/SimpleServer/cef.inc b/demos/Delphi_VCL/SimpleServer/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/SimpleServer/cef.inc +++ b/demos/Delphi_VCL/SimpleServer/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/SubProcess/cef.inc b/demos/Delphi_VCL/SubProcess/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/SubProcess/cef.inc +++ b/demos/Delphi_VCL/SubProcess/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/TabbedBrowser/cef.inc b/demos/Delphi_VCL/TabbedBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/TabbedBrowser/cef.inc +++ b/demos/Delphi_VCL/TabbedBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/TabbedBrowser2/cef.inc b/demos/Delphi_VCL/TabbedBrowser2/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/TabbedBrowser2/cef.inc +++ b/demos/Delphi_VCL/TabbedBrowser2/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/TabbedOSRBrowser/cef.inc b/demos/Delphi_VCL/TabbedOSRBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/TabbedOSRBrowser/cef.inc +++ b/demos/Delphi_VCL/TabbedOSRBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/TinyBrowser/cef.inc b/demos/Delphi_VCL/TinyBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/TinyBrowser/cef.inc +++ b/demos/Delphi_VCL/TinyBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/TinyBrowser2/cef.inc b/demos/Delphi_VCL/TinyBrowser2/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/TinyBrowser2/cef.inc +++ b/demos/Delphi_VCL/TinyBrowser2/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/ToolBoxBrowser/cef.inc b/demos/Delphi_VCL/ToolBoxBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/ToolBoxBrowser/cef.inc +++ b/demos/Delphi_VCL/ToolBoxBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/ToolBoxBrowser2/cef.inc b/demos/Delphi_VCL/ToolBoxBrowser2/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/ToolBoxBrowser2/cef.inc +++ b/demos/Delphi_VCL/ToolBoxBrowser2/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/ToolBoxSubProcessBrowser/cef.inc b/demos/Delphi_VCL/ToolBoxSubProcessBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/ToolBoxSubProcessBrowser/cef.inc +++ b/demos/Delphi_VCL/ToolBoxSubProcessBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/URLRequest/cef.inc b/demos/Delphi_VCL/URLRequest/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/URLRequest/cef.inc +++ b/demos/Delphi_VCL/URLRequest/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/VirtualUIBrowser/cef.inc b/demos/Delphi_VCL/VirtualUIBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/VirtualUIBrowser/cef.inc +++ b/demos/Delphi_VCL/VirtualUIBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/WebpageSnapshot/cef.inc b/demos/Delphi_VCL/WebpageSnapshot/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/WebpageSnapshot/cef.inc +++ b/demos/Delphi_VCL/WebpageSnapshot/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Delphi_VCL/WindowsServiceBrowser/cef.inc b/demos/Delphi_VCL/WindowsServiceBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Delphi_VCL/WindowsServiceBrowser/cef.inc +++ b/demos/Delphi_VCL/WindowsServiceBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Linux_GTK2/ExternalPumpBrowser/cef.inc b/demos/Lazarus_Linux_GTK2/ExternalPumpBrowser/cef.inc index af4e9092..da947a0a 100644 --- a/demos/Lazarus_Linux_GTK2/ExternalPumpBrowser/cef.inc +++ b/demos/Lazarus_Linux_GTK2/ExternalPumpBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} diff --git a/demos/Lazarus_Linux_GTK2/MiniBrowser/cef.inc b/demos/Lazarus_Linux_GTK2/MiniBrowser/cef.inc index af4e9092..da947a0a 100644 --- a/demos/Lazarus_Linux_GTK2/MiniBrowser/cef.inc +++ b/demos/Lazarus_Linux_GTK2/MiniBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} diff --git a/demos/Lazarus_Linux_GTK2/MobileBrowser/cef.inc b/demos/Lazarus_Linux_GTK2/MobileBrowser/cef.inc index af4e9092..da947a0a 100644 --- a/demos/Lazarus_Linux_GTK2/MobileBrowser/cef.inc +++ b/demos/Lazarus_Linux_GTK2/MobileBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} diff --git a/demos/Lazarus_Linux_GTK2/OSRExternalPumpBrowser/cef.inc b/demos/Lazarus_Linux_GTK2/OSRExternalPumpBrowser/cef.inc index af4e9092..da947a0a 100644 --- a/demos/Lazarus_Linux_GTK2/OSRExternalPumpBrowser/cef.inc +++ b/demos/Lazarus_Linux_GTK2/OSRExternalPumpBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} diff --git a/demos/Lazarus_Linux_GTK2/OSRExternalPumpBrowser2/cef.inc b/demos/Lazarus_Linux_GTK2/OSRExternalPumpBrowser2/cef.inc index af4e9092..da947a0a 100644 --- a/demos/Lazarus_Linux_GTK2/OSRExternalPumpBrowser2/cef.inc +++ b/demos/Lazarus_Linux_GTK2/OSRExternalPumpBrowser2/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} diff --git a/demos/Lazarus_Linux_GTK2/PopupBrowser2/cef.inc b/demos/Lazarus_Linux_GTK2/PopupBrowser2/cef.inc index af4e9092..da947a0a 100644 --- a/demos/Lazarus_Linux_GTK2/PopupBrowser2/cef.inc +++ b/demos/Lazarus_Linux_GTK2/PopupBrowser2/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} diff --git a/demos/Lazarus_Linux_GTK2/SimpleBrowser/cef.inc b/demos/Lazarus_Linux_GTK2/SimpleBrowser/cef.inc index af4e9092..da947a0a 100644 --- a/demos/Lazarus_Linux_GTK2/SimpleBrowser/cef.inc +++ b/demos/Lazarus_Linux_GTK2/SimpleBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} diff --git a/demos/Lazarus_Linux_GTK2/SimpleBrowser2/cef.inc b/demos/Lazarus_Linux_GTK2/SimpleBrowser2/cef.inc index af4e9092..da947a0a 100644 --- a/demos/Lazarus_Linux_GTK2/SimpleBrowser2/cef.inc +++ b/demos/Lazarus_Linux_GTK2/SimpleBrowser2/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} diff --git a/demos/Lazarus_Linux_GTK2/SimpleOSRBrowser/cef.inc b/demos/Lazarus_Linux_GTK2/SimpleOSRBrowser/cef.inc index af4e9092..da947a0a 100644 --- a/demos/Lazarus_Linux_GTK2/SimpleOSRBrowser/cef.inc +++ b/demos/Lazarus_Linux_GTK2/SimpleOSRBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} diff --git a/demos/Lazarus_Linux_GTK2/SubProcess/cef.inc b/demos/Lazarus_Linux_GTK2/SubProcess/cef.inc index af4e9092..da947a0a 100644 --- a/demos/Lazarus_Linux_GTK2/SubProcess/cef.inc +++ b/demos/Lazarus_Linux_GTK2/SubProcess/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} diff --git a/demos/Lazarus_Linux_GTK2/TabbedBrowser2/cef.inc b/demos/Lazarus_Linux_GTK2/TabbedBrowser2/cef.inc index af4e9092..da947a0a 100644 --- a/demos/Lazarus_Linux_GTK2/TabbedBrowser2/cef.inc +++ b/demos/Lazarus_Linux_GTK2/TabbedBrowser2/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} diff --git a/demos/Lazarus_Linux_GTK2/TinyBrowser/cef.inc b/demos/Lazarus_Linux_GTK2/TinyBrowser/cef.inc index af4e9092..da947a0a 100644 --- a/demos/Lazarus_Linux_GTK2/TinyBrowser/cef.inc +++ b/demos/Lazarus_Linux_GTK2/TinyBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} diff --git a/demos/Lazarus_Linux_GTK2/TinyBrowser2/cef.inc b/demos/Lazarus_Linux_GTK2/TinyBrowser2/cef.inc index af4e9092..da947a0a 100644 --- a/demos/Lazarus_Linux_GTK2/TinyBrowser2/cef.inc +++ b/demos/Lazarus_Linux_GTK2/TinyBrowser2/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} diff --git a/demos/Lazarus_Linux_GTK3/OSRExternalPumpBrowser/cef.inc b/demos/Lazarus_Linux_GTK3/OSRExternalPumpBrowser/cef.inc index af4e9092..da947a0a 100644 --- a/demos/Lazarus_Linux_GTK3/OSRExternalPumpBrowser/cef.inc +++ b/demos/Lazarus_Linux_GTK3/OSRExternalPumpBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} diff --git a/demos/Lazarus_Linux_GTK3/TinyBrowser/cef.inc b/demos/Lazarus_Linux_GTK3/TinyBrowser/cef.inc index af4e9092..da947a0a 100644 --- a/demos/Lazarus_Linux_GTK3/TinyBrowser/cef.inc +++ b/demos/Lazarus_Linux_GTK3/TinyBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} diff --git a/demos/Lazarus_Linux_GTK3/TinyBrowser2/cef.inc b/demos/Lazarus_Linux_GTK3/TinyBrowser2/cef.inc index af4e9092..da947a0a 100644 --- a/demos/Lazarus_Linux_GTK3/TinyBrowser2/cef.inc +++ b/demos/Lazarus_Linux_GTK3/TinyBrowser2/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} diff --git a/demos/Lazarus_Mac/ExternalPumpBrowser/cef.inc b/demos/Lazarus_Mac/ExternalPumpBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Mac/ExternalPumpBrowser/cef.inc +++ b/demos/Lazarus_Mac/ExternalPumpBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/ConsoleBrowser2/cef.inc b/demos/Lazarus_Windows/ConsoleBrowser2/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/ConsoleBrowser2/cef.inc +++ b/demos/Lazarus_Windows/ConsoleBrowser2/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/CookieVisitor/cef.inc b/demos/Lazarus_Windows/CookieVisitor/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/CookieVisitor/cef.inc +++ b/demos/Lazarus_Windows/CookieVisitor/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/CustomResourceBrowser/cef.inc b/demos/Lazarus_Windows/CustomResourceBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/CustomResourceBrowser/cef.inc +++ b/demos/Lazarus_Windows/CustomResourceBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/DOMVisitor/cef.inc b/demos/Lazarus_Windows/DOMVisitor/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/DOMVisitor/cef.inc +++ b/demos/Lazarus_Windows/DOMVisitor/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/EditorBrowser/cef.inc b/demos/Lazarus_Windows/EditorBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/EditorBrowser/cef.inc +++ b/demos/Lazarus_Windows/EditorBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/ExternalPumpBrowser/cef.inc b/demos/Lazarus_Windows/ExternalPumpBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/ExternalPumpBrowser/cef.inc +++ b/demos/Lazarus_Windows/ExternalPumpBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/FullScreenBrowser/cef.inc b/demos/Lazarus_Windows/FullScreenBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/FullScreenBrowser/cef.inc +++ b/demos/Lazarus_Windows/FullScreenBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/JavaScript/JSDialog/cef.inc b/demos/Lazarus_Windows/JavaScript/JSDialog/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/JavaScript/JSDialog/cef.inc +++ b/demos/Lazarus_Windows/JavaScript/JSDialog/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/JavaScript/JSEval/cef.inc b/demos/Lazarus_Windows/JavaScript/JSEval/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/JavaScript/JSEval/cef.inc +++ b/demos/Lazarus_Windows/JavaScript/JSEval/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/JavaScript/JSExecutingFunctions/cef.inc b/demos/Lazarus_Windows/JavaScript/JSExecutingFunctions/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/JavaScript/JSExecutingFunctions/cef.inc +++ b/demos/Lazarus_Windows/JavaScript/JSExecutingFunctions/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/JavaScript/JSExtension/cef.inc b/demos/Lazarus_Windows/JavaScript/JSExtension/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/JavaScript/JSExtension/cef.inc +++ b/demos/Lazarus_Windows/JavaScript/JSExtension/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/JavaScript/JSExtensionWithFunction/cef.inc b/demos/Lazarus_Windows/JavaScript/JSExtensionWithFunction/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/JavaScript/JSExtensionWithFunction/cef.inc +++ b/demos/Lazarus_Windows/JavaScript/JSExtensionWithFunction/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/JavaScript/JSExtensionWithObjectParameter/cef.inc b/demos/Lazarus_Windows/JavaScript/JSExtensionWithObjectParameter/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/JavaScript/JSExtensionWithObjectParameter/cef.inc +++ b/demos/Lazarus_Windows/JavaScript/JSExtensionWithObjectParameter/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/JavaScript/JSSharedMemoryProcMessage/cef.inc b/demos/Lazarus_Windows/JavaScript/JSSharedMemoryProcMessage/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/JavaScript/JSSharedMemoryProcMessage/cef.inc +++ b/demos/Lazarus_Windows/JavaScript/JSSharedMemoryProcMessage/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/JavaScript/JSSimpleExtension/cef.inc b/demos/Lazarus_Windows/JavaScript/JSSimpleExtension/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/JavaScript/JSSimpleExtension/cef.inc +++ b/demos/Lazarus_Windows/JavaScript/JSSimpleExtension/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/JavaScript/JSSimpleWindowBinding/cef.inc b/demos/Lazarus_Windows/JavaScript/JSSimpleWindowBinding/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/JavaScript/JSSimpleWindowBinding/cef.inc +++ b/demos/Lazarus_Windows/JavaScript/JSSimpleWindowBinding/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/JavaScript/JSWindowBindingSubProcess/cef.inc b/demos/Lazarus_Windows/JavaScript/JSWindowBindingSubProcess/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/JavaScript/JSWindowBindingSubProcess/cef.inc +++ b/demos/Lazarus_Windows/JavaScript/JSWindowBindingSubProcess/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/JavaScript/JSWindowBindingWithArrayBuffer/cef.inc b/demos/Lazarus_Windows/JavaScript/JSWindowBindingWithArrayBuffer/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/JavaScript/JSWindowBindingWithArrayBuffer/cef.inc +++ b/demos/Lazarus_Windows/JavaScript/JSWindowBindingWithArrayBuffer/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/JavaScript/JSWindowBindingWithFunction/cef.inc b/demos/Lazarus_Windows/JavaScript/JSWindowBindingWithFunction/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/JavaScript/JSWindowBindingWithFunction/cef.inc +++ b/demos/Lazarus_Windows/JavaScript/JSWindowBindingWithFunction/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/JavaScript/JSWindowBindingWithObject/cef.inc b/demos/Lazarus_Windows/JavaScript/JSWindowBindingWithObject/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/JavaScript/JSWindowBindingWithObject/cef.inc +++ b/demos/Lazarus_Windows/JavaScript/JSWindowBindingWithObject/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/MediaRouter/cef.inc b/demos/Lazarus_Windows/MediaRouter/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/MediaRouter/cef.inc +++ b/demos/Lazarus_Windows/MediaRouter/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/MiniBrowser/cef.inc b/demos/Lazarus_Windows/MiniBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/MiniBrowser/cef.inc +++ b/demos/Lazarus_Windows/MiniBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/MobileBrowser/cef.inc b/demos/Lazarus_Windows/MobileBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/MobileBrowser/cef.inc +++ b/demos/Lazarus_Windows/MobileBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/OAuth2Tester/cef.inc b/demos/Lazarus_Windows/OAuth2Tester/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/OAuth2Tester/cef.inc +++ b/demos/Lazarus_Windows/OAuth2Tester/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/OSRExternalPumpBrowser/cef.inc b/demos/Lazarus_Windows/OSRExternalPumpBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/OSRExternalPumpBrowser/cef.inc +++ b/demos/Lazarus_Windows/OSRExternalPumpBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/PopupBrowser/cef.inc b/demos/Lazarus_Windows/PopupBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/PopupBrowser/cef.inc +++ b/demos/Lazarus_Windows/PopupBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/PopupBrowser2/cef.inc b/demos/Lazarus_Windows/PopupBrowser2/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/PopupBrowser2/cef.inc +++ b/demos/Lazarus_Windows/PopupBrowser2/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/PostInspectorBrowser/cef.inc b/demos/Lazarus_Windows/PostInspectorBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/PostInspectorBrowser/cef.inc +++ b/demos/Lazarus_Windows/PostInspectorBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/ResponseFilterBrowser/cef.inc b/demos/Lazarus_Windows/ResponseFilterBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/ResponseFilterBrowser/cef.inc +++ b/demos/Lazarus_Windows/ResponseFilterBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/SchemeRegistrationBrowser/cef.inc b/demos/Lazarus_Windows/SchemeRegistrationBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/SchemeRegistrationBrowser/cef.inc +++ b/demos/Lazarus_Windows/SchemeRegistrationBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/SchemeRegistrationBrowser_subprocess/cef.inc b/demos/Lazarus_Windows/SchemeRegistrationBrowser_subprocess/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/SchemeRegistrationBrowser_subprocess/cef.inc +++ b/demos/Lazarus_Windows/SchemeRegistrationBrowser_subprocess/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/SimpleBrowser/cef.inc b/demos/Lazarus_Windows/SimpleBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/SimpleBrowser/cef.inc +++ b/demos/Lazarus_Windows/SimpleBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/SimpleBrowser2/cef.inc b/demos/Lazarus_Windows/SimpleBrowser2/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/SimpleBrowser2/cef.inc +++ b/demos/Lazarus_Windows/SimpleBrowser2/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/SimpleExternalPumpBrowser/cef.inc b/demos/Lazarus_Windows/SimpleExternalPumpBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/SimpleExternalPumpBrowser/cef.inc +++ b/demos/Lazarus_Windows/SimpleExternalPumpBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/SimpleOSRBrowser/cef.inc b/demos/Lazarus_Windows/SimpleOSRBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/SimpleOSRBrowser/cef.inc +++ b/demos/Lazarus_Windows/SimpleOSRBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/SimpleOSRBrowser2/cef.inc b/demos/Lazarus_Windows/SimpleOSRBrowser2/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/SimpleOSRBrowser2/cef.inc +++ b/demos/Lazarus_Windows/SimpleOSRBrowser2/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/SimpleServer/cef.inc b/demos/Lazarus_Windows/SimpleServer/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/SimpleServer/cef.inc +++ b/demos/Lazarus_Windows/SimpleServer/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/SubProcess/cef.inc b/demos/Lazarus_Windows/SubProcess/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/SubProcess/cef.inc +++ b/demos/Lazarus_Windows/SubProcess/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/TabbedBrowser/cef.inc b/demos/Lazarus_Windows/TabbedBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/TabbedBrowser/cef.inc +++ b/demos/Lazarus_Windows/TabbedBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/TabbedBrowser2/cef.inc b/demos/Lazarus_Windows/TabbedBrowser2/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/TabbedBrowser2/cef.inc +++ b/demos/Lazarus_Windows/TabbedBrowser2/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/TinyBrowser/cef.inc b/demos/Lazarus_Windows/TinyBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/TinyBrowser/cef.inc +++ b/demos/Lazarus_Windows/TinyBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/TinyBrowser2/cef.inc b/demos/Lazarus_Windows/TinyBrowser2/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/TinyBrowser2/cef.inc +++ b/demos/Lazarus_Windows/TinyBrowser2/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/ToolBoxBrowser/cef.inc b/demos/Lazarus_Windows/ToolBoxBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/ToolBoxBrowser/cef.inc +++ b/demos/Lazarus_Windows/ToolBoxBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/ToolBoxBrowser2/cef.inc b/demos/Lazarus_Windows/ToolBoxBrowser2/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/ToolBoxBrowser2/cef.inc +++ b/demos/Lazarus_Windows/ToolBoxBrowser2/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/URLRequest/cef.inc b/demos/Lazarus_Windows/URLRequest/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/URLRequest/cef.inc +++ b/demos/Lazarus_Windows/URLRequest/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/VirtualUIBrowser/cef.inc b/demos/Lazarus_Windows/VirtualUIBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/VirtualUIBrowser/cef.inc +++ b/demos/Lazarus_Windows/VirtualUIBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_Windows/WebpageSnapshot/cef.inc b/demos/Lazarus_Windows/WebpageSnapshot/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_Windows/WebpageSnapshot/cef.inc +++ b/demos/Lazarus_Windows/WebpageSnapshot/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_any_OS/AppHelper/cef.inc b/demos/Lazarus_any_OS/AppHelper/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_any_OS/AppHelper/cef.inc +++ b/demos/Lazarus_any_OS/AppHelper/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_any_OS/BrowserWindow/cef.inc b/demos/Lazarus_any_OS/BrowserWindow/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_any_OS/BrowserWindow/cef.inc +++ b/demos/Lazarus_any_OS/BrowserWindow/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_any_OS/BrowserWindowDom/AppHelper/cef.inc b/demos/Lazarus_any_OS/BrowserWindowDom/AppHelper/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_any_OS/BrowserWindowDom/AppHelper/cef.inc +++ b/demos/Lazarus_any_OS/BrowserWindowDom/AppHelper/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_any_OS/BrowserWindowDom/cef.inc b/demos/Lazarus_any_OS/BrowserWindowDom/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_any_OS/BrowserWindowDom/cef.inc +++ b/demos/Lazarus_any_OS/BrowserWindowDom/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_any_OS/BrowserWindowEx/cef.inc b/demos/Lazarus_any_OS/BrowserWindowEx/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_any_OS/BrowserWindowEx/cef.inc +++ b/demos/Lazarus_any_OS/BrowserWindowEx/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_any_OS/BrowserWindowOsrDom/AppHelper/cef.inc b/demos/Lazarus_any_OS/BrowserWindowOsrDom/AppHelper/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_any_OS/BrowserWindowOsrDom/AppHelper/cef.inc +++ b/demos/Lazarus_any_OS/BrowserWindowOsrDom/AppHelper/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_any_OS/BrowserWindowOsrDom/cef.inc b/demos/Lazarus_any_OS/BrowserWindowOsrDom/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_any_OS/BrowserWindowOsrDom/cef.inc +++ b/demos/Lazarus_any_OS/BrowserWindowOsrDom/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/demos/Lazarus_any_OS/ExternalPumpBrowser/cef.inc b/demos/Lazarus_any_OS/ExternalPumpBrowser/cef.inc index 17a4cdb9..da947a0a 100644 --- a/demos/Lazarus_any_OS/ExternalPumpBrowser/cef.inc +++ b/demos/Lazarus_any_OS/ExternalPumpBrowser/cef.inc @@ -1,40 +1,3 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2023 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions @@ -430,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} @@ -505,3 +497,11 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} diff --git a/packages/cef4delphi_lazarus.lpk b/packages/cef4delphi_lazarus.lpk index a12780d3..f80eb8da 100644 --- a/packages/cef4delphi_lazarus.lpk +++ b/packages/cef4delphi_lazarus.lpk @@ -21,7 +21,7 @@ - + diff --git a/source/cef.inc b/source/cef.inc index 22362019..da947a0a 100644 --- a/source/cef.inc +++ b/source/cef.inc @@ -393,6 +393,35 @@ {$DEFINE DELPHI28_UP} {$ENDIF} +// Rad Studio 12.0 - Delphi Yukon +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + {$IFDEF FPC} {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} diff --git a/source/uCEFVersion.inc b/source/uCEFVersion.inc index e707b8f9..943a8c87 100644 --- a/source/uCEFVersion.inc +++ b/source/uCEFVersion.inc @@ -1,6 +1,6 @@ CEF_SUPPORTED_VERSION_MAJOR = 118; CEF_SUPPORTED_VERSION_MINOR = 6; - CEF_SUPPORTED_VERSION_RELEASE = 6; + CEF_SUPPORTED_VERSION_RELEASE = 7; CEF_SUPPORTED_VERSION_BUILD = 0; CEF_CHROMEELF_VERSION_MAJOR = CEF_SUPPORTED_VERSION_MAJOR; diff --git a/update_CEF4Delphi.json b/update_CEF4Delphi.json index 607a9864..fc75b15f 100644 --- a/update_CEF4Delphi.json +++ b/update_CEF4Delphi.json @@ -2,9 +2,9 @@ "UpdateLazPackages" : [ { "ForceNotify" : true, - "InternalVersion" : 531, + "InternalVersion" : 532, "Name" : "cef4delphi_lazarus.lpk", - "Version" : "118.6.6" + "Version" : "118.6.7" } ], "UpdatePackageData" : {