Alexandre Lision | 8af73cb | 2013-12-10 14:11:20 -0500 | [diff] [blame] | 1 | |
2 | #ifndef PJSUA_PAN_H | ||||
3 | #define PJSUA_PAN_H | ||||
4 | |||||
5 | /** pjsua application panic codes */ | ||||
6 | enum TpjsuaPanics | ||||
7 | { | ||||
8 | EpjsuaUi = 1 | ||||
9 | // add further panics here | ||||
10 | }; | ||||
11 | |||||
12 | inline void Panic(TpjsuaPanics aReason) | ||||
13 | { | ||||
14 | _LIT(applicationName,"pjsua"); | ||||
15 | User::Panic(applicationName, aReason); | ||||
16 | } | ||||
17 | |||||
18 | #endif // PJSUA_PAN_H |