pnpmobileservices/pnpms/PnP/NHwrParser/HttpProvStates.h
changeset 0 3ce708148e4d
equal deleted inserted replaced
-1:000000000000 0:3ce708148e4d
       
     1 /*
       
     2 * Copyright (c) 2005 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: Implementation of PnPMS components
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef HTTP_PROV_STATES_H
       
    20 #define HTTP_PROV_STATES_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32base.h>
       
    24 
       
    25 class THttpProvStates
       
    26     {
       
    27 public:
       
    28     /*!
       
    29     The available status codes from the specs
       
    30     OK = "0"
       
    31     User rejected Document = "1"
       
    32     Signature failed = "2"
       
    33     Document parsing failed = "3"
       
    34     Wrapper parsing failed = "4"
       
    35     Document storage failed = "5"
       
    36     Document activation failed = "6"
       
    37     TOKEN validity expired = "7"
       
    38 
       
    39     EStatusUnknown should not be sent to the service at all.
       
    40     If the status is unknown do not send any status code.
       
    41     */
       
    42     enum TProvisioningStatus
       
    43         {
       
    44         EStatusUnknown = -1,
       
    45         EStatusOk = 0,
       
    46         EStatusRejected = 1,
       
    47         EStatusSignatureFailed = 2,
       
    48         EStatusDocumentParsingFailed = 3,
       
    49         EStatusWrapperParsingFailed = 4,
       
    50         EStatusStorageFailed = 5,
       
    51         EStatusActivationFailed = 6,
       
    52         EStatusTokenExpired = 7
       
    53         };
       
    54     };
       
    55 
       
    56 #endif // HTTP_PROV_STATES_H