apengine/apsettingshandlerui/src/ApSettingsCommons.cpp
changeset 71 9f263f780e41
parent 70 ac5daea24fb0
child 72 0c32cf868819
equal deleted inserted replaced
70:ac5daea24fb0 71:9f263f780e41
     1 /*
       
     2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *    Defines common methods.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 // INCLUDE FILES
       
    22 #include <e32def.h>
       
    23 #include <e32std.h>
       
    24 #include <eikenv.h>
       
    25 #include <ApSettingsHandlerCommons.h>
       
    26 #include "ApSettingsHandlerUI.hrh"
       
    27 #include <apsetui.rsg>
       
    28 #include <AknQueryDialog.h>
       
    29 #include <aknnotedialog.h>
       
    30 #include <StringLoader.h>
       
    31 
       
    32 #include <AknProgressDialog.h>
       
    33 #include <AknWaitDialog.h>
       
    34 
       
    35 #include "ApSettingsHandlerLogger.h"
       
    36 
       
    37 void Panic( TApSettingsHandlerUiPanicCodes aPanic )
       
    38     {
       
    39     APSETUILOGGER_ENTERFN( EOther,"Commons::Panic")
       
    40     
       
    41     _LIT( kApSet, "APSettingsHandlerUi" ) ;
       
    42     User::Panic( kApSet, aPanic ) ;
       
    43     }
       
    44 
       
    45 
       
    46 // ---------------------------------------------------------
       
    47 // AskQueryL
       
    48 // ---------------------------------------------------------
       
    49 //
       
    50 TInt AskQueryL( TInt aResId, TDesC* aVar )
       
    51     {
       
    52     return 0;
       
    53     }
       
    54 
       
    55 
       
    56 
       
    57 // ---------------------------------------------------------
       
    58 // ShowNoteL
       
    59 // ---------------------------------------------------------
       
    60 //
       
    61 TInt ShowNoteL( TInt aResId, TDesC* aVar )
       
    62     {
       
    63     return 0;
       
    64     }
       
    65 
       
    66 
       
    67 #ifdef __TEST_OOMDEBUG
       
    68     TInt GetTestStateL()
       
    69         {
       
    70         return 0;
       
    71         }
       
    72 #endif // __TEST_OOMDEBUG
       
    73 
       
    74 // End of File