summaryrefslogtreecommitdiffstats
path: root/misc/olb/prn2swordfrm.h
diff options
context:
space:
mode:
authorChris Little <chrislit@crosswire.org>2013-06-22 09:21:20 +0000
committerChris Little <chrislit@crosswire.org>2013-06-22 09:21:20 +0000
commit82c9d8a327130d9b8e47526f9583f51d862ec96f (patch)
tree66a742206afdb3f01ac7e117effaa19d5107803e /misc/olb/prn2swordfrm.h
parent61f0c5af5fc5c7352e0320e585aa57ddce0d92a4 (diff)
downloadsword-tools-82c9d8a327130d9b8e47526f9583f51d862ec96f.tar.gz
moved this ancient, unmaintained, and unneeded converter from the sword SVN root
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@425 07627401-56e2-0310-80f4-f8cd0041bdcd
Diffstat (limited to 'misc/olb/prn2swordfrm.h')
-rw-r--r--misc/olb/prn2swordfrm.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/misc/olb/prn2swordfrm.h b/misc/olb/prn2swordfrm.h
new file mode 100644
index 0000000..162d224
--- /dev/null
+++ b/misc/olb/prn2swordfrm.h
@@ -0,0 +1,54 @@
+/*
+ * Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
+ * CrossWire Bible Society
+ * P. O. Box 2528
+ * Tempe, AZ 85280-2528
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation version 2.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ */
+
+//---------------------------------------------------------------------------
+#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