gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash/server/asobj Key.cpp


From: Sandro Santilli
Subject: [Gnash-commit] gnash/server/asobj Key.cpp
Date: Wed, 07 Feb 2007 23:31:47 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/02/07 23:31:47

Modified files:
        server/asobj   : Key.cpp 

Log message:
        minor comments fixups

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Key.cpp?cvsroot=gnash&r1=1.11&r2=1.12

Patches:
Index: Key.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Key.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- Key.cpp     7 Feb 2007 22:10:42 -0000       1.11
+++ Key.cpp     7 Feb 2007 23:31:47 -0000       1.12
@@ -406,11 +406,11 @@
 
 void key_class_init(as_object& global)
 {
-       // FIXME: conform to getKeyInterface/attachKeyInterface
 
 //         GNASH_REPORT_FUNCTION;
 
     // Create built-in key object.
+    // NOTE: _global.Key *is* an object, not a constructor
     as_object* key_obj = new key_as_object;
 
     // constants
@@ -434,10 +434,6 @@
     KEY_CONST(TAB);
     KEY_CONST(UP);
 
-    // FIXME: is this function even called/allowed ?
-    //        if so we shouldn't ever explicitly set
-    //        these methods, but rather rely on inheritance
-
     // methods
     key_obj->init_member("addListener", &key_add_listener);
     key_obj->init_member("getAscii", &key_get_ascii);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]