sipxmediaadapterlib  Version 3.3
TypeConverter.h
Go to the documentation of this file.
1 // Copyright (C) 2005-2015 SIPez LLC. All rights reserved.
2 //
3 //
4 // $$
6 
7 #ifndef _TypeConverter_h_
8 #define _TypeConverter_h_
9 
10 // SYSTEM INCLUDES
11 
12 // APPLICATION INCLUDES
13 #include <os/OsStatus.h>
14 #include <mi/CpMediaInterface.h>
15 #include <mp/MprRecorder.h>
16 
17 // DEFINES
18 // MACROS
19 // EXTERNAL FUNCTIONS
20 // EXTERNAL VARIABLES
21 // CONSTANTS
22 // STRUCTS
23 // TYPEDEFS
24 // FORWARD DECLARATIONS
25 
26 
28 {
29 /* //////////////////////////// PUBLIC //////////////////////////////////// */
30 public:
31 /* ============================ CREATORS ================================== */
32  virtual ~TypeConverter();
33 
34 /* ============================ MANIPULATORS ============================== */
36  MprRecorder::RecordFileFormat & recordFormat);
37 
38 /* ============================ ACCESSORS ================================= */
39 /* ============================ INQUIRY =================================== */
40 /* //////////////////////////// PROTECTED ///////////////////////////////// */
41 protected:
42 /* //////////////////////////// PRIVATE /////////////////////////////////// */
43 private:
45  TypeConverter();
46 };
47 
48 /* ============================ INLINE METHODS ============================ */
49 #endif // _TypeConverter_h_
50 
CpAudioFileFormat
Definition: CpMediaInterface.h:108
Definition: TypeConverter.h:27
virtual ~TypeConverter()
TypeConverter()
No reason to instantiate. Static methods only.
static OsStatus translateRecordingFormat(CpMediaInterface::CpAudioFileFormat cpFileFormat, MprRecorder::RecordFileFormat &recordFormat)
Definition: TypeConverter.cpp:30