00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 00002 /* libe-book 00003 * Version: MPL 2.0 / LGPLv2.1+ 00004 * 00005 * This Source Code Form is subject to the terms of the Mozilla Public 00006 * License, v. 2.0. If a copy of the MPL was not distributed with this 00007 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 00008 * 00009 * Alternatively, the contents of this file may be used under the terms 00010 * of the GNU Lesser General Public License Version 2.1 or later 00011 * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are 00012 * applicable instead of those above. 00013 * 00014 * For further information visit http://libebook.sourceforge.net 00015 */ 00016 00017 #ifndef IMPTYPES_H_INCLUDED 00018 #define IMPTYPES_H_INCLUDED 00019 00020 #include <string> 00021 00022 namespace libebook 00023 { 00024 00025 enum IMPColorMode 00026 { 00027 IMP_COLOR_MODE_UNKNOWN, 00028 IMP_COLOR_MODE_COLOR, 00029 IMP_COLOR_MODE_GRAYSCALE 00030 }; 00031 00032 struct IMPMetadata 00033 { 00034 IMPMetadata(); 00035 00036 std::string id; 00037 std::string category; 00038 std::string subcategory; 00039 std::string title; 00040 std::string lastName; 00041 std::string middleName; 00042 std::string firstName; 00043 }; 00044 00045 } 00046 00047 #endif // IMPTYPES_H_INCLUDED 00048 00049 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */