webservices/wsoviplugin/inc/wsovierrorresponse.h
changeset 0 62f9d29f7211
equal deleted inserted replaced
-1:000000000000 0:62f9d29f7211
       
     1 /*
       
     2 * Copyright (c) 2008 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: Header declaration
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 #ifndef WSOVIERRORRESPONSE_H_
       
    26 #define WSOVIERRORRESPONSE_H_
       
    27 
       
    28 #include <SenBaseFragment.h>
       
    29 
       
    30 
       
    31 
       
    32 class CWSOviErrorResponse : public CSenBaseFragment
       
    33 {
       
    34 public:
       
    35     static CWSOviErrorResponse* NewL();
       
    36     static CWSOviErrorResponse* NewLC();
       
    37     
       
    38     TPtrC8 Code();
       
    39     
       
    40     TPtrC8 Text();
       
    41 
       
    42 private:
       
    43 // From CBaseFragment
       
    44 virtual void StartElementL(const TDesC8& aNsUri,
       
    45                            const TDesC8& aLocalName,
       
    46                            const TDesC8& aQName,
       
    47                            const RAttributeArray& aAttributes);
       
    48 
       
    49 virtual void EndElementL(const TDesC8& aNsUri,
       
    50                          const TDesC8& aLocalName,
       
    51                          const TDesC8& aQName);
       
    52 public:
       
    53 	virtual ~CWSOviErrorResponse();
       
    54 	
       
    55 protected:
       
    56 	CWSOviErrorResponse();
       
    57 
       
    58 	void ConstructL();
       
    59 private:
       
    60 	HBufC8* iCode;
       
    61     HBufC8* iText;
       
    62 
       
    63 };
       
    64 
       
    65 #endif /*WSOVIErrorRESPONSE_H_*/
       
    66