[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog server/asobj/Mouse.cpp
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog server/asobj/Mouse.cpp |
Date: |
Fri, 30 Mar 2007 14:58:26 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/03/30 14:58:26
Modified files:
. : ChangeLog
server/asobj : Mouse.cpp
Log message:
cleanups
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2735&r2=1.2736
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Mouse.cpp?cvsroot=gnash&r1=1.6&r2=1.7
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2735
retrieving revision 1.2736
diff -u -b -r1.2735 -r1.2736
--- ChangeLog 30 Mar 2007 14:55:12 -0000 1.2735
+++ ChangeLog 30 Mar 2007 14:58:26 -0000 1.2736
@@ -1,5 +1,6 @@
2007-03-30 Sandro Santilli <address@hidden>
+ * server/asobj/Mouse.cpp: cleanups.
* libbase/network.cpp: minor cleanups in debugging lines.
* server/asobj/xmlsocket.{cpp,h}: first pass at cleanup,
fix XMLSocket.connect() to return the correct value.
Index: server/asobj/Mouse.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Mouse.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/asobj/Mouse.cpp 19 Mar 2007 17:11:14 -0000 1.6
+++ server/asobj/Mouse.cpp 30 Mar 2007 14:58:26 -0000 1.7
@@ -73,20 +73,59 @@
//double get_numeric_value() const { return 0; }
};
-as_value mouse_addlistener(const fn_call& /*fn*/) {
- log_warning("%s: unimplemented \n", __FUNCTION__);
+as_value mouse_addlistener(const fn_call& fn)
+{
+ boost::intrusive_ptr<mouse_as_object>
obj=ensureType<mouse_as_object>(fn.this_ptr);
+ UNUSED(obj);
+
+ static bool warned=false;
+ if ( ! warned )
+ {
+ log_warning("%s: unimplemented", __FUNCTION__);
+ warned=true;
+ }
return as_value();
}
-as_value mouse_hide(const fn_call& /*fn*/) {
- log_warning("%s: unimplemented \n", __FUNCTION__);
+
+as_value mouse_hide(const fn_call& fn)
+{
+ boost::intrusive_ptr<mouse_as_object>
obj=ensureType<mouse_as_object>(fn.this_ptr);
+ UNUSED(obj);
+
+ static bool warned=false;
+ if ( ! warned )
+ {
+ log_warning("%s: unimplemented", __FUNCTION__);
+ warned=true;
+ }
return as_value();
}
-as_value mouse_removelistener(const fn_call& /*fn*/) {
- log_warning("%s: unimplemented \n", __FUNCTION__);
+
+as_value mouse_removelistener(const fn_call& fn)
+{
+ boost::intrusive_ptr<mouse_as_object>
obj=ensureType<mouse_as_object>(fn.this_ptr);
+ UNUSED(obj);
+
+ static bool warned=false;
+ if ( ! warned )
+ {
+ log_warning("%s: unimplemented", __FUNCTION__);
+ warned=true;
+ }
return as_value();
}
-as_value mouse_show(const fn_call& /*fn*/) {
- log_warning("%s: unimplemented \n", __FUNCTION__);
+
+as_value mouse_show(const fn_call& fn)
+{
+ boost::intrusive_ptr<mouse_as_object>
obj=ensureType<mouse_as_object>(fn.this_ptr);
+ UNUSED(obj);
+
+ static bool warned=false;
+ if ( ! warned )
+ {
+ log_warning("%s: unimplemented", __FUNCTION__);
+ warned=true;
+ }
return as_value();
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog server/asobj/Mouse.cpp,
Sandro Santilli <=