Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJocelyn Turcotte <jturcotte@woboq.com>2015-02-13 18:00:22 +0300
committerJocelyn Turcotte <jturcotte@woboq.com>2015-02-13 18:08:39 +0300
commit23e248b5d19ffddd4e836773044123ca977d09ef (patch)
tree662d1033633c050bf20fd3bada027b4f7e53861e /shell_integration/windows/OCContextMenu/OCClientInterface.h
parent40dbc7840747973cbf68a039b141330ffe56ea4f (diff)
shell_integration: Fetch the share menu title from the client on Windowsv1.8.0-beta1a
The context menu will now show "Share with ownCloud" instead of "Share" as it does on other platforms. This also updates the submodule to point to matching binaries.
Diffstat (limited to 'shell_integration/windows/OCContextMenu/OCClientInterface.h')
-rw-r--r--shell_integration/windows/OCContextMenu/OCClientInterface.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/shell_integration/windows/OCContextMenu/OCClientInterface.h b/shell_integration/windows/OCContextMenu/OCClientInterface.h
index 7356d1e28..16608e276 100644
--- a/shell_integration/windows/OCContextMenu/OCClientInterface.h
+++ b/shell_integration/windows/OCContextMenu/OCClientInterface.h
@@ -43,7 +43,11 @@ class CommunicationSocket;
class OCClientInterface
{
public:
- static std::vector<std::wstring> WatchedDirectories();
+ struct ContextMenuInfo {
+ std::vector<std::wstring> watchedDirectories;
+ std::wstring shareMenuTitle;
+ };
+ static ContextMenuInfo FetchInfo();
static void ShareObject(const std::wstring &path);
};