MLBookProc 1.0.1
 
Loading...
Searching...
No Matches
BookInfoEntry.h
1/*
2 * Copyright (C) 2024-2025 Yury Bobylev <bobilev_yury@mail.ru>
3 *
4 * This program is free software: you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the Free
6 * Software Foundation, version 3.
7 *
8 * This program is distributed in the hope that it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
12 *
13 * You should have received a copy of the GNU General Public License along with
14 * this program. If not, see <https://www.gnu.org/licenses/>.
15 */
16
17#ifndef BOOKINFOENTRY_H
18#define BOOKINFOENTRY_H
19
20#include <ElectroBookInfoEntry.h>
21#include <PaperBookInfoEntry.h>
22#include <string>
23
31{
32public:
37
41 virtual ~BookInfoEntry();
42
47
52
57 operator=(const BookInfoEntry &other);
58
64
68 std::string annotation;
69
73 std::string cover;
74
86
91
95 std::string language;
96
100 std::string src_language;
101
105 std::string translator;
106
111
117
122};
123
124#endif // BOOKINFOENTRY_H
BookInfoEntry()
BookInfoEntry constructor.
virtual ~BookInfoEntry()
BookInfoEntry destructor.
BookInfoEntry & operator=(const BookInfoEntry &other)
operator =
BookInfoEntry & operator=(BookInfoEntry &&other)
operator =
std::string language
Book language.
Definition BookInfoEntry.h:95
std::string translator
Translator.
Definition BookInfoEntry.h:105
PaperBookInfoEntry * paper
Pointer to PaperBookInfoEntry.
Definition BookInfoEntry.h:110
std::string annotation
Book annotation.
Definition BookInfoEntry.h:68
BookInfoEntry(const BookInfoEntry &other)
BookInfoEntry copy constructor.
int bytes_per_row
Number of bytes per row for RGB and RGBA images.
Definition BookInfoEntry.h:121
std::string cover
Book cover image.
Definition BookInfoEntry.h:73
cover_types cover_type
Type of image.
Definition BookInfoEntry.h:90
cover_types
The cover types enumerator.
Definition BookInfoEntry.h:79
@ rgb
Definition BookInfoEntry.h:82
@ rgba
Definition BookInfoEntry.h:83
@ file
Definition BookInfoEntry.h:81
@ base64
Definition BookInfoEntry.h:80
@ error
Definition BookInfoEntry.h:84
BookInfoEntry(BookInfoEntry &&other)
BookInfoEntry move constructor.
std::string src_language
Language of book source.
Definition BookInfoEntry.h:100
ElectroBookInfoEntry * electro
Various technical information about book file. See ElectroBookInfoEntry.
Definition BookInfoEntry.h:116
The ElectroBookInfoEntry class.
Definition ElectroBookInfoEntry.h:28
The PaperBookInfoEntry class.
Definition PaperBookInfoEntry.h:29