SIILJPGFileDriver.h

Go to the documentation of this file.
00001 //***************************************************************************************
00002 // File supervisor: Crosswalk team
00012 //***************************************************************************************
00013 
00014 //***************************************************************************************
00015 // Defines
00016 //***************************************************************************************
00017 #ifndef __CSIILJPGFileDriver_H__
00018 #define __CSIILJPGFileDriver_H__
00019 
00020 //***************************************************************************************
00021 // Includes
00022 //***************************************************************************************
00023 #include <SIBCPixMap.h>
00024 
00025 
00026 //***************************************************************************************
00027 // Typedefs
00028 //***************************************************************************************
00029 
00032 class XSIEXPORT CSIILJPGFileDriver : public CSIBCPixMapDriver
00033 {
00034 public:
00037     CSIILJPGFileDriver();
00038 
00041     virtual ~CSIILJPGFileDriver();
00042 
00048     virtual SI_Bool Supported( CSIBCString &in_Filename );
00049 
00057     virtual SI_Error Load( CSIBCString &in_filename, CSIBCPixMap &in_PixMap );
00058 
00062     static CSIILJPGFileDriver *Driver();
00063 private:
00064 
00065     SI_Error ReadPixels(_SI_FILE *filePtr, CSIBCPixMap &);
00066 
00067     // shielding from any lib dependencies
00068     void    *jpgInfo;
00069 };
00070 
00071 
00072 
00073 
00074 #endif // CSIILJPGFileDriver