~ubuntu-branches/debian/squeeze/sword/squeeze

« back to all changes in this revision

Viewing changes to olb/prn2sword.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Glassey
  • Date: 2004-01-15 15:50:07 UTC
  • Revision ID: james.westby@ubuntu.com-20040115155007-n9mz4x0zxrs1isd3
Tags: upstream-1.5.7
ImportĀ upstreamĀ versionĀ 1.5.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//---------------------------------------------------------------------------
 
2
#include <vcl.h>
 
3
#pragma hdrstop
 
4
USERES("prn2sword.res");
 
5
USEFORM("prn2swordfrm.cpp", Form2);
 
6
USEUNIT("..\src\keys\versekey.cpp");
 
7
USEUNIT("..\src\keys\strkey.cpp");
 
8
USEUNIT("..\src\keys\swkey.cpp");
 
9
USEUNIT("..\src\keys\listkey.cpp");
 
10
USEUNIT("..\src\utilfuns\utilstr.cpp");
 
11
USEUNIT("..\src\mgr\localemgr.cpp");
 
12
USEUNIT("..\src\mgr\swlocale.cpp");
 
13
USEUNIT("..\src\mgr\swconfig.cpp");
 
14
USEUNIT("..\src\mgr\swmgr.cpp");
 
15
USEUNIT("..\src\mgr\filemgr.cpp");
 
16
USEUNIT("..\src\utilfuns\roman.c");
 
17
//---------------------------------------------------------------------------
 
18
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
 
19
{
 
20
        try
 
21
        {
 
22
                Application->Initialize();
 
23
                Application->CreateForm(__classid(TForm2), &Form2);
 
24
                 Application->Run();
 
25
        }
 
26
        catch (Exception &exception)
 
27
        {
 
28
                Application->ShowException(&exception);
 
29
        }
 
30
        return 0;
 
31
}
 
32
//---------------------------------------------------------------------------