Gnash  0.8.11dev
CachedBitmap.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
3 // Free Software Foundation, Inc
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 3 of the License, or
8 // (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 
19 
20 #ifndef GNASH_BITMAP_INFO_H
21 #define GNASH_BITMAP_INFO_H
22 
23 #include "ref_counted.h"
24 #include "dsodefs.h"
25 
26 namespace gnash {
27 
28 namespace image {
29  class GnashImage;
30 }
31 
33 //
38 {
39 public:
40 
42 
43  virtual ~CachedBitmap() {}
44 
46  //
48  virtual image::GnashImage& image() = 0;
49 
51  //
53  virtual void dispose() = 0;
54 
56  //
58  virtual bool disposed() const = 0;
59 
60 };
61 
62 } // namespace gnash
63 
64 #endif
65 
66 
67 // Local Variables:
68 // mode: C++
69 // indent-tabs-mode: nil
70 // End:
For stuff that's tricky to keep track of w/r/t ownership & cleanup. The only use for this class seems...
Definition: ref_counted.h:34
CachedBitmap()
Definition: CachedBitmap.h:41
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
#define DSOEXPORT
Definition: dsodefs.h:55
Base class for different types of bitmaps.
Definition: GnashImage.h:77
virtual ~CachedBitmap()
Definition: CachedBitmap.h:43
A CachedBitmap is created by the renderer in a format of its choosing.
Definition: CachedBitmap.h:37