Gnash 0.8.10dev
|
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 00022 DSOEXPORT std::auto_ptr<IOChannel> makeFileChannel(FILE* fp, bool close); 00023 00024 } // namespace gnash 00025 #endif 00026 00027 // Local Variables: 00028 // mode: C++ 00029 // indent-tabs-mode: t 00030 // End: