Gnash
0.8.11dev
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
libbase
tu_file.h
Go to the documentation of this file.
1
// tu_file.h -- Ignacio Castaņo, Thatcher Ulrich 2003
2
3
// This source code has been donated to the Public Domain. Do
4
// whatever you want with it.
5
6
// A very generic file class that can be customized with callbacks.
7
8
9
#ifndef TU_FILE_H
10
#define TU_FILE_H
11
12
#include <cstdio>
13
#include <memory>
14
#include "
dsodefs.h
"
15
16
namespace
gnash {
17
class
IOChannel;
18
}
19
20
namespace
gnash {
21
24
//
28
DSOEXPORT
std::auto_ptr<IOChannel>
makeFileChannel
(FILE* fp,
bool
close);
29
32
//
39
DSOEXPORT
std::auto_ptr<IOChannel>
makeFileChannel
(
const
char
* filepath,
const
char
* mode);
40
41
}
// namespace gnash
42
#endif
43
44
// Local Variables:
45
// mode: C++
46
// indent-tabs-mode: t
47
// End:
dsodefs.h
gnash::makeFileChannel
std::auto_ptr< IOChannel > makeFileChannel(FILE *fp, bool close)
Creates an IOChannel wrapper around a C stream.
Definition:
tu_file.cpp:244
DSOEXPORT
#define DSOEXPORT
Definition:
dsodefs.h:55
Generated on Mon Sep 8 2014 20:33:34 for Gnash by
1.8.7