-
Notifications
You must be signed in to change notification settings - Fork 0
/
includes.h
43 lines (36 loc) · 1.66 KB
/
includes.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
/* PreReq C++ & C includes */
#include <iostream>
#include <cstring>
#include <unistd.h>
#include <getopt.h>
#include <math.h>
#include <sstream>
#include <filesystem>
#include <memory>
#include <vector>
#include <sstream>
#include <algorithm>
#include <cctype>
#include <string>
#include <array>
/* Liesel dependencies: GraphicsMagick, Poppler + Haru */
#include <Magick++.h>
#include <poppler/cpp/poppler-global.h>
#include <poppler/cpp/poppler-document.h>
#include <poppler/cpp/poppler-page.h>
#include <poppler/cpp/poppler-image.h>
#include <poppler/cpp/poppler-page-renderer.h>
#include <hpdf.h>
/* Custom/general includes */
#include "functions/general/explode.cpp" // Explodes string into vector<string> using arbitrary given delimiter (ie, "8.5x11" exploded by delimiter 'x' returns vector[0] = "8.5", vector[1] = "11")
#include "functions/general/has_ending.cpp" // bool STR ends with SUBSTR
#include "functions/general/starts_with.cpp" // bool STR starts with SUBSTR
#include "functions/general/is_number.cpp" // bool STR consists of only digits
#include "functions/general/is_decimal.cpp" // bool STR is either an integer or a proper decimal number (ie, strings "3" and "8.5" pass, strings "abc" and "8.5.3" fail)
#include "functions/general/file_exists.cpp" // bool Given file exists
#include "functions/general/iswritable.cpp" // bool Path is writable by effective UID
/* Classes */
#include "classes/hans.cpp" // Bare-bones C++ wrapper for libHaru
#include "classes/liesel.cpp" // The Liesel namespace & its Book class
/* Liesel-specific includes */
#include "functions/btfunctions/checksegout.cpp" // bool Segmented output files don't already exist (unless -f is specified)