diff options
author | Jocelyn Turcotte <jturcotte@woboq.com> | 2017-10-04 14:49:42 +0300 |
---|---|---|
committer | Jocelyn Turcotte <turcotte.j@gmail.com> | 2017-10-24 17:10:53 +0300 |
commit | 56e38e6f80a1c59679620f91b304f85677583220 (patch) | |
tree | 6fd0ecb3505329748bbf9085e477392ba2df8615 /src/gui/folderman.h | |
parent | e85a339d9461d82e8439fc6714f032f74b58de4b (diff) |
Windows: Add sync folders to Explorer's navigation pane
This is only the navigation pane, the SyncRootManager entries aren't handled yet.
This follows the instructions from:
https://msdn.microsoft.com/en-us/library/windows/desktop/dn889934%28v=vs.85%29.aspx
Issue #5295
Diffstat (limited to 'src/gui/folderman.h')
-rw-r--r-- | src/gui/folderman.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/folderman.h b/src/gui/folderman.h index 002fb9b45..415118689 100644 --- a/src/gui/folderman.h +++ b/src/gui/folderman.h @@ -22,6 +22,7 @@ #include "folder.h" #include "folderwatcher.h" +#include "navigationpanehelper.h" #include "syncfileitem.h" class TestFolderMan; @@ -115,6 +116,7 @@ public: static QString unescapeAlias(const QString &); SocketApi *socketApi(); + NavigationPaneHelper &navigationPaneHelper() { return _navigationPaneHelper; } /** * Check if @a path is a valid path for a new folder considering the already sync'ed items. @@ -315,6 +317,7 @@ private: QTimer _startScheduledSyncTimer; QScopedPointer<SocketApi> _socketApi; + NavigationPaneHelper _navigationPaneHelper; bool _appRestartRequired; |