X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fimaging%2Fcommon%2Ffile-download.h;h=d2ee3710179f0565af21c4925c3bbfcacd58894b;hb=41be4c91de2834a46c501862552c64e290680002;hp=20380a05b1d71ecfbb30c2d8fe6cae923de4689d;hpb=454e03e2413be60a42ae4bdd2976b0e1d6a20945;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/imaging/common/file-download.h b/dali/internal/imaging/common/file-download.h old mode 100644 new mode 100755 index 20380a0..d2ee371 --- a/dali/internal/imaging/common/file-download.h +++ b/dali/internal/imaging/common/file-download.h @@ -2,7 +2,7 @@ #define __DALI_TIZEN_PLATFORM_NETWORK_FILE_DOWNLOAD_H__ /* - * Copyright (c) 2017 Samsung Electronics Co., Ltd. + * Copyright (c) 2018 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ #include #include //c++11 #include // uint8 +#include namespace Dali { @@ -52,6 +53,13 @@ public: */ ~CurlEnvironment(); + // Moveable but not copyable + + CurlEnvironment( const CurlEnvironment& ) = delete; + CurlEnvironment& operator=( const CurlEnvironment& ) = delete; + CurlEnvironment( CurlEnvironment&& ) = default; + CurlEnvironment& operator=( CurlEnvironment&& ) = default; + /** * Locking function for libcurl with openssl */ @@ -60,7 +68,7 @@ public: /** * Gets thread id for libcurl with openssl */ - static unsigned long GetThreadId(); + static void GetThreadId( CRYPTO_THREADID* tid ); private: