obex/obexextensionapi/public/mobexclienterrorresolver.h
changeset 0 d0791faffa3f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/obex/obexextensionapi/public/mobexclienterrorresolver.h	Tue Feb 02 01:11:40 2010 +0200
@@ -0,0 +1,47 @@
+// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+/**
+ @file
+ @internalTechnology
+*/
+
+#ifndef __MOBEXCLIENTERRORRESOLVER_H
+#define __MOBEXCLIENTERRORRESOLVER_H
+
+#include <obex/extensionapis/obexclienterrorresolver.h>
+
+/**
+UID with which applications can request the MObexClientErrorResolver API
+through CObexClient::ExtensionInterface().
+*/
+const TUid KObexClientErrorResolverInterface = {0x10281918};
+
+/**
+Definition of the Obex client error extension API.
+*/
+class MObexClientErrorResolver
+	{
+public:
+	/**
+	Function used to retreive an extended error code for the last completed client operation.
+
+	@param aErrorSet The set of errors that the resolved error will lie within.
+	@return An extended error code that lies within the error set specified.
+	*/
+	virtual TUint LastError(TObexClientErrorResolutionSetType aErrorSet) const = 0;
+	};
+
+#endif __MOBEXCLIENTERRORRESOLVER_H