[PATCH 3/7] Remove unused AddinManager::get_application_addins() interface.



This helps to encapsulate all high-level add-in actions in AddinManager.

Signed-off-by: Łukasz Krotowski <lukasz krotowski gmail com>
---
 src/addinmanager.cpp |    5 -----
 src/addinmanager.hpp |    1 -
 2 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/src/addinmanager.cpp b/src/addinmanager.cpp
index 6c56cba..aba867d 100644
--- a/src/addinmanager.cpp
+++ b/src/addinmanager.cpp
@@ -293,11 +293,6 @@ namespace gnote {
     return 0;
   }
 
-  void AddinManager::get_application_addins(std::list<ApplicationAddin*> & l) const
-  {
-    sharp::map_get_values(m_app_addins, l);
-  }
-
 
   void AddinManager::get_preference_tab_addins(std::list<PreferenceTabAddin *> &l) const
   {
diff --git a/src/addinmanager.hpp b/src/addinmanager.hpp
index 6a87a08..c3eb161 100644
--- a/src/addinmanager.hpp
+++ b/src/addinmanager.hpp
@@ -58,7 +58,6 @@ public:
   void load_addins_for_note(const Note::Ptr &);
   ApplicationAddin * get_application_addin(const std::string & id)
                                            const;
-  void get_application_addins(std::list<ApplicationAddin*> &) const;
   void get_preference_tab_addins(std::list<PreferenceTabAddin *> &) const;
   void get_import_addins(std::list<ImportAddin*> &) const;
   void initialize_application_addins() const;
-- 
1.7.1



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