[gnote: 1/21] Make SyncManager more testable
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote: 1/21] Make SyncManager more testable
- Date: Tue, 20 Jun 2017 20:15:00 +0000 (UTC)
commit 1b1137f4f577b987abf9aa38dc3f91e7418e8401
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sun Sep 14 14:33:48 2014 +0300
Make SyncManager more testable
src/synchronization/syncmanager.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/synchronization/syncmanager.hpp b/src/synchronization/syncmanager.hpp
index 431aec1..f8664e2 100644
--- a/src/synchronization/syncmanager.hpp
+++ b/src/synchronization/syncmanager.hpp
@@ -55,8 +55,10 @@ namespace sync {
virtual void initialize_sync_service_addins(NoteManagerBase &);
virtual void connect_system_signals();
virtual SyncServiceAddin *get_sync_service_addin(const std::string & sync_service_id);
+ virtual SyncServiceAddin *get_configured_sync_service();
SyncClient::Ptr m_client;
+ SyncUI::Ptr m_sync_ui;
private:
static SyncManager & _obj()
{
@@ -69,7 +71,6 @@ namespace sync {
void update_sync_action();
void background_sync_checker();
void set_state(SyncState new_state);
- SyncServiceAddin *get_configured_sync_service();
void create_note_in_main_thread(const NoteUpdate & noteUpdate);
void update_note_in_main_thread(const Note::Ptr & existingNote, const NoteUpdate & noteUpdate);
void delete_note_in_main_thread(const Note::Ptr & existingNote);
@@ -84,7 +85,6 @@ namespace sync {
static void note_save(const Note::Ptr & note);
NoteManagerBase & m_note_manager;
- SyncUI::Ptr m_sync_ui;
SyncState m_state;
Glib::Thread *m_sync_thread;
SyncTitleConflictResolution m_conflict_resolution;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]