blob: aa52c136895f648c929a4898eae5a87d5e56c87b (
plain)
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
|
#pragma once
#include <gtkmm.h>
#include <vector>
using namespace::std;
class Sword {
public:
Sword();
virtual ~Sword();
std::vector<std::string> getModules(void);
std::vector<std::string> getBooks(void);
void setModule(std::string modName);
void fillBuffer(std::string ref, Glib::RefPtr<Gtk::TextBuffer> buf);
void getConfig(std::string book, int chapter, struct config *conf);
protected:
std::string defaultMod;
};
struct config {
int chapter;
std::string book;
std::string bookFull;
int maxChapter;
std::string version;
};
|