gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/rtmp r9992: add method to clear all the pr


From: rob
Subject: [Gnash-commit] /srv/bzr/gnash/rtmp r9992: add method to clear all the properties held by an Element.
Date: Mon, 16 Feb 2009 18:00:08 -0700
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9992
committer: address@hidden
branch nick: rtmp
timestamp: Mon 2009-02-16 18:00:08 -0700
message:
  add method to clear all the properties held by an Element.
modified:
  libamf/element.h
=== modified file 'libamf/element.h'
--- a/libamf/element.h  2009-02-10 16:27:07 +0000
+++ b/libamf/element.h  2009-02-17 01:00:08 +0000
@@ -703,6 +703,8 @@
     /// @return nothing.
     void addProperty(boost::shared_ptr<Element> el) { 
_properties.push_back(el); };
 
+    void clearProperties() { return _properties.clear(); };
+
     /// \brief Get a smart pointer to the Element for this Property.
     ///
     /// @return A smart pointer to the Element for this Property


reply via email to

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