2 * Copyright 2012 Samsung Electronics Co., Ltd
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
8 * http://www.tizenopensource.org/license
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.
18 * @file download-provier-downloadRequest.cpp
19 * @author Jungki Kwak (jungki.kwak@samsung.com)
20 * @brief download request data class
22 #include "download-manager-downloadRequest.h"
24 /*DownloadRequest::DownloadRequest()
30 DownloadRequest::DownloadRequest(string url, string cookie)
36 DownloadRequest::DownloadRequest(DownloadRequest &rRequest)
38 m_url.assign(rRequest.getUrl());
39 m_cookie.assign(rRequest.getCookie());
42 DownloadRequest::~DownloadRequest()
47 string &DownloadRequest::getUrl()
52 string &DownloadRequest::getCookie()
57 bool DownloadRequest::isUrlEmpty()
62 bool DownloadRequest::isCookieEmpty()
64 return m_cookie.empty();
67 void DownloadRequest::setUrl(string url)
72 void DownloadRequest::setCookie(string cookie)
74 m_cookie.assign(cookie);