[Tizen] Add codes for Dali Windows Backend
[platform/core/uifw/dali-adaptor.git] / dali / internal / imaging / common / file-download.h
old mode 100644 (file)
new mode 100755 (executable)
index 20380a0..9c6d419
@@ -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.
@@ -52,6 +52,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
    */
@@ -62,6 +69,10 @@ public:
    */
   static unsigned long GetThreadId();
 
+  static void ConfigureCurlOptions( void* curlHandle, const std::string& url );
+
+  static void InitWriteFunction( void* curlHandle );
+
 private:
 
   void SetLockingFunction();