obex/obexextensionapi/public/mobexclienterrorresolver.h
changeset 54 4dc88a4ac6f4
parent 52 866b4af7ffbe
child 57 f6055a57ae18
equal deleted inserted replaced
52:866b4af7ffbe 54:4dc88a4ac6f4
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalTechnology
       
    19 */
       
    20 
       
    21 #ifndef __MOBEXCLIENTERRORRESOLVER_H
       
    22 #define __MOBEXCLIENTERRORRESOLVER_H
       
    23 
       
    24 #include <obex/extensionapis/obexclienterrorresolver.h>
       
    25 
       
    26 /**
       
    27 UID with which applications can request the MObexClientErrorResolver API
       
    28 through CObexClient::ExtensionInterface().
       
    29 */
       
    30 const TUid KObexClientErrorResolverInterface = {0x10281918};
       
    31 
       
    32 /**
       
    33 Definition of the Obex client error extension API.
       
    34 */
       
    35 class MObexClientErrorResolver
       
    36 	{
       
    37 public:
       
    38 	/**
       
    39 	Function used to retreive an extended error code for the last completed client operation.
       
    40 
       
    41 	@param aErrorSet The set of errors that the resolved error will lie within.
       
    42 	@return An extended error code that lies within the error set specified.
       
    43 	*/
       
    44 	virtual TUint LastError(TObexClientErrorResolutionSetType aErrorSet) const = 0;
       
    45 	};
       
    46 
       
    47 #endif __MOBEXCLIENTERRORRESOLVER_H