summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/CSendCloudFile.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-05-13 13:16:41 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-05-13 13:16:41 +0300
commit632700c7828d2b9667c8dc8bc3403f910b51e158 (patch)
treea0eebd39c1a49e9cf51f4fb8425bdf9d3e73fbdb /plugins/SendScreenshotPlus/src/CSendCloudFile.cpp
parentc42f503c8e3c1e6e4a7689b3b3cff17d2722c9ac (diff)
fixes #5017 (SendSS: UploadPie not working) + some code formatting
Diffstat (limited to 'plugins/SendScreenshotPlus/src/CSendCloudFile.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/CSendCloudFile.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSendCloudFile.cpp b/plugins/SendScreenshotPlus/src/CSendCloudFile.cpp
index 673707b06f..70b1d9a08e 100644
--- a/plugins/SendScreenshotPlus/src/CSendCloudFile.cpp
+++ b/plugins/SendScreenshotPlus/src/CSendCloudFile.cpp
@@ -30,8 +30,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
/////////////////////////////////////////////////////////////////////////////////////////
-CSendCloudFile::CSendCloudFile(HWND Owner, MCONTACT hContact, bool bAsync, const char *service)
- : CSend(Owner, hContact, bAsync), m_service(service)
+CSendCloudFile::CSendCloudFile(HWND Owner, MCONTACT hContact, bool bAsync, const char *service) :
+ CSend(Owner, hContact, bAsync), m_service(service)
{
// @todo : re-enable SS_DLG_DELETEAFTERSSEND with full implemention of Dropbox upload with progress, msg and sounds
m_EnableItem = SS_DLG_DESCRIPTION | SS_DLG_AUTOSEND | SS_DLG_DELETEAFTERSSEND;
@@ -57,7 +57,7 @@ void CSendCloudFile::SendThread()
// @todo : SS_DLG_DESCRIPTION and SS_DLG_DELETEAFTERSSEND are of no use as of now since we don't track upload progress
CFUPLOADDATA ud = { m_service, m_pszFile, L"SendSS" };
- CFUPLOADRESULT ur = { };
+ CFUPLOADRESULT ur = {};
if (CallService(MS_CLOUDFILE_UPLOAD, (WPARAM)&ud, (LPARAM)&ur)) {
Error(LPGENW("%s (%i):\nCould not add a share to the CloudFile plugin."), TranslateW(m_pszSendTyp), 0);
@@ -72,7 +72,7 @@ void CSendCloudFile::SendThread()
Exit(ACKRESULT_FAILED);
}
-void CSendCloudFile::SendThreadWrapper(void * Obj)
+void CSendCloudFile::SendThreadWrapper(void *Obj)
{
- reinterpret_cast<CSendCloudFile*>(Obj)->SendThread();
+ reinterpret_cast<CSendCloudFile *>(Obj)->SendThread();
}