Source

oberchatten / OberChatten.~cp

Full commit
//---------------------------------------------------------------------------
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif /*HAVE_CONFIG_H*/

#include <vcl.h>
#include <limits.h>
#include <stdio.h>
#include <time.h>
#ifdef HDRDTOP
# pragma hdrstop
#endif //HDRSTOP

USERES("OberChatten.res");
USEFORM("MainFormUnit.cpp", MainForm);
USEFORM("AboutUnit.cpp", AboutForm);
USEFORM("MsgUnit.cpp", MsgForm);
USEFORM("SignonUnit.cpp", SignonForm);
USEUNIT("Options.cpp");
USEFORM("MsgSomebodyUnit.cpp", MsgSomebodyForm);
USEUNIT("ServerCallbacks.cpp");
USEUNIT("Events.cpp");
USEFORM("ChatFormUnit.cpp", ChatForm);
USEFORM("ChatNameUnit.cpp", ChatNameForm);
USEUNIT("General.cpp");
USEFORM("WhoisInfoUnit.cpp", WhoisInfoForm);
USEUNIT("Globals.cpp");
USEUNIT("MyUserUnit.cpp");
USEFORM("AddChumFormUnit.cpp", AddChumForm);
USEUNIT("StatusBarManagerUnit.cpp");
USEUNIT("SoundsUnit.cpp");
USERC("sounds.rc");
USERC("faces.rc");
USEFORM("DebugPasswordBoxUnit.cpp", DebugPasswordBox);
USEFORM("AwayMessageUnit.cpp", AwayMessageDlg);
USEFORM("InfoBoxUnit.cpp", InfoBox);
USERC("infobox\infoicons.rc");
USEFORM("ProfileFormUnit.cpp", ProfileForm);
USEFORM("ShadowUnit.cpp", ShadowForm);
USEUNIT("..\..\blake\blake_main.c");
USEUNIT("..\..\NetBuffer\NetBuffer.cpp");
USEUNIT("..\..\blake\blake_pendingloop.c");
USEUNIT("..\..\blake\blake_logger.c");
USEUNIT("..\..\blake\blakedb.c");
USEUNIT("..\..\blake\blake_bench.c");
USEUNIT("..\..\blake\blake_protocol.c");
USEUNIT("..\..\blake\blake_cb.c");
USEUNIT("..\..\blake\blake_network.c");
USEUNIT("..\..\blake\blake_trace.c");
USEUNIT("..\..\blake\blake_nick.c");
USEUNIT("..\..\blake\blake_ll.c");
USEUNIT("..\..\blake\blake_panic.c");
USEUNIT("..\..\blake\blake_fastqueue.c");
USEUNIT("..\..\blake\blake_strfunc.c");
USEUNIT("..\..\blake\blake_hashes.c");
USEUNIT("..\..\blake\blake_debugtables.c");
USEUNIT("..\..\blake\blake_ansi.c");
USEUNIT("..\..\blake\blake_chksum.c");
USEUNIT("..\..\blake\blake_fs.c");
USEUNIT("..\..\blake\blake_lang.c");
USEUNIT("..\..\blake\blake_netbuffer.cpp");
USEUNIT("..\..\blake\blake_safeallocate.c");
USEUNIT("..\..\blake\blake_authorisedclients.c");
USEUNIT("..\..\blake\blake_here.c");
USEUNIT("..\..\blake\blake_chomp.c");
USEUNIT("History.cpp");
USEUNIT("..\..\blake\blake_version.c");
USEFORM("SetKeyUnit.cpp", SetKeyForm);
USEFORM("IgnoreListUnit.cpp", IgnoreListForm);
USEUNIT("..\..\blake\blake_options.c");
USELIB("D:\lib\dpcrtlmm.lib");
USELIB("D:\lib\dybocryp.lib");
USELIB("D:\lib\rttb.lib");
USELIB("D:\lib\daybothreads.lib");
USEUNIT("StatsManagerUnit.cpp");
USEFORM("ServerVersionUnit.cpp", ServerVersionDlg);
USEFORM("OptionsUnit.cpp", OptionsForm);
USEFORM("StatsFormUnit.cpp", StatsForm);
//---------------------------------------------------------------------------
#include "blake.h"
#include "General.h"
//---------------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
        try
        {
                 Application->Initialize();
                 Application->Title = "OberChatten";
                 Application->CreateForm(__classid(TMainForm), &MainForm);
                 Application->CreateForm(__classid(TSignonForm), &SignonForm);
                 Application->CreateForm(__classid(TMsgSomebodyForm), &MsgSomebodyForm);
                 Application->CreateForm(__classid(TChatNameForm), &ChatNameForm);
                 Application->CreateForm(__classid(TWhoisInfoForm), &WhoisInfoForm);
                 Application->CreateForm(__classid(TAwayMessageDlg), &AwayMessageDlg);
                 Application->CreateForm(__classid(TSetKeyForm), &SetKeyForm);
                 Application->CreateForm(__classid(TStatsForm), &StatsForm);
                 Application->Run();
        }
        catch (Exception &exception)
        {
                 Application->ShowException(&exception);
        }
        return 0;
}
//---------------------------------------------------------------------------