[gnote] Use NoteManagerBase instead of NoteManager in Search



commit 6c29856d456efad2517d4cf9c7ceb95488e0fed6
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun Nov 10 16:58:03 2019 +0200

    Use NoteManagerBase instead of NoteManager in Search

 src/search.cpp | 4 ++--
 src/search.hpp | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/search.cpp b/src/search.cpp
index 2017abb4..ba7edd66 100644
--- a/src/search.cpp
+++ b/src/search.cpp
@@ -22,14 +22,14 @@
 
 
 #include "sharp/string.hpp"
-#include "notemanager.hpp"
+#include "notemanagerbase.hpp"
 #include "search.hpp"
 #include "utils.hpp"
 
 namespace gnote {
 
 
-  Search::Search(NoteManager & manager)
+  Search::Search(NoteManagerBase & manager)
     : m_manager(manager)
   {
   }
diff --git a/src/search.hpp b/src/search.hpp
index 2e9d5de6..4e174e54 100644
--- a/src/search.hpp
+++ b/src/search.hpp
@@ -45,7 +45,7 @@ public:
   static void split_watching_quotes(std::vector<T> & split,
                                     const T & source);
 
-  Search(NoteManager &);
+  Search(NoteManagerBase &);
 
     
   /// Search the notes! A match number of
@@ -76,7 +76,7 @@ public:
                                bool match_case);
 private:
 
-  NoteManager &m_manager;
+  NoteManagerBase & m_manager;
 };
 
 template<typename T>


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