equal
deleted
inserted
replaced
18 #ifndef __TMSUTILITY_H__ |
18 #ifndef __TMSUTILITY_H__ |
19 #define __TMSUTILITY_H__ |
19 #define __TMSUTILITY_H__ |
20 |
20 |
21 #include <e32std.h> |
21 #include <e32std.h> |
22 #include <tms.h> |
22 #include <tms.h> |
23 #include <telephonyaudiorouting.h> |
23 #include <TelephonyAudioRouting.h> |
24 #ifdef _DEBUG |
24 #ifdef _DEBUG |
25 #include <e32debug.h> |
25 #include <e32debug.h> |
26 #endif |
26 #endif |
27 |
27 |
28 namespace TMS { |
28 namespace TMS { |
61 #define TOTMSOUTPUT(output) TMSUtility::ToTMSOutput(output) |
61 #define TOTMSOUTPUT(output) TMSUtility::ToTMSOutput(output) |
62 #define TOTAROUTPUT(output) TMSUtility::ToTAROutput(output) |
62 #define TOTAROUTPUT(output) TMSUtility::ToTAROutput(output) |
63 #define TOFOURCC(format) TMSUtility::ToFourCC(format) |
63 #define TOFOURCC(format) TMSUtility::ToFourCC(format) |
64 #define TOTMSFORMAT(fourcc) TMSUtility::FourCCToTMSFormat(fourcc) |
64 #define TOTMSFORMAT(fourcc) TMSUtility::FourCCToTMSFormat(fourcc) |
65 |
65 |
|
66 _LIT(KQTMSPanic, "QTMS Panic!" ); |
|
67 #define PANIC(reason) User::Panic(KQTMSPanic, reason) |
|
68 |
66 // TMSUtility class |
69 // TMSUtility class |
67 class TMSUtility |
70 class TMSUtility |
68 { |
71 { |
69 public: |
72 public: |
70 IMPORT_C static gint TMSResult(const gint error); |
73 IMPORT_C static gint TMSResult(const gint error); |