aboutsummaryrefslogtreecommitdiffstats
path: root/olb/prn2swordfrm.h
diff options
context:
space:
mode:
authordanglassey <danglassey>2002-08-14 09:57:17 +0000
committerdanglassey <danglassey>2002-08-14 09:57:17 +0000
commitc9458897ebbb739d8db83c80e06512d8a612f743 (patch)
treef8c5381045887e34388cc6b26cfccc254bf766dc /olb/prn2swordfrm.h
downloadsword-sf-cvs-c9458897ebbb739d8db83c80e06512d8a612f743.tar.gz
*** empty log message ***
Diffstat (limited to 'olb/prn2swordfrm.h')
-rw-r--r--olb/prn2swordfrm.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/olb/prn2swordfrm.h b/olb/prn2swordfrm.h
new file mode 100644
index 0000000..85fada2
--- /dev/null
+++ b/olb/prn2swordfrm.h
@@ -0,0 +1,37 @@
+//---------------------------------------------------------------------------
+#ifndef prn2swordfrmH
+#define prn2swordfrmH
+//---------------------------------------------------------------------------
+#include <Classes.hpp>
+#include <Controls.hpp>
+#include <StdCtrls.hpp>
+#include <Forms.hpp>
+#include <Dialogs.hpp>
+#include <ExtCtrls.hpp>
+//---------------------------------------------------------------------------
+class TForm2 : public TForm
+{
+__published: // IDE-managed Components
+ TPanel *Panel1;
+ TLabel *Label1;
+ TEdit *FilePathEdit;
+ TButton *FSButton;
+ TPanel *Panel2;
+ TButton *Button1;
+ TMemo *Memo1;
+ TOpenDialog *FSDialog;
+ void __fastcall FSButtonClick(TObject *Sender);
+ void __fastcall Button1Click(TObject *Sender);
+private: // User declarations
+ int fp, vfp, cfp, bfp, dfp;
+ void openFiles(char *fileName);
+ void filterVerse(char *finalBuf, char lang);
+public: // User declarations
+ __fastcall TForm2(TComponent* Owner);
+ void ProcessFile(char *fileName);
+ char getVerse(int fp, int *verseNum, char *verseBuf, char testament);
+};
+//---------------------------------------------------------------------------
+extern PACKAGE TForm2 *Form2;
+//---------------------------------------------------------------------------
+#endif