diff -r 000000000000 -r 14df0fbfcc4e inc/serviceerrno.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/inc/serviceerrno.h Mon Mar 30 12:51:10 2009 +0300 @@ -0,0 +1,59 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "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: Top level service provider error codes. +* %created_by: shreedha % +* %date_created: Tue Feb 10 11:56:28 2009 % +* +*/ +/********************************************************************** +* +* Header %name: serviceerrno.h % +* Instance: bh1sapi_1 +* Description: Top level service provider error codes. +* %created_by: shreedha % +* %date_created: Tue Feb 10 11:56:28 2009 % +* +**********************************************************************/ +#ifndef SERVICEERRNO_H +#define SERVICEERRNO_H + +#define SERRBASE 1000 + +enum SapiErrors + { + + SErrNone , + + SErrInvalidServiceArgument = SERRBASE, + SErrUnknownArgumentName , + SErrBadArgumentType , + SErrMissingArgument , + SErrServiceNotSupported , + SErrServiceInUse , + SErrServiceNotReady , + SErrNoMemory , + SErrHardwareNotAvailable , + SErrServerBusy , + SErrEntryExists , + SErrAccessDenied , + SErrNotFound , + SErrUnknownFormat , + SErrGeneralError , + SErrCancelSuccess, + SErrServiceTimedOut, + SErrPathNotFound + }; + + +#endif