SoftBookTypes.h Source File documentation

SoftBookTypes.h
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2/*
3 * This file is part of the libe-book project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#ifndef SOFTBOOKTYPES_H_INCLUDED
11#define SOFTBOOKTYPES_H_INCLUDED
12
13#include <string>
14
15namespace libebook
16{
17
18 enum SoftBookColorMode
19{
20 SOFTBOOK_COLOR_MODE_UNKNOWN,
21 SOFTBOOK_COLOR_MODE_COLOR,
22 SOFTBOOK_COLOR_MODE_GRAYSCALE
23};
24
25 struct SoftBookMetadata
26{
27 SoftBookMetadata();
28
29 std::string id;
30 std::string category;
31 std::string subcategory;
32 std::string title;
33 std::string lastName;
34 std::string middleName;
35 std::string firstName;
36};
37
38}
39
40#endif // SOFTBOOKTYPES_H_INCLUDED
41
42/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libebook
Definition BBeBCollector.cpp:19
libebook::SoftBookColorMode
SoftBookColorMode
Definition SoftBookTypes.h:19
libebook::SOFTBOOK_COLOR_MODE_COLOR
@ SOFTBOOK_COLOR_MODE_COLOR
Definition SoftBookTypes.h:21
libebook::SOFTBOOK_COLOR_MODE_UNKNOWN
@ SOFTBOOK_COLOR_MODE_UNKNOWN
Definition SoftBookTypes.h:20
libebook::SOFTBOOK_COLOR_MODE_GRAYSCALE
@ SOFTBOOK_COLOR_MODE_GRAYSCALE
Definition SoftBookTypes.h:22
libebook::SoftBookMetadata
Definition SoftBookTypes.h:26
libebook::SoftBookMetadata::SoftBookMetadata
SoftBookMetadata()
Definition SoftBookTypes.cpp:15
libebook::SoftBookMetadata::title
std::string title
Definition SoftBookTypes.h:32
libebook::SoftBookMetadata::category
std::string category
Definition SoftBookTypes.h:30
libebook::SoftBookMetadata::subcategory
std::string subcategory
Definition SoftBookTypes.h:31
libebook::SoftBookMetadata::middleName
std::string middleName
Definition SoftBookTypes.h:34
libebook::SoftBookMetadata::lastName
std::string lastName
Definition SoftBookTypes.h:33
libebook::SoftBookMetadata::id
std::string id
Definition SoftBookTypes.h:29
libebook::SoftBookMetadata::firstName
std::string firstName
Definition SoftBookTypes.h:35