1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
//
// Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
/// \mainpage
///
/// See Related Pages for movies and sprites informations
///
#ifndef GNASH_H
#define GNASH_H
#include "dsodefs.h"
#include <string>
namespace gnash {
class IOChannel;
class movie_definition; // for create_movie
class URL; // for set_base_url
class RunResources;
}
/// Freedom bites
namespace gnash {
// The file types that Gnash can handle
enum FileType {
GNASH_FILETYPE_JPEG,
GNASH_FILETYPE_PNG,
GNASH_FILETYPE_GIF,
GNASH_FILETYPE_SWF,
GNASH_FILETYPE_FLV,
GNASH_FILETYPE_UNKNOWN
};
/// The display quality.
//
/// Required for rendering and core.
enum Quality
{
QUALITY_LOW,
QUALITY_MEDIUM,
QUALITY_HIGH,
QUALITY_BEST
};
/// Initialize gnash core library
//
DSOEXPORT void gnashInit();
/// Maximum release of resources.
//
/// Calls clear_library() and
/// fontlib::clear(), and also clears some extra internal stuff
/// that may have been allocated (e.g. global ActionScript
/// objects). This should get all gnash structures off the
/// heap, with the exception of any objects that are still
/// referenced by the host program and haven't had drop_ref()
/// called on them.
///
DSOEXPORT void clear();
} // namespace gnash
#endif // GNASH_H
// Local Variables:
// mode: C++
// indent-tabs-mode: t
// End:
|