coreapplicationuis/devicepowermenuplugin/inc/hbdevicepowermenupluginerrors_p.h
branchRCL_3
changeset 20 c2c61fdca848
parent 19 924385140d98
child 21 9af619316cbf
equal deleted inserted replaced
19:924385140d98 20:c2c61fdca848
     1 /*
       
     2  * Copyright (c) 2010 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  *
       
    16  */
       
    17 
       
    18 #ifndef HBDEVICEPOWERMENUPLUGINERRORS_P_H
       
    19 #define HBDEVICEPOWERMENUPLUGINERRORS_P_H
       
    20 
       
    21 #include <hbdevicedialog.h>
       
    22 #include <e32debug.h>
       
    23 #ifdef _DEBUG
       
    24 
       
    25     #define TRACES( x ) x
       
    26 
       
    27 #else
       
    28 
       
    29     #define TRACES( x )
       
    30 
       
    31 #endif
       
    32 
       
    33 
       
    34 // No error
       
    35 const int NoError = 0;
       
    36 // Illegal parameter error
       
    37 const int ParameterError = HbDeviceDialog::PluginErrors + 1;
       
    38 // Unknown device dialog error
       
    39 const int UnknownDeviceDialogError = HbDeviceDialog::PluginErrors + 2;
       
    40 
       
    41 #endif // HBDEVICEPOWERMENUPLUGINERRORS_P_H