The download UI application is added.
[apps/web/download-manager.git] / src / include / download-manager-downloadRequest.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *    http://www.tizenopensource.org/license
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 /**
18  * @file        download-manager-downloadRequest.h
19  * @author      Jungki Kwak (jungki.kwak@samsung.com)
20  * @brief       Download Request class
21  */
22
23 #ifndef DOWNLOAD_MANAGER_DOWNLOAD_REQUEST_H
24 #define DOWNLOAD_MANAGER_DOWNLOAD_REQUEST_H
25
26 #include <string>
27
28 using namespace std;
29
30 class DownloadRequest
31 {
32 public:
33 //      DownloadRequest();
34         DownloadRequest(string url, string cookie);
35         DownloadRequest(DownloadRequest &rRequest);
36         ~DownloadRequest();
37
38         string &getUrl();
39         string &getCookie();
40         bool isUrlEmpty();
41         bool isCookieEmpty();
42         void setUrl(string url);
43         void setCookie(string cookie);
44 private:
45         string m_url;
46         string m_cookie;
47 };
48
49 #endif /* DOWNLOAD_MANAGER_DOWNLOAD_REQUEST_H */