engine/inc/Podcatcher.pan
author Sebastian Brannstrom <sebastianb@symbian.org>
Tue, 16 Nov 2010 10:39:20 +0000
branchsymbian1
changeset 364 998e9d114bd5
parent 336 3d6c1417e8bd
permissions -rw-r--r--
Sync with symbian3 branch
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,
336
3d6c1417e8bd Merged all the later Symbian3 updates into Symbian1 branch; new SIS v. 1.00.32
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 60
diff changeset
    27
    EPodcatcherPanicFeedView,
3d6c1417e8bd Merged all the later Symbian3 updates into Symbian1 branch; new SIS v. 1.00.32
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 60
diff changeset
    28
    EPodcatcherDownloadDrive
60
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
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    32
inline void Panic(TPodcatcherPanics aReason)
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    33
    {
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    34
    _LIT(applicationName,"Podcatcher");
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    35
    User::Panic(applicationName, aReason);
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
4d230e702aa3 Moved development branch from MCL to FCL
teknolog
parents:
diff changeset
    38
#endif