controlpanelui/src/seccodeui/src/seccodeuiglobal.h
changeset 19 36aa4756ee82
parent 12 624337f114fe
child 20 22d3abee08da
equal deleted inserted replaced
12:624337f114fe 19:36aa4756ee82
     1 /*
       
     2 * Copyright (c) 2009 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 SECCODEUIGLOBAL_H
       
    19 #define SECCODEUIGLOBAL_H
       
    20 
       
    21 #include <QtGlobal>
       
    22 
       
    23 #ifdef BUILD_SECCODEUI
       
    24     #define SECCODEUI_EXPORT Q_DECL_EXPORT
       
    25 #else
       
    26     #define SECCODEUI_EXPORT Q_DECL_IMPORT
       
    27 #endif
       
    28 
       
    29 namespace SecCode
       
    30 {
       
    31     enum SecCodeErr
       
    32     {
       
    33         ErrNone = 0,
       
    34         ErrGsm0707IncorrectPassword,
       
    35         ErrAccessDenied,
       
    36         ErrGsmSSPasswordAttemptsViolation,
       
    37         ErrLocked,
       
    38         ErrGsm0707OperationNotAllowed,
       
    39         ErrGsm0707SIMPuk2Required,
       
    40         ErrAbort,
       
    41     };
       
    42 }
       
    43 
       
    44 #endif  //SECCODEUIGLOBAL_H