Gnash  0.8.11dev
as_class.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 #ifndef GNASH_ABC_AS_CLASS_H
20 #define GNASH_ABC_AS_CLASS_H
21 
22 #include <string>
23 #include "as_object.h"
24 namespace gnash {
25  namespace abc {
26  class Class;
27  }
28 }
29 
30 namespace gnash {
31 namespace abc {
32 
34 //
37 //
42 //
45 //
47 class as_class : public as_object
48 {
49 public:
50 
51  as_class(Global_as& gl, Class* c);
52  virtual ~as_class() {}
53 
54  virtual const std::string& stringValue() const;
55 
56 private:
57 
58  Class* _class;
59 
60  const std::string _name;
61 };
62 
63 } // namespace abc
64 } // namespace gnash
65 
66 #endif
virtual ~as_class()
Definition: as_class.h:52
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
Definition: GnashKey.h:149
The base class for all ActionScript objects.
Definition: as_object.h:161
A class to represent AS3 Classes.
Definition: Class.h:75
The Global object ultimately contains all objects in an ActionScript run.
Definition: Global_as.h:49
The implementation of a &#39;Class&#39; type in ActionScript 3.
Definition: as_class.h:47