gstreamer_test_apps/gstplayer/inc/gstplayer.pan
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
equal deleted inserted replaced
29:567bb019e3e3 30:7e817e7e631c
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
       
     3 *
       
     4 * This library is free software; you can redistribute it and/or
       
     5 * modify it under the terms of the GNU Lesser General Public
       
     6 * License as published by the Free Software Foundation; either
       
     7 * version 2 of the License, or (at your option) any later version.
       
     8 *
       
     9 * This library is distributed in the hope that it will be useful,
       
    10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       
    12 * Lesser General Public License for more details.
       
    13 *
       
    14 * You should have received a copy of the GNU Lesser General Public
       
    15 * License along with this library; if not, write to the
       
    16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
       
    17 * Boston, MA 02111-1307, USA.
       
    18 *
       
    19 * Description:
       
    20 *
       
    21 */
       
    22 /*
       
    23 * ==============================================================================
       
    24 *  Name        : gstplayer.pan
       
    25 *  Part of     : gstplayer
       
    26 *  Interface   : 
       
    27 *  Description : 
       
    28 *  Version     : 
       
    29 *
       
    30 
       
    31 * ==============================================================================
       
    32 */
       
    33 
       
    34 #ifndef __GSTPLAYER_PAN__
       
    35 #define __GSTPLAYER_PAN__
       
    36 
       
    37 /** GSTPlayer application panic codes */
       
    38 enum TGSTPlayerPanics
       
    39     {
       
    40     EGSTPlayerUi = 1
       
    41     // add further panics here
       
    42     };
       
    43 
       
    44 inline void Panic(TGSTPlayerPanics aReason)
       
    45     {
       
    46     _LIT(applicationName,"GSTPlayer");
       
    47     User::Panic(applicationName, aReason);
       
    48     }
       
    49 
       
    50 #endif // __gstplayer_PAN__