{ $HDR$}
{**********************************************************************}
{ Unit archived using Team Coherence                                   }
{ Team Coherence is Copyright 2002 by Quality Software Components      }
{                                                                      }
{ For further information / comments, visit our WEB site at            }
{ http://www.TeamCoherence.com                                         }
{**********************************************************************}
{}
{ $Log:  11711: IdRegister.pas 
{
{   Rev 1.28    2003.10.19 1:35:46 PM  czhower
{ Moved Borland define to .inc
}
{
{   Rev 1.27    2003.10.17 6:19:50 PM  czhower
{ Temporarily commented out FTPServer.
}
{
{   Rev 1.26    2003.10.14 1:27:58 PM  czhower
{ DotNet
}
{
{   Rev 1.25    10/12/2003 1:49:58 PM  BGooijen
{ Changed comment of last checkin
}
{
{   Rev 1.24    10/12/2003 1:43:42 PM  BGooijen
{ Changed IdCompilerDefines.inc to Core\IdCompilerDefines.inc
}
{
{   Rev 1.23    9/20/2003 04:33:08 PM  JPMugaas
{ Removed reference to IdThreadComponent from In the protcols packages.  It
{ should be in the core package.
}
{
{   Rev 1.22    9/19/2003 04:27:08 PM  JPMugaas
{ Removed IdFTPServer so Indy can compile with Kudzu's new changes.
}
{
{   Rev 1.21    9/16/2003 11:58:12 PM  JPMugaas
{ Updated packages with TIdSocksServer and IdHL7.
}
{
{   Rev 1.20    7/13/2003 06:28:56 PM  JPMugaas
{ Added TIdCompressorBorZLib to palette for HTTP compression (gzip, deflate).
}
{
{   Rev 1.19    6/16/2003 09:53:26 PM  JPMugaas
{ IdIMAP4 now added back into the packages.
}
{
{   Rev 1.18    6/15/2003 03:26:06 PM  JPMugaas
{ Renamed IdDirectSMTP to IdSMTPRelay.
}
{
{   Rev 1.17    6/2/2003 01:59:34 AM  JPMugaas
{ Temporarily removed IMAP4.
}
{
{   Rev 1.16    5/11/2003 05:33:32 AM  JPMugaas
}
{
{   Rev 1.15    5/10/2003 10:11:22 PM  JPMugaas
{ Added S/Key SASL mechanism.
}
{
{   Rev 1.14    10/5/2003 10:26:42 AM  SGrobety
{ CRAM-MD5 added
}
{
{   Rev 1.13    5/7/2003 04:38:22 AM  JPMugaas
{ IMAP4 added back.
}
{
{   Rev 1.12    4/23/2003 05:16:20 PM  JPMugaas
{ Temporarily removed IMAP4.  That unit does not compile.
}
{
{   Rev 1.11    4/10/2003 02:43:44 PM  JPMugaas
{ Fixed compile error.
}
{
    Rev 1.10    4/10/2003 4:36:54 PM  BGooijen
  Added TIdServerCompressionIntercept
}
{
    Rev 1.9    3/22/2003 11:11:26 PM  BGooijen
  Added TIdServerInterceptLogEvent and TIdServerInterceptLogFile
}
{
{   Rev 1.8    3/13/2003 11:06:26 AM  JPMugaas
{ Classes were renamed in OpenSSL unit.
}
{
{   Rev 1.7    2/24/2003 10:16:40 PM  JPMugaas
{ Removed IdSocksServer from unit.
}
{
{   Rev 1.6    2/24/2003 08:15:28 AM  JPMugaas
{ IOHandlerSSL included.
}
{
{   Rev 1.5    2/6/2003 03:18:24 AM  JPMugaas
{ Updated components that compile with Indy 10.
}
{
{   Rev 1.4    1/9/2003 07:19:18 AM  JPMugaas
{ Temporarily removed Tunnel components until we can get them working with the
{ Context class.
}
{
{   Rev 1.3    12/16/2002 03:34:40 AM  JPMugaas
{ Added OTP SASL mechanism to palette.
}
{
{   Rev 1.2    12/15/2002 05:50:16 PM  JPMugaas
{ SMTP and IMAP4 compile.  IdPOP3, IdFTP, IMAP4, and IdSMTP now restored in
{ IdRegister.
}
{
{   Rev 1.1    12/7/2002 06:43:24 PM  JPMugaas
{ These should now compile except for Socks server.  IPVersion has to be a
{ property someplace for that.
}
{
{   Rev 1.0    11/13/2002 07:58:56 AM  JPMugaas
}
unit IdRegister;

{$I Core\IdCompilerDefines.inc}

interface


{$IFDEF DOTNET}
  {$R IconsDotNet\TIdCookieManager.bmp}
  {$R IconsDotNet\TIdEcho.bmp}
  {$R IconsDotNet\TIdFinger.bmp}
  {$R IconsDotNet\TIdGopher.bmp}
  {$R IconsDotNet\TIdHTTP.bmp}
  {$R IconsDotNet\TIdMessage.bmp}
  {$R IconsDotNet\TIdWhois.bmp}
  {$R IconsDotNet\TIdTime.bmp}
  {$R IconsDotNet\TIdSMTP.bmp}
  {$R IconsDotNet\TIdQOTD.bmp}
  {$R IconsDotNet\TIdPOP3.bmp}
  {$R IconsDotNet\TIdEncoderMIME.bmp}
  {$R IconsDotNet\TIdEncoderUUE.bmp}
  {$R IconsDotNet\TIdEncoderXXE.bmp}
  {$R IconsDotNet\TIdEncoderQuotedPrintable.bmp}
  {$R IconsDotNet\TIdDecoderMIME.bmp}
  {$R IconsDotNet\TIdDecoderUUE.bmp}
  {$R IconsDotNet\TIdDecoderXXE.bmp}
  {$R IconsDotNet\TIdDecoderQuotedPrintable.bmp}
{$ELSE}
  {$IFDEF Borland}
    {$R IdRegister.dcr}
  {$ELSE}
    {$R IdRegisterCool.dcr}
  {$ENDIF}
{$ENDIF}

uses
  Classes;

// Procs
  procedure Register;

implementation

uses
  {$IFNDEF DOTNET}
                                
  IdChargenServer,
  IdChargenUDPServer,
  {$ENDIF}
  IdCoder3to4,
  IdCoderMIME,
  IdCoderQuotedPrintable,
  IdCoderUUE,
  IdCoderXXE,
  {$IFNDEF DOTNET}
                                
                             
  IdConnectThroughHttpProxy,
  {$ENDIF}
  IdCookieManager,
  IdCoreResourceStrings,
  {$IFNDEF DOTNET}
  IdDateTimeStamp,
  IdDayTime,
  IdDayTimeServer,
  IdDayTimeUDP,
  IdDayTimeUDPServer,
  IdDICTServer,
  IdDiscardServer,
  IdDiscardUDPServer,
  IdDNSResolver,
  IdDNSServer,
  {$ENDIF}
  IdDsnCoreResourceStrings,
  IdEcho,
  {$IFNDEF DOTNET}
  IdEchoServer,
  IdEchoUDP,
  IdEchoUDPServer,
  {$ENDIF}
  IdFinger,
  {$IFNDEF DOTNET}
  IdFingerServer,
  IdFTP,
  IdFTPFileSystem,
//  IdFTPServer,
  {$ENDIF}
  IdGopher,
  {$IFNDEF DOTNET}
  IdGopherServer,
  {$ENDIF}
  IdHashMessageDigest,
  {$IFNDEF DOTNET}
  IdHL7,
  {$ENDIF}
  IdHTTP,
  {$IFNDEF DOTNET}
  IdHTTPServer,
  IdIdent,
  IdIdentServer,
  IdIMAP4,
  IdIMAP4Server,
  IdIPMCastClient,
  IdIPMCastServer,
  IdIPWatch,
  IdIRC,
  IdIrcServer,
  IdLPR,
  IdMailBox,
  IdMappedFTP,
  IdMappedPortTCP,
  IdMappedPortUDP,
  {$ENDIF}
  IdMessage,
  IdMessageCoderMIME,
  {$IFNDEF DOTNET}
  IdMessageCoderYenc,
  IdNetworkCalculator,
  IdNNTP,
  IdNNTPServer,
  {$ENDIF}
  IdPOP3,
  {$IFNDEF DOTNET}
  IdPOP3Server,
  {$ENDIF}
  IdQotd,
  {$IFNDEF DOTNET}
  IdQotdServer,
  IdQOTDUDP,
  IdQOTDUDPServer,
  {$ENDIF}
  IdResourceStrings,
  {$IFNDEF DOTNET}
  IdRexec,
  IdRexecServer,
  IdRSH,
  IdRSHServer,
  IdSASLAnonymous,
  IdSASLExternal,
  IdSASLList,
  IdSASLLogin,
  IdSASLOTP,
  IdSASLPlain,
  IdSASLSKey,
  IdSASLUserPass,
  IdSASL_CRAM_MD5,
  IdServerInterceptLogEvent,
  IdServerInterceptLogFile,
  IdServerIOHandler,
  {$ENDIF}
  IdSMTP,
  {$IFNDEF DOTNET}
  IdSMTPRelay,
  IdSMTPServer,
  IdSNMP,
  IdSNPP,
  IdSNTP,
  IdSocksServer,
  IdSSLOpenSSL,
  IdSysLog,
  IdSysLogMessage,
  IdSysLogServer,
  IdSystat,
  IdSystatServer,
  IdSystatUDP,
  IdSystatUDPServer,
  IdTelnet,
  IdTelnetServer,
  {$ENDIF}
  IdTime,
  {$IFNDEF DOTNET}
  IdTimeServer,
  IdTimeUDP,
  IdTimeUDPServer,
  IdTrivialFTP,
  IdTrivialFTPServer,
                        
                       
  IdUserAccounts,
  IdUserPassProvider,
  IdVCard,
  {$ENDIF}
  {$IFNDEF DOTNET}
  IdWhois,
  IdWhoIsServer;
  {$ELSE}
  IdWhois;
  {$ENDIF}

procedure Register;
begin
  RegisterComponents(RSRegIndyClients, [
   //
{$IFNDEF DOTNET}
   TIdDayTime,
   TIdDayTimeUDP,
   TIdDNSResolver,
{$ENDIF}
   TIdEcho,
{$IFNDEF DOTNET}
   TIdEchoUDP,
{$ENDIF}
   TIdFinger,
{$IFNDEF DOTNET}
   TIdFTP,
{$ENDIF}
   TIdGopher,
   TIdHTTP,
{$IFNDEF DOTNET}
   TIdIdent,
   TIdIMAP4,
   TIdIPMCastClient,
   TIdIRC,
   TIdLPR,
   TIdNNTP,
{$ENDIF}
   TIdPOP3,
   TIdQOTD,
{$IFNDEF DOTNET}
   TIdQOTDUDP,
   TIdRexec,
   TIdRSH,
{$ENDIF}
   TIdSMTP,
{$IFNDEF DOTNET}
   TIdSMTPRelay,
   TIdSNMP,
   TIdSNPP,
   TIdSNTP,
   TIdSysLog,
   TIdSystat,
   TIdSystatUDP,
   TIdTelnet,
{$ENDIF}
   TIdTime,
{$IFNDEF DOTNET}
   TIdTimeUDP,
   TIdTrivialFTP,
{$ENDIF}
   TIdWhois]);

{$IFNDEF DOTNET}
  RegisterComponents(RSRegIndyServers, [
   TIdChargenServer,
   TIdChargenUDPServer,
   TIdDayTimeServer,
   TIdDayTimeUDPServer,
   TIdDICTServer,
   TIdDISCARDServer,
   TIdDiscardUDPServer,
   TIdDNSServer,
   TIdECHOServer,
   TIdEchoUDPServer,
   TIdFingerServer,
//   TIdFTPServer,
   TIdGopherServer,
   TIdHTTPServer,
   TIdIdentServer,
   TIdIMAP4Server,
   TIdIPMCastServer,
   TIdIRCServer,
   TIdMappedFTP,
   TIdMappedPop3,
   TIdMappedPortTCP,
   TIdMappedPortUDP,
   TIdMappedTelnet,
   TIdNNTPServer,
   TIdPOP3Server,
   TIdQOTDServer,
   TIdQotdUDPServer,
   TIdRexecServer,
   TIdRSHServer,
   TIdSMTPServer,
   TIdSocksServer,
   TIdSyslogServer,
   TIdSystatServer,
   TIdSystatUDPServer,
   TIdTelnetServer,
   TIdTimeServer,
   TIdTimeUDPServer,
   TIdTrivialFTPServer,
                            
                          
   TIdWhoIsServer
   ]);

  RegisterComponents(RSRegIndyIntercepts, [
                                  
                                  
                                        
   TIdServerInterceptLogEvent,
   TIdServerInterceptLogFile
   ]);

  RegisterComponents(RSRegIndyIOHandlers, [
   {Open SSL should be supported in Kylix now}
   TIdServerIOHandlerSSLOpenSSL,
   TIdSSLIOHandlerSocketOpenSSL
   ]);

  RegisterComponents(RSRegSASL, [
   TIdSASLAnonymous,
   TIdSASLCRAMMD5,
   TIdSASLExternal,
   TIdSASLList,
   TIdSASLLogin,
   TIdSASLOTP,
   TIdSASLPlain,
   TIdSASLSKey,
   TIdUserPassProvider
   ]);
 {$ENDIF}
  RegisterComponents(RSRegIndyMisc, [
                               
{$IFNDEF DOTNET}
   TIdConnectThroughHttpProxy,
{$ENDIF}
   TIdCookieManager,
   TIdEncoderMIME,
   TIdEncoderUUE,
   TIdEncoderXXE,
   TIdEncoderQuotedPrintable,
{$IFNDEF DOTNET}
   TIdDateTimeStamp,
{$ENDIF}
   TIdDecoderMIME,
   TIdDecoderUUE,
   TIdDecoderXXE,
   TIdDecoderQuotedPrintable,
{$IFNDEF DOTNET}
   TIdFTPFileSystem,
   TIdIPWatch,
   TIdHL7,

   TIdMailBox,
{$ENDIF}
{$IFNDEF DOTNET}
   TIdMessage,
   TIdMessageDecoderMIME,
   TIdMessageEncoderMIME,

   TIdMessageDecoderYenc,
   TIdMessageEncoderYenc,

   TIdNetworkCalculator,
   TIdSysLogMessage,
   TIdUserManager,
   TIdVCard
{$ELSE}
   TIdMessage
{$ENDIF}
   ]);
end;

end.
