IMPTypes.h Source File documentation

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

IMPTypes.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 IMPTYPES_H_INCLUDED
11 #define IMPTYPES_H_INCLUDED
12
13 #include <string>
14
15 namespace libebook
16 {
17
18 enum IMPColorMode
19 {
20 IMP_COLOR_MODE_UNKNOWN,
21 IMP_COLOR_MODE_COLOR,
22 IMP_COLOR_MODE_GRAYSCALE
23 };
24
25 struct IMPMetadata
26 {
27 IMPMetadata();
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 // IMPTYPES_H_INCLUDED
41
42 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libebook::IMPColorMode
IMPColorMode
Definition: IMPTypes.h:18
libebook::IMPMetadata::title
std::string title
Definition: IMPTypes.h:32
libebook::IMP_COLOR_MODE_COLOR
Definition: IMPTypes.h:21
libebook::IMPMetadata
Definition: IMPTypes.h:25
libebook::IMP_COLOR_MODE_GRAYSCALE
Definition: IMPTypes.h:22
libebook::IMP_COLOR_MODE_UNKNOWN
Definition: IMPTypes.h:20
libebook::IMPMetadata::category
std::string category
Definition: IMPTypes.h:30
libebook::IMPMetadata::middleName
std::string middleName
Definition: IMPTypes.h:34
libebook
Definition: CHMParser.cpp:20
libebook::IMPMetadata::id
std::string id
Definition: IMPTypes.h:29
libebook::IMPMetadata::firstName
std::string firstName
Definition: IMPTypes.h:35
libebook::IMPMetadata::IMPMetadata
IMPMetadata()
Definition: IMPTypes.cpp:15
libebook::IMPMetadata::lastName
std::string lastName
Definition: IMPTypes.h:33
libebook::IMPMetadata::subcategory
std::string subcategory
Definition: IMPTypes.h:31