7c32d360a0f4091c48706bb9f999d2021c24c198
[platform/framework/web/web-provider.git] / src / Daemon / BoxDaemon.cpp
1 /*
2  * Copyright (c) 2013 Samsung Electronics Co., Ltd All Rights Reserved
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://floralicense.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  * @file    BoxDaemon.cpp
18  * @author  Yunchan Cho (yunchan.cho@samsung.com)
19  */
20 #include <string>
21 #include "BoxDaemon.h"
22 #include "BoxDaemonImpl.h"
23
24 BoxDaemon::BoxDaemon()
25     : m_impl(new BoxDaemonImpl())
26 {
27 }
28
29 BoxDaemon::~BoxDaemon()
30 {
31 }
32
33 bool BoxDaemon::start(std::string& name)
34 {
35     return m_impl->start(name);
36 }
37
38 bool BoxDaemon::stop()
39 {
40     return m_impl->stop();
41 }