diff options
Diffstat (limited to 'mobile_src/Filesystem/EventMove.cpp')
-rwxr-xr-x | mobile_src/Filesystem/EventMove.cpp | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/mobile_src/Filesystem/EventMove.cpp b/mobile_src/Filesystem/EventMove.cpp new file mode 100755 index 0000000..fd9afcc --- /dev/null +++ b/mobile_src/Filesystem/EventMove.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 "EventMove.h" + +namespace DeviceAPI { +namespace Filesystem { +EventMove::EventMove(const IPathPtr& src, + const IPathPtr& dest) : + m_src(src), + m_dest(dest), + m_options(OPT_NONE) +{ + +} + +IPathPtr EventMove::getDestination() const +{ + return m_dest; +} + +IPathPtr EventMove::getSource() const +{ + return m_src; +} + +INodePtr EventMove::getResult() const +{ + return m_result; +} + +void EventMove::setResult(const INodePtr& node) +{ + m_result = node; +} + +int EventMove::getOptions() const +{ + return m_options; +} + +void EventMove::setOptions(int options) +{ + m_options = options; +} +} // Filesystem +} // TizenApis
\ No newline at end of file |