[gnome-commander/gcmd-1-3] Added size() to GnomeCmdUserActions class



commit f3855a7fd8e8dd4fe8273caa01ad1d7ef76251aa
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Fri Sep 4 17:41:57 2009 +0200

    Added size() to GnomeCmdUserActions class

 src/gnome-cmd-user-actions.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-cmd-user-actions.h b/src/gnome-cmd-user-actions.h
index f1964ea..ce13b5a 100644
--- a/src/gnome-cmd-user-actions.h
+++ b/src/gnome-cmd-user-actions.h
@@ -186,6 +186,7 @@ class GnomeCmdUserActions
 
     const_iterator begin()                                                  {  return action.begin();                                 }
     const_iterator end()                                                    {  return action.end();                                   }
+    unsigned size()                                                         {  return action.size();                                  }
 
     const gchar *name(const_iterator &i)                                    {  return action_func[i->second.func].c_str();            }
     const gchar *name(const std::string description)                        {  return action_func[action_name[description]].c_str();  }



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