summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/dropbox_menus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dropbox/src/dropbox_menus.cpp')
-rw-r--r--plugins/Dropbox/src/dropbox_menus.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/plugins/Dropbox/src/dropbox_menus.cpp b/plugins/Dropbox/src/dropbox_menus.cpp
new file mode 100644
index 0000000000..fe20bddf1d
--- /dev/null
+++ b/plugins/Dropbox/src/dropbox_menus.cpp
@@ -0,0 +1,17 @@
+#include "dropbox.h"
+
+HGENMENU CDropbox::ContactMenuItems[CMI_MAX];
+
+void CDropbox::InitMenus()
+{
+ CLISTMENUITEM mi = { 0 };
+ mi.cbSize = sizeof(CLISTMENUITEM);
+ mi.flags = CMIF_TCHAR;
+
+ mi.pszService = MODULE"/RequeriedAccess";
+ mi.ptszName = LPGENT("Requeried access");
+ mi.position = -201001000 + CMI_API_ACCESS_REQUERIED;
+ mi.icolibItem = LoadSkinnedIconHandle(SKINICON_AUTH_REVOKE);
+ ContactMenuItems[CMI_API_ACCESS_REQUERIED] = Menu_AddContactMenuItem(&mi);
+ CreateServiceFunction(mi.pszService, RequeriedApiAccess);
+} \ No newline at end of file