engine/inc/Podcatcher.pan
author teknolog
Sat, 01 May 2010 12:49:47 +0100
changeset 75 5382889bbbb4
parent 60 4d230e702aa3
child 305 dc1c3d779802
permissions -rw-r--r--
merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
60
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
     1
/*
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
     2
* Copyright (c) 2010 Sebastian Brannstrom
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
     3
*
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
     4
* All rights reserved.
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
     5
* This component and the accompanying materials are made available
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
     6
* under the terms of the License "Eclipse Public License v1.0"
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
     7
* which accompanies this distribution, and is available
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
     8
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
     9
*
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    10
* Initial Contributors:
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    11
* EmbedDev AB - initial contribution.
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    12
*
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    13
* Contributors:
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    14
*
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    15
* Description:
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    16
*
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    17
*/
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    18
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    19
#ifndef __PODCATCHER_PAN__
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    20
#define __PODCATCHER_PAN__
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    21
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    22
enum TPodcatcherPanics
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    23
    {
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    24
    EPodcatcherPanicDB = 1,
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    25
    EPodcatcherPanicAlreadyActive,
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    26
    EPodcatcherPanicFeedEngineState,
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    27
    EPodcatcherPanicFeedView
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    28
    };
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    29
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    30
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    31
inline void Panic(TPodcatcherPanics aReason)
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    32
    {
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    33
    _LIT(applicationName,"Podcatcher");
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    34
    User::Panic(applicationName, aReason);
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    35
    }
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    36
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    37
#endif