engine/inc/Podcatcher.pan
author Sebastian Brannstrom <sebastianb@symbian.org>
Sun, 31 Oct 2010 14:15:37 +0000
branchRCL_3
changeset 321 7a0fb290f9c6
parent 305 dc1c3d779802
permissions -rw-r--r--
Re-enabled max items parsed, because disabling this causes shows to turn up as new multiple times. This again breaks feeds that add new shows at the bottom, so we need to solve this properly.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
114
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
     1
/*
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
     2
* Copyright (c) 2010 Sebastian Brannstrom
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
     3
*
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
     4
* All rights reserved.
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
     5
* This component and the accompanying materials are made available
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
     6
* under the terms of the License "Eclipse Public License v1.0"
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
     7
* which accompanies this distribution, and is available
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
     8
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
     9
*
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    10
* Initial Contributors:
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    11
* EmbedDev AB - initial contribution.
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    12
*
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    13
* Contributors:
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    14
*
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    15
* Description:
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    16
*
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    17
*/
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    18
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    19
#ifndef __PODCATCHER_PAN__
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    20
#define __PODCATCHER_PAN__
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    21
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    22
enum TPodcatcherPanics
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    23
    {
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    24
    EPodcatcherPanicDB = 1,
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    25
    EPodcatcherPanicAlreadyActive,
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    26
    EPodcatcherPanicFeedEngineState,
305
dc1c3d779802 Minor fix in HttpEventHandler for file paths without drive letter
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 114
diff changeset
    27
    EPodcatcherPanicFeedView,
dc1c3d779802 Minor fix in HttpEventHandler for file paths without drive letter
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 114
diff changeset
    28
    EPodcatcherDownloadDrive
114
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    29
    };
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    30
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    31
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    32
inline void Panic(TPodcatcherPanics aReason)
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    33
    {
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    34
    _LIT(applicationName,"Podcatcher");
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    35
    User::Panic(applicationName, aReason);
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    36
    }
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    37
27f6f5827e5d Cleaned up panic handling
teknolog
parents:
diff changeset
    38
#endif