[gnote: 15/21] Change note_save to be overridable for testing
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote: 15/21] Change note_save to be overridable for testing
- Date: Tue, 20 Jun 2017 20:16:10 +0000 (UTC)
commit fa4549e365bf07ddc65b12dc2b79c6606a89c10f
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sat Apr 22 19:25:19 2017 +0300
Change note_save to be overridable for testing
src/synchronization/syncmanager.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/synchronization/syncmanager.hpp b/src/synchronization/syncmanager.hpp
index ca55be2..33ea2dc 100644
--- a/src/synchronization/syncmanager.hpp
+++ b/src/synchronization/syncmanager.hpp
@@ -58,6 +58,7 @@ namespace sync {
virtual SyncServiceAddin *get_configured_sync_service();
virtual void delete_notes_in_main_thread(const SyncServer::Ptr & server);
void delete_notes(const SyncServer::Ptr & server);
+ virtual void note_save(const Note::Ptr & note);
SyncClient::Ptr m_client;
SyncUI::Ptr m_sync_ui;
@@ -83,7 +84,6 @@ namespace sync {
void create_note(const NoteUpdate & noteUpdate);
void update_note(const Note::Ptr & existingNote, const NoteUpdate & noteUpdate);
void delete_note(const Note::Ptr & existingNote);
- static void note_save(const Note::Ptr & note);
NoteManagerBase & m_note_manager;
SyncState m_state;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]