1 // Copyright (c) 2004-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __TSENDASCLIENTPANIC_H__
17 #define __TSENDASCLIENTPANIC_H__
20 Defines the SendAs client panic codes.
25 enum TSendAsClientPanic
28 Indicates an invalid request was made.
30 ESendAsClientPanicBadRequest = 0,
33 Indicates a request was made on a session with an invalid handle.
35 ESendAsClientPanicBadSubSessionHandle = 1,
38 Indicates a request was made with invalid an argument.
40 ESendAsClientPanicBadRequestArgument = 2,
43 Indicates a request while the session is already in use.
45 ESendAsClientPanicSubsessionInUse = 3,
48 Indicates a request relating to a message was made where no message exists.
50 ESendAsClientPanicNoCurrentMessage = 4,
53 Indicates a request deleting a non-existent message was made.
55 ESendAsClientPanicMessageAlreadyDeleted = 5,
58 Indicates a request to send a message encountered a problem.
60 ESendAsClientPanicSendingMessage = 6,
63 Indicates a request to add or create an attachment encountered a problem.
65 ESendAsClientPanicAddingCreatingAttachment = 7
69 #endif // __TSENDASCLIENTPANIC_H__