Gnash  0.8.10
tu_file.h
Go to the documentation of this file.
00001 // tu_file.h    -- Ignacio Castaņo, Thatcher Ulrich 2003
00002 
00003 // This source code has been donated to the Public Domain.  Do
00004 // whatever you want with it.
00005 
00006 // A very generic file class that can be customized with callbacks.
00007 
00008 
00009 #ifndef TU_FILE_H
00010 #define TU_FILE_H
00011 
00012 #include <cstdio>
00013 #include <memory>
00014 #include "dsodefs.h"
00015 
00016 namespace gnash {
00017     class IOChannel;
00018 }
00019 
00020 namespace gnash {
00021 
00024 //
00028 DSOEXPORT std::auto_ptr<IOChannel> makeFileChannel(FILE* fp, bool close);
00029 
00032 //
00039 DSOEXPORT std::auto_ptr<IOChannel> makeFileChannel(const char* filepath, const char* mode);
00040 
00041 } // namespace gnash
00042 #endif 
00043 
00044 // Local Variables:
00045 // mode: C++
00046 // indent-tabs-mode: t
00047 // End: