00001 /* 00002 * libopenraw - tiffepfile.h 00003 * 00004 * Copyright (C) 2007-2008 Hubert Figuiere 00005 * Copyright (C) 2008 Novell, Inc. 00006 * 00007 * This library is free software: you can redistribute it and/or 00008 * modify it under the terms of the GNU Lesser General Public License 00009 * as published by the Free Software Foundation, either version 3 of 00010 * the License, or (at your option) any later version. 00011 * 00012 * This library is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 * Lesser General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Lesser General Public 00018 * License along with this library. If not, see 00019 * <http://www.gnu.org/licenses/>. 00020 */ 00021 00022 00023 #ifndef _TIFF_EP_FILE_H_ 00024 #define _TIFF_EP_FILE_H_ 00025 00026 #include "ifdfile.h" 00027 00028 00029 namespace OpenRaw { 00030 namespace Internals { 00031 00032 00035 class TiffEpFile 00036 : public IFDFile 00037 { 00038 public: 00039 TiffEpFile(IO::Stream *s, Type _type); 00040 00041 protected: 00042 00043 virtual IFDDir::Ref _locateCfaIfd(); 00044 virtual IFDDir::Ref _locateMainIfd(); 00045 00046 virtual ::or_error _getRawData(RawData & data, uint32_t options); 00047 }; 00048 00049 } 00050 } 00051 00052 /* 00053 Local Variables: 00054 mode:c++ 00055 c-file-style:"stroustrup" 00056 c-file-offsets:((innamespace . 0)) 00057 indent-tabs-mode:nil 00058 fill-column:80 00059 End: 00060 */ 00061 #endif