{ ---- Definitions by Serge V. Goncharov ---- }

// -- 3rdparty support start -- //
{.$DEFINE DEVEX} // DevExpress, LookAndFeel.NativeStyle property must be False
{.$DEFINE USEPNG} // Support of TPngImageList from PngComponents
{.$DEFINE TNTUNICODE} // Enable Unicode support by TntControls
// -- 3rdparty support finish -- //

// -- Experimental features -- //
{.$DEFINE USEAERO} // Use system shadows in Aero
{.$DEFINE NOSLOWDETAILS} // Simplified output without slow effects

{ ------------------------------------ }

{.$DEFINE CHANGEFORMSINDESIGN} // Changing the forms colors in design-time
{.$DEFINE SKININDESIGN} // Skin control in frames in design-time
{$DEFINE WARN_DEPRECATED} // Notify us about deprecated functions
{.$DEFINE ALITE} // Free Lite Edition
{.$DEFINE ACBETATEST}

{ ---- End defs by Serge V. Goncharov ---- }

{$IFDEF VER210}
  {$DEFINE D2010}
  {$DEFINE D2009}
  {$DEFINE D2007}
  {$DEFINE D2006}
  {$DEFINE D2005}
  {$DEFINE DELPHI6UP}
  {$DEFINE DELPHI7UP}
  {$WARN UNIT_PLATFORM OFF}
  {$WARN SYMBOL_PLATFORM OFF}
  {$DEFINE SPLASH} 
{$ENDIF}

{$IFDEF VER200}
  {$DEFINE D2009}
  {$DEFINE D2007}
  {$DEFINE D2006}
  {$DEFINE D2005}
  {$DEFINE DELPHI6UP}
  {$DEFINE DELPHI7UP}
  {$WARN UNIT_PLATFORM OFF}
  {$WARN SYMBOL_PLATFORM OFF}
  {$DEFINE SPLASH} 
{$ENDIF}

{$IFDEF VER185}
  {$DEFINE D2007}
  {$DEFINE D2006}
  {$DEFINE D2005}
  {$DEFINE DELPHI6UP}
  {$DEFINE DELPHI7UP}
  {$WARN UNIT_PLATFORM OFF}
  {$WARN SYMBOL_PLATFORM OFF}
  {$DEFINE SPLASH} 
{$ENDIF}

{$IFDEF VER180}
  {$DEFINE D2006}
  {$DEFINE D2005}
  {$DEFINE DELPHI6UP}
  {$DEFINE DELPHI7UP}
  {$WARN UNIT_PLATFORM OFF}
  {$WARN SYMBOL_PLATFORM OFF}
  {$DEFINE SPLASH} 
{$ENDIF}

{$IFDEF VER170}
  {$DEFINE D2005}
  {$DEFINE DELPHI6UP}
  {$DEFINE DELPHI7UP}
  {$WARN UNIT_PLATFORM OFF}
  {$WARN SYMBOL_PLATFORM OFF}
  {$DEFINE SPLASH} 
{$ENDIF}

{$IFDEF VER150}
  {$DEFINE COMPILER7}
  {$IFDEF BCB}
    {$DEFINE BCB7}
    {$DEFINE BCB}
    {$DEFINE DELPHI6UP}	
  {$ELSE}
    {$DEFINE DELPHI7}
    {$DEFINE DELPHI}
    {$DEFINE DELPHI6UP}
    {$DEFINE DELPHI7UP}
  {$ENDIF}
  {$WARN UNIT_PLATFORM OFF}
  {$WARN SYMBOL_PLATFORM OFF}
{$ENDIF}

{$IFDEF VER140}
  {$DEFINE COMPILER6}
  {$IFDEF BCB}
    {$DEFINE BCB6}
    {$DEFINE BCB}
    {$DEFINE DELPHI6UP}
  {$ELSE}
    {$DEFINE DELPHI6}
    {$DEFINE DELPHI}
    {$DEFINE DELPHI6UP}
  {$ENDIF}
{$ENDIF}

{$IFDEF VER130}
  {$DEFINE COMPILER5}
  {$IFDEF BCB}
    {$DEFINE BCB5}
    {$DEFINE BCB}
  {$ELSE}
    {$DEFINE DELPHI5}
    {$DEFINE DELPHI}
  {$ENDIF}
{$ENDIF}

{$IFDEF VER125}
  {$DEFINE COMPILER4}
  {$DEFINE BCB4}
  {$DEFINE BCB}
{$ENDIF}

{$IFDEF VER120}
  {$DEFINE COMPILER4}
  {$DEFINE DELPHI4}
  {$DEFINE DELPHI}
{$ENDIF}

{$IFDEF VER110}
  {$DEFINE COMPILER35}
  {$DEFINE BCB3}
{$ENDIF}

{$IFDEF VER100}
  {$DEFINE COMPILER3}
  {$DEFINE DELPHI3}
  {$DEFINE DELPHI}
{$ENDIF}

{$IFDEF VER93}
  {$DEFINE COMPILER2}
  {$DEFINE BCB1}
  {$DEFINE BCB}
{$ENDIF}

{$IFDEF VER90}
  {$DEFINE COMPILER2}
  {$DEFINE DELPHI2}
  {$DEFINE DELPHI}
{$ENDIF}

{$IFDEF VER80}
  {$DEFINE COMPILER1}
  {$DEFINE DELPHI1}
  {$DEFINE DELPHI}
{$ENDIF}

{$IFDEF DELPHI6UP}
  {$WARN SYMBOL_DEPRECATED OFF}
{$ENDIF}

{$WARNINGS OFF}

{$IFDEF DELPHI7UP}
{$DEFINE CHECKXP}
{$ENDIF}

{$DEFINE USEABLEND}

{$IFNDEF DELPHI6UP}
  {$UNDEF TNTUNICODE}
{$ENDIF}

{$IFDEF DELPHI7UP}
  {$WARN UNSAFE_CODE OFF}
  {$WARN UNSAFE_TYPE OFF}
  {$WARN UNSAFE_CAST OFF}
{$ENDIF}

{$IFDEF DELPHI6UP}
  {$IFDEF WARN_DEPRECATED}
    {$WARN SYMBOL_DEPRECATED ON}
  {$ELSE}
    {$WARN SYMBOL_DEPRECATED OFF}
  {$ENDIF}
{$ELSE}
  {$UNDEF WARN_DEPRECATED}
{$ENDIF}
