[gnote] Use NoteManagerBase in RemoteControl



commit f26ddcf73f741171416eff14eaa0864a47d91ceb
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sat Nov 16 18:45:17 2019 +0200

    Use NoteManagerBase in RemoteControl

 src/dbus/remotecontrol.cpp | 2 +-
 src/dbus/remotecontrol.hpp | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/dbus/remotecontrol.cpp b/src/dbus/remotecontrol.cpp
index c2deb1ea..6c49c700 100644
--- a/src/dbus/remotecontrol.cpp
+++ b/src/dbus/remotecontrol.cpp
@@ -36,7 +36,7 @@
 namespace gnote {
 
 
-  RemoteControl::RemoteControl(const Glib::RefPtr<Gio::DBus::Connection> & cnx, NoteManager& manager,
+  RemoteControl::RemoteControl(const Glib::RefPtr<Gio::DBus::Connection> & cnx, NoteManagerBase & manager,
                                const char * path, const char * interface_name,
                                const Glib::RefPtr<Gio::DBus::InterfaceInfo> & gnote_interface)
     : IRemoteControl(cnx, path, interface_name, gnote_interface)
diff --git a/src/dbus/remotecontrol.hpp b/src/dbus/remotecontrol.hpp
index 7d82000c..ac63b0bb 100644
--- a/src/dbus/remotecontrol.hpp
+++ b/src/dbus/remotecontrol.hpp
@@ -32,13 +32,13 @@
 
 namespace gnote {
 
-class NoteManager;
+class NoteManagerBase;
 
 class RemoteControl
   : public IRemoteControl
 {
 public:
-  RemoteControl(const Glib::RefPtr<Gio::DBus::Connection> &, gnote::NoteManager&, const char *, const char *,
+  RemoteControl(const Glib::RefPtr<Gio::DBus::Connection> &, gnote::NoteManagerBase&, const char *, const 
char *,
                 const Glib::RefPtr<Gio::DBus::InterfaceInfo> &);
   virtual ~RemoteControl();
 
@@ -76,7 +76,7 @@ private:
   void on_note_saved(const NoteBase::Ptr &);
   MainWindow & present_note(const NoteBase::Ptr &);
 
-  NoteManager & m_manager;
+  NoteManagerBase & m_manager;
 };
 
 


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