114
|
1 |
/*
|
|
2 |
* Copyright (c) 2010 Sebastian Brannstrom
|
|
3 |
*
|
|
4 |
* All rights reserved.
|
|
5 |
* This component and the accompanying materials are made available
|
|
6 |
* under the terms of the License "Eclipse Public License v1.0"
|
|
7 |
* which accompanies this distribution, and is available
|
|
8 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
9 |
*
|
|
10 |
* Initial Contributors:
|
|
11 |
* EmbedDev AB - initial contribution.
|
|
12 |
*
|
|
13 |
* Contributors:
|
|
14 |
*
|
|
15 |
* Description:
|
|
16 |
*
|
|
17 |
*/
|
|
18 |
|
|
19 |
#ifndef __PODCATCHER_PAN__
|
|
20 |
#define __PODCATCHER_PAN__
|
|
21 |
|
|
22 |
enum TPodcatcherPanics
|
|
23 |
{
|
|
24 |
EPodcatcherPanicDB = 1,
|
|
25 |
EPodcatcherPanicAlreadyActive,
|
|
26 |
EPodcatcherPanicFeedEngineState,
|
|
27 |
EPodcatcherPanicFeedView
|
|
28 |
};
|
|
29 |
|
|
30 |
|
|
31 |
inline void Panic(TPodcatcherPanics aReason)
|
|
32 |
{
|
|
33 |
_LIT(applicationName,"Podcatcher");
|
|
34 |
User::Panic(applicationName, aReason);
|
|
35 |
}
|
|
36 |
|
|
37 |
#endif
|