neffile.h

00001 /*
00002  * libopenraw - neffile.h
00003  *
00004  * Copyright (C) 2006-2007 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
00009  * License as published by the Free Software Foundation; either
00010  * version 2.1 of 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, write to the Free Software
00019  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
00020  */
00021 
00022 
00023 
00024 
00025 #ifndef __NEFFILE_H_
00026 #define __NEFFILE_H_
00027 
00028 #include "tiffepfile.h"
00029 
00030 namespace OpenRaw {
00031 
00032     class Thumbnail;
00033 
00034     namespace Internals {
00035         class IOFile;
00036         class IFDFileContainer;
00037 
00038         class NEFFile
00039             : public TiffEpFile
00040         {
00041         public:
00042             static RawFile *factory(const char* _filename);
00043             NEFFile(const char* _filename);
00044             virtual ~NEFFile();
00045 
00049             static bool isCompressed(RawContainer & container, uint32_t offset);
00050         private:
00051 
00052             NEFFile(const NEFFile&);
00053             NEFFile & operator=(const NEFFile &);
00054 
00055             virtual ::or_error _getRawData(RawData & data, uint32_t options);
00056         };
00057     }
00058 
00059 }
00060 
00061 #endif

Generated on Sun Mar 23 09:28:21 2008 for libopenraw by  doxygen 1.5.5