wvuing/wvuipresence/inc/MCAPresenceError.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     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:  Represents one detailed error result
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MCAPRESENCEERROR_H
       
    21 #define MCAPRESENCEERROR_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 *  Represents one detailed error result
       
    30 *
       
    31 *  @lib CAPresence.lib
       
    32 *  @since 2.1
       
    33 */
       
    34 class MCAPresenceError
       
    35     {
       
    36     public: // New functions
       
    37 
       
    38         /**
       
    39         * Returns error code
       
    40         * @since 2.1
       
    41         * @return Integer value that is error code
       
    42         */
       
    43         virtual TInt ErrorCode() const = 0;
       
    44 
       
    45         /**
       
    46         * Returns user id
       
    47         * @since 2.1
       
    48         * @return Descriptor that contains user id
       
    49         */
       
    50         virtual const TDesC& UserId() const = 0;
       
    51 
       
    52         virtual ~MCAPresenceError() {};
       
    53 
       
    54     };
       
    55 
       
    56 #endif      // MCAPRESENCEERROR_H
       
    57 
       
    58 // End of File