browser/ui/inc/Application.pan
changeset 0 c316ab048e9d
equal deleted inserted replaced
-1:000000000000 0:c316ab048e9d
       
     1 /*
       
     2  * Name        : Application.pan
       
     3  * Description : Panic definitions
       
     4  * Project     : This file is part of OpenMAR, an Open Mobile Augmented Reality browser
       
     5  * Website     : http://OpenMAR.org
       
     6  *
       
     7  * Copyright (c) 2010 David Caabeiro
       
     8  *
       
     9  * All rights reserved. This program and the accompanying materials are made available 
       
    10  * under the terms of the Eclipse Public License v1.0 which accompanies this 
       
    11  * distribution, and is available at http://www.eclipse.org/legal/epl-v10.html
       
    12  *
       
    13  */
       
    14 
       
    15 #ifndef __APPLICATION_PAN__
       
    16 #define __APPLICATION_PAN__
       
    17 
       
    18 enum TApplicationPanic
       
    19 {
       
    20 
       
    21 };
       
    22 
       
    23 inline void Panic(TApplicationPanic aReason)
       
    24 {
       
    25     _LIT(appName, "OpenMAR");
       
    26     User::Panic(appName, aReason);
       
    27 }
       
    28 
       
    29 #endif // __APPLICATION_PAN__