-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathverse.h
executable file
·64 lines (40 loc) · 1.03 KB
/
verse.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#ifndef VERSE_H
#define VERSE_H
#include <globalish.h>
/** LE coordinate di un versetto..
*/
struct verse_coord{
int id_verse, chapter, book, verse;
};
class verse
{
private:
static verse* instance;
globalish* g;
public:
verse();
static verse* getInstance()
{
if(instance == null){
instance = new verse();
}
return instance;
}
verse_coord versetto;
verse_coord id_verse2coord(int id_verse);
int coord2id_verse(int book, int chapter,int verse );
int* coord2id_verse (int book, int chapter);
QString str,str1,str2,str3;
QString chapter(int book_n, int chapter_n);
QString chapter_r1(int book, int chapter);
QString chapter_r2(int book, int chapter);
QString chapter_r0(int book, int chapter);
QStringList chapter_text(int book, int chapter);
//QStringList chapter_verse;
int chapter_count(int book);
QString book_name(int book);
QStringList sl1,sl2,sl;
int* verse_id_ar;
//int** spacer;
};
#endif // VERSE_H