Componentes.Terceros.jvcl/official/3.39/common/jvcl.inc
2010-01-18 16:55:50 +00:00

157 lines
5.1 KiB
PHP

{-----------------------------------------------------------------------------
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/MPL-1.1.html
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either expressed or implied. See the License for
the specific language governing rights and limitations under the License.
The Original Code is: JVCL.INC, released on 2002-07-04.
Last Modified: 2008-11-11
You may retrieve the latest version of this file at the Project JEDI's JVCL home page,
located at http://jvcl.delphi-jedi.org
Known Issues:
-----------------------------------------------------------------------------}
{$A+,B-,C+,D+,E-,F-,G+,H+,I+,J-,K-,L+,M-,N+,O+,P+,Q-,R-,S-,T-,U-,V+,W-,X+,Y+,Z1}
{$IFDEF JVCL_NO_DEBUGINFO} // set by the Installer
{$D-}
{$ENDIF JVCL_NO_DEBUGINFO}
{$I jedi.inc}
{$IFNDEF JEDI_INC}
ALERT_jedi_inc_incompatible
// secure against old versions of jedi.inc.
{$ENDIF !JEDI_INC}
// Reduces warnings on D7:
{$IFDEF COMPILER7_UP}
{$WARN UNSAFE_TYPE OFF}
{$WARN UNSAFE_CODE OFF}
{$WARN UNSAFE_CAST OFF}
{$ENDIF COMPILER7_UP}
{$IFDEF BCB}
{$ObjExportAll ON}
{$ENDIF BCB}
{$UNDEF JVCL_CONFIGURED}
{$IFDEF DEFAULT_JVCL_INC}
{-----------------------------------------------------------------------------}
{ Default configuration }
{-----------------------------------------------------------------------------}
{$I jvclbase.inc}
{$DEFINE JVCL_CONFIGURED}
{$ELSE}
{-----------------------------------------------------------------------------}
{ Delphi }
{-----------------------------------------------------------------------------}
{$IFDEF DELPHI6}
{$I jvcld6.inc}
{$DEFINE JVCL_CONFIGURED}
{$ENDIF DELPIH6}
{-----------------------------------------------------------------------------}
{$IFDEF DELPHI7}
{$I jvcld7.inc}
{$DEFINE JVCL_CONFIGURED}
{$ENDIF DELPIH7}
{-----------------------------------------------------------------------------}
{$IFDEF DELPHI9}
{$I jvcld9.inc}
{$DEFINE JVCL_CONFIGURED}
{$ENDIF DELPIH9}
{-----------------------------------------------------------------------------}
{$IFDEF DELPHI10}
{$I jvcld10.inc}
{$DEFINE JVCL_CONFIGURED}
{$ENDIF DELPIH10}
{-----------------------------------------------------------------------------}
{$IFDEF DELPHI11}
{$I jvcld11.inc}
{$DEFINE JVCL_CONFIGURED}
{$ENDIF DELPHI11}
{-----------------------------------------------------------------------------}
{$IFDEF DELPHI12}
{$I jvcld12.inc}
{$DEFINE JVCL_CONFIGURED}
{$ENDIF DELPHI12}
{-----------------------------------------------------------------------------}
{$IFDEF DELPHI14}
{$I jvcld14.inc}
{$DEFINE JVCL_CONFIGURED}
{$ENDIF DELPHI14}
{-----------------------------------------------------------------------------}
{ C++Builder }
{-----------------------------------------------------------------------------}
{$IFDEF BCB6}
{$I jvclc6.inc}
{$DEFINE JVCL_CONFIGURED}
{$ENDIF BCB6}
{-----------------------------------------------------------------------------}
{$IFDEF BCB10}
{$I jvcld10.inc} // same include file for BDS based C++
{$DEFINE JVCL_CONFIGURED}
{$ENDIF BCB10}
{-----------------------------------------------------------------------------}
{$IFDEF BCB11}
{$I jvcld11.inc} // same include file for BDS based C++
{$DEFINE JVCL_CONFIGURED}
{$ENDIF BCB11}
{-----------------------------------------------------------------------------}
{$IFDEF BCB12}
{$I jvcld12.inc} // same include file for BDS based C++
{$DEFINE JVCL_CONFIGURED}
{$ENDIF BCB12}
{-----------------------------------------------------------------------------}
{$IFDEF BCB14}
{$I jvcld14.inc} // same include file for BDS based C++
{$DEFINE JVCL_CONFIGURED}
{$ENDIF BCB14}
{$ENDIF DEFAULT_JVCL_INC}
{-----------------------------------------------------------------------------}
{$IFNDEF JVCL_CONFIGURED}
{$IFDEF SUPPORTS_COMPILETIME_MESSAGES}
{$MESSAGE FATAL 'Your Delphi/BCB version is not supported by this JVCL version!'}
{$ELSE}
'Your Delphi/BCB version is not supported by this JVCL version!'
{$ENDIF SUPPORTS_COMPILETIME_MESSAGES}
{$ENDIF !JVCL_CONFIGURED}
// check configuration dependencies
{$IFNDEF JVCL_UseQuickReport}
{$UNDEF QREPORT4}
{$ENDIF !JVCL_UseQuickReport}
{$IFDEF NO_UNITVERSIONING} // used by the Installer
{$UNDEF UNITVERSIONING}
{$ENDIF NO_UNITVERSIONING}
// D7 has theme support built in...
{$IFDEF COMPILER7_UP}
{$DEFINE JVCLThemesEnabled}
{$ELSE}
{$IFDEF JVCLThemesEnabled}
{$DEFINE JVCLThemesEnabledD56}
{$ENDIF JVCLThemesEnabled}
{$ENDIF COMPILER7_UP}
// only allowed for VCL
{$IFNDEF VCL}
{$UNDEF JvInterpreter_OLEAUTO}
{$UNDEF JVCLThemesEnabled}
{$UNDEF JVCLThemesEnabledD56}
{$ENDIF !VCL}