2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 #include <FBaseSysLog.h>
20 #include "FMedia_AudioRouteInfoImpl.h"
21 using namespace Tizen::Base;
23 namespace Tizen { namespace Media
26 _AudioRouteInfoImpl::_AudioRouteInfoImpl(InputAudioDevice in, OutputAudioDevice out)
32 _AudioRouteInfoImpl::~_AudioRouteInfoImpl()
36 _AudioRouteInfoImpl::_AudioRouteInfoImpl(const _AudioRouteInfoImpl& rhs)
43 _AudioRouteInfoImpl::SetInputAudioDevice(InputAudioDevice in)
49 _AudioRouteInfoImpl::SetOutputAudioDevice(OutputAudioDevice out)
55 _AudioRouteInfoImpl::GetInputAudioDevice(void) const
61 _AudioRouteInfoImpl::GetOutputAudioDevice(void) const
67 _AudioRouteInfoImpl::operator =(const _AudioRouteInfoImpl& rhs)
73 this->__in = rhs.__in;
74 this->__out = rhs.__out;
80 _AudioRouteInfoImpl::Equals(const Object& obj) const
82 const _AudioRouteInfoImpl *pRhs = dynamic_cast<const _AudioRouteInfoImpl *>(&obj);
87 return ((__in == pRhs->__in) && (__out == pRhs->__out));
92 _AudioRouteInfoImpl::GetHashCode(void) const