epoc32/include/pop3cmds.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
permissions -rw-r--r--
Final list of Symbian^2 public API header files
williamr@2
     1
// Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
williamr@2
     2
// All rights reserved.
williamr@2
     3
// This component and the accompanying materials are made available
williamr@2
     4
// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
williamr@2
     5
// which accompanies this distribution, and is available
williamr@2
     6
// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
williamr@2
     7
//
williamr@2
     8
// Initial Contributors:
williamr@2
     9
// Nokia Corporation - initial contribution.
williamr@2
    10
//
williamr@2
    11
// Contributors:
williamr@2
    12
//
williamr@2
    13
// Description:
williamr@2
    14
//
williamr@2
    15
williamr@2
    16
#if !defined (__POP3CMDS_H__)
williamr@2
    17
#define __POP3CMDS_H__
williamr@2
    18
williamr@2
    19
#if !defined (__MSVSTD_HRH__)
williamr@2
    20
#include <msvstd.hrh>
williamr@2
    21
#endif
williamr@2
    22
williamr@2
    23
/** POP3-specific commands that can be issued through CPop3ClientMtm::InvokeAsyncFunctionL(). 
williamr@2
    24
@publishedAll
williamr@2
    25
@released
williamr@2
    26
*/
williamr@2
    27
enum TPop3Cmds 
williamr@2
    28
	{
williamr@2
    29
	/** Unsupported. */
williamr@2
    30
	KPOP3MTMIsConnected = KMtmFirstFreeMtmFunctionId,
williamr@2
    31
	/** Attempt to connect to the current service. */
williamr@2
    32
	KPOP3MTMConnect,
williamr@2
    33
	/** Disconnect from the current service. */
williamr@2
    34
	KPOP3MTMDisconnect,
williamr@2
    35
	/** Unused. */
williamr@2
    36
	KPOP3MTMCreateReceipt,
williamr@2
    37
williamr@2
    38
	// need to pass in destination in aParameter
williamr@2
    39
	/** Copy any new messages from the current service, assuming a new connection does 
williamr@2
    40
	not need to be made. */
williamr@2
    41
	KPOP3MTMCopyNewMailWhenAlreadyConnected,
williamr@2
    42
	/** Copy any new messages from the current service, and do not disconnect afterwards. */
williamr@2
    43
	KPOP3MTMConnectAndCopyNewMailAndStayOnline,
williamr@2
    44
	/** Copy any new messages from the current service, and disconnect afterwards. */
williamr@2
    45
	KPOP3MTMConnectAndCopyNewMailAndDisconnect,
williamr@2
    46
	/** Move any new messages from the current service, assuming a new connection does 
williamr@2
    47
	not need to be made. */
williamr@2
    48
	KPOP3MTMMoveNewMailWhenAlreadyConnected,
williamr@2
    49
	/** Move any new messages from the current service, and do not disconnect afterwards. */
williamr@2
    50
	KPOP3MTMConnectAndMoveNewMailAndStayOnline,
williamr@2
    51
	/** Connect to current service, move any new messages, and disconnect afterwards. */
williamr@2
    52
	KPOP3MTMConnectAndMoveNewMailAndDisconnect,
williamr@2
    53
williamr@2
    54
	// need to pass in destination in aParameter
williamr@2
    55
	/** Copy the specified messages from the current service, assuming a new connection 
williamr@2
    56
	does not need to be made. */
williamr@2
    57
	KPOP3MTMCopyMailSelectionWhenAlreadyConnected,
williamr@2
    58
	/** Connect to current service, copy the specified messages, and do not disconnect 
williamr@2
    59
	afterwards. */
williamr@2
    60
	KPOP3MTMConnectAndCopyMailSelectionAndStayOnline,
williamr@2
    61
	/** Connect to current service, copy the specified messages, and disconnect afterwards. */
williamr@2
    62
	KPOP3MTMConnectAndCopyMailSelectionAndDisconnect,
williamr@2
    63
	/** Move the specified messages from the current service, assuming a new connection 
williamr@2
    64
	does not need to be made. */
williamr@2
    65
	KPOP3MTMMoveMailSelectionWhenAlreadyConnected,
williamr@2
    66
	/** Connect to current service, move the specified messages, and do not disconnect 
williamr@2
    67
	afterwards. */
williamr@2
    68
	KPOP3MTMConnectAndMoveMailSelectionAndStayOnline,
williamr@2
    69
	/** Connect to current service, move the specified messages, and disconnect afterwards. */
williamr@2
    70
	KPOP3MTMConnectAndMoveMailSelectionAndDisconnect,
williamr@2
    71
williamr@2
    72
	// need to pass in destination in aParameter
williamr@2
    73
	/** Copy all messages from the current service, assuming a new connection does 
williamr@2
    74
	not need to be made. */
williamr@2
    75
	KPOP3MTMCopyAllMailWhenAlreadyConnected,
williamr@2
    76
	/** Connect to current service, copy all messages, and do not disconnect afterwards. */
williamr@2
    77
	KPOP3MTMConnectAndCopyAllMailAndStayOnline,
williamr@2
    78
	/** Connect to current service, copy all messages, and disconnect afterwards. */
williamr@2
    79
	KPOP3MTMConnectAndCopyAllMailAndDisconnect,
williamr@2
    80
	/** Move all messages from the current service, assuming a new connection does 
williamr@2
    81
	not need to be made. */
williamr@2
    82
	KPOP3MTMMoveAllMailWhenAlreadyConnected,
williamr@2
    83
	/** Connect to current service, move all messages, and do not disconnect afterwards. */
williamr@2
    84
	KPOP3MTMConnectAndMoveAllMailAndStayOnline,
williamr@2
    85
	/** Connect to current service, move all messages, and disconnect afterwards. */
williamr@2
    86
	KPOP3MTMConnectAndMoveAllMailAndDisconnect,
williamr@2
    87
williamr@2
    88
	/** Cancel all offline operations. */
williamr@2
    89
	KPOP3MTMCancelOfflineOperations,
williamr@2
    90
	/** Unused. */
williamr@2
    91
	KPOP3MTMCancelSendOnNextConnection,
williamr@2
    92
	/** Creates a new message. */
williamr@2
    93
	KPOP3MTMCreateNewEmailMessage,
williamr@2
    94
	/** Creates a new reply message. */
williamr@2
    95
	KPOP3MTMCreateReplyEmailMessage,
williamr@2
    96
	/** Creates a new forwarded message. */
williamr@2
    97
	KPOP3MTMCreateForwardEmailMessage,
williamr@2
    98
	/** Creates a new forwarded message as an attachment. */
williamr@2
    99
	KPOP3MTMCreateForwardAsAttachmentEmailMessage,
williamr@2
   100
	/** Creates a new message-receipt message. */
williamr@2
   101
	KPOP3MTMCreateReceiptEmailMessage,
williamr@2
   102
	/** Populates the selection of messages from the current service, assuming a new connection does 
williamr@2
   103
	not need to be made. */
williamr@2
   104
	KPOP3MTMPopulate,
williamr@2
   105
	/** Populates any new messages from the current service, assuming a new connection does 
williamr@2
   106
	not need to be made. */
williamr@2
   107
	KPOP3MTMPopulateNew,
williamr@2
   108
	/** Populates all messages from the current service, assuming a new connection does 
williamr@2
   109
	not need to be made. */
williamr@2
   110
	KPOP3MTMPopulateAll 
williamr@2
   111
	};
williamr@2
   112
williamr@2
   113
#endif