diff options
Diffstat (limited to 'wearable_src/Filesystem/EventCopy.cpp')
-rwxr-xr-x | wearable_src/Filesystem/EventCopy.cpp | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/wearable_src/Filesystem/EventCopy.cpp b/wearable_src/Filesystem/EventCopy.cpp new file mode 100755 index 0000000..cfe7346 --- /dev/null +++ b/wearable_src/Filesystem/EventCopy.cpp @@ -0,0 +1,62 @@ +// +// Tizen Web Device API +// Copyright (c) 2012 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. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// + + +#include "EventCopy.h" + + +namespace DeviceAPI { +namespace Filesystem { +EventCopy::EventCopy(const IPathPtr& src, + const IPathPtr& dest) : + m_src(src), + m_dest(dest), + m_options(OPT_NONE) +{ +} + +IPathPtr EventCopy::getDestination() const +{ + return m_dest; +} + +IPathPtr EventCopy::getSource() const +{ + return m_src; +} + +INodePtr EventCopy::getResult() const +{ + return m_result; +} + +void EventCopy::setResult(const INodePtr& node) +{ + m_result = node; +} + +int EventCopy::getOptions() const +{ + return m_options; +} + +void EventCopy::setOptions(int options) +{ + m_options = options; +} +} // Filesystem +} // TizenApis
\ No newline at end of file |