diff options
author | aunsane <aunsane@gmail.com> | 2017-04-28 20:59:52 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2017-04-28 21:00:27 +0300 |
commit | b89210e991e554adba6197091f99762182221de6 (patch) | |
tree | 7afff6d60ebf58ab4fa1db4ab5088086a3c9f3f8 /plugins/CloudFile/src/proto.cpp | |
parent | 908059e124a7a45b37e85253bddac5217b46e98a (diff) |
CloudFile:
- avoid to simultaniosly load wit Dropbox plugin
- service loading moved to modules loaded
- cleanup
Diffstat (limited to 'plugins/CloudFile/src/proto.cpp')
-rw-r--r-- | plugins/CloudFile/src/proto.cpp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/plugins/CloudFile/src/proto.cpp b/plugins/CloudFile/src/proto.cpp deleted file mode 100644 index 9698534c50..0000000000 --- a/plugins/CloudFile/src/proto.cpp +++ /dev/null @@ -1,32 +0,0 @@ -#include "stdafx.h" - -INT_PTR ProtoGetCaps(WPARAM wParam, LPARAM) -{ - switch (wParam) { - case PFLAGNUM_1: - return PF1_IM | PF1_FILESEND; - case PFLAGNUM_2: - return PF2_ONLINE; - case PFLAGNUM_4: - return PF4_OFFLINEFILES; - } - - return 0; -} - -INT_PTR ProtoGetName(WPARAM wParam, LPARAM lParam) -{ - if (lParam) { - mir_strncpy((char *)lParam, MODULE, wParam); - return 0; - } - - return 1; -} - -INT_PTR ProtoLoadIcon(WPARAM wParam, LPARAM) -{ - return (LOWORD(wParam) == PLI_PROTOCOL) - ? (INT_PTR)CopyIcon(LoadIconEx(IDI_UPLOAD)) - : 0; -}
\ No newline at end of file |