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 // @file FMedia_AudioSessionEventArg.h
20 // @brief This header file contains the declaration related to _AudioSessionImpl class.
25 #ifndef _FMEDIA_INTERNAL_AUDIO_SESSSION_EVENT_ARG_H_
26 #define _FMEDIA_INTERNAL_AUDIO_SESSSION_EVENT_ARG_H_
27 #include <FBaseObject.h>
28 #include <FBaseRtIEventArg.h>
29 #include <FMediaAudioManagerTypes.h>
31 namespace Tizen {namespace Media
34 enum _AudioSessionEventType
36 _AUDIO_SESSION_EVENT_NONE,
37 _AUDIO_SESSION_EVENT_INTERRUPTED,
38 _AUDIO_SESSION_EVENT_RELEASED,
39 _AUDIO_SESSION_EVENT_AUDIO_FOCUS_CHANGED
42 class _AudioSessionImpl;
44 class _AudioSessionEventTypeArg
45 : public Tizen::Base::Runtime::IEventArg
46 , public Tizen::Base::Object
49 _AudioSessionEventTypeArg(void);
50 virtual ~_AudioSessionEventTypeArg(void);
51 _AudioSessionEventType GetEventType(void) const;
53 void SetEventType(_AudioSessionEventType eType);
54 _AudioSessionEventTypeArg(const _AudioSessionEventTypeArg& rhs);
55 _AudioSessionEventTypeArg& operator =(const _AudioSessionEventTypeArg& rhs);
56 _AudioSessionEventType __audioSessionEventType;
57 friend class _AudioSessionManagerImpl;
58 }; //_AudioSessionEventTypeArg
60 class _AudioSessionEventArg
61 : public _AudioSessionEventTypeArg
64 _AudioSessionEventArg(void);
65 ~_AudioSessionEventArg(void);
67 friend class _AudioSessionManagerImpl;
68 }; //_AudioSessionEventArg