Tizen 2.0 Release
[framework/osp/media.git] / src / inc / FMedia_VoipAudioSessionManagerImpl.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 //
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
8 //
9 //     http://www.apache.org/licenses/LICENSE-2.0
10 //
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.
16 //
17
18 // @file                FMedia_VoipAudioSessionManagerImpl.h
19 // @brief               This is the header file for the FMedia_VoipAudioSessionManagerImpl.h
20 //
21 // This header file contains the declarations of the FMedia_VoipAudioSessionManagerImpl.h
22 //
23 //
24 #ifndef _FMEDIA_VOIP_AUDIO_SESSION_MANAGER_IMPL_H
25 #define _FMEDIA_VOIP_AUDIO_SESSION_MANAGER_IMPL_H_
26 #include <memory>
27 #include <sound_manager.h>
28 #include <FBaseRt.h>
29 #include <FMediaAudioManagerTypes.h>
30
31 namespace Tizen { namespace Media
32 {
33 class _VoipAudioSessionManagerImpl
34         :public Tizen::Base::Object
35 {
36 public:
37         static _VoipAudioSessionManagerImpl* GetInstance();
38         result EnterCallSession(void);
39         result ExitCallSession(void);
40         result SetCallSessionMode(VoipAudioSessionMode mode);
41         VoipAudioSessionMode GetCallSessionMode(void);
42 private:
43         _VoipAudioSessionManagerImpl(void);
44         virtual ~_VoipAudioSessionManagerImpl(void);
45         static void InitVoipAudioSessionManagerImpl(void);
46         sound_call_session_h __soundCallSessionHandle;
47         static _VoipAudioSessionManagerImpl* __pVoipAudioSessionManagerImpl;
48 };
49 }}      //Tizen::Media
50 #endif