[gnote] This helps to encapsulate all high-level add-in actions in AddinManager



commit de50100116839527ffd6cae81649eeb12248e16b
Author: Å?ukasz Krotowski <lukasz krotowski gmail com>
Date:   Sun Sep 26 13:30:32 2010 +0300

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

 src/addinmanager.cpp |    6 ------
 src/addinmanager.hpp |    1 -
 2 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/addinmanager.cpp b/src/addinmanager.cpp
index c9720aa..29f0fdb 100644
--- a/src/addinmanager.cpp
+++ b/src/addinmanager.cpp
@@ -293,12 +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
   {
     sharp::map_get_values(m_pref_tab_addins, l);
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;



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