[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r9676: Don't include element.h, a
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r9676: Don't include element.h, a forward declaration is enough and avoids |
Date: |
Thu, 04 Sep 2008 11:15:42 +0200 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 9676
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Thu 2008-09-04 11:15:42 +0200
message:
Don't include element.h, a forward declaration is enough and avoids
having to include libamf from lots of subdirs (testsuite and extensions)
modified:
libcore/as_value.h
------------------------------------------------------------
revno: 9674.1.1
committer: Sandro Santilli <address@hidden>
branch nick: mybranch
timestamp: Thu 2008-09-04 11:14:34 +0200
message:
Don't include element.h, a forward declaration is enough and avoids
having to include libamf from lots of subdirs (testsuite and extensions)
modified:
libcore/as_value.h
=== modified file 'libcore/as_value.h'
--- a/libcore/as_value.h 2008-09-03 23:46:02 +0000
+++ b/libcore/as_value.h 2008-09-04 09:14:34 +0000
@@ -26,7 +26,6 @@
#include "dsodefs.h"
#include "smart_ptr.h"
#include "CharacterProxy.h"
-#include "element.h"
#include <cmath>
#include <limits>
@@ -40,15 +39,22 @@
#include "utility.h" // UNUSED
#include "string_table.h"
-namespace gnash {
-
-class as_object;
-class fn_call;
-class as_function;
-class sprite_instance;
-class character;
-class asNamespace;
-class asName;
+// Forward declarations
+namespace gnash {
+ class as_object;
+ class fn_call;
+ class as_function;
+ class sprite_instance;
+ class character;
+ class asNamespace;
+ class asName;
+}
+namespace amf {
+ class Element;
+}
+
+namespace gnash {
+
// NaN constant for use in as_value implementation
static const double NaN = std::numeric_limits<double>::quiet_NaN();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r9676: Don't include element.h, a forward declaration is enough and avoids,
Sandro Santilli <=