2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * 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
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Sending capabilities for sending services. Used by SendUi to
15 * filter sending services from "Send" pop-up list query.
22 #ifndef TSENDINGCAPABILITIES_H
23 #define TSENDINGCAPABILITIES_H
29 #define KCapabilitiesForAllServices TSendingCapabilities::CapabilitiesForAllServices()
34 * Sending capabilities for sending services.
35 * Used by SendUi to filter sending services from "Send" pop-up list query.
38 * @since Series 60 3.0
40 class TSendingCapabilities
47 ESupportsAttachments = 1,
48 ESupportsBodyText = 2,
49 ESupportsBioSending = 4,
53 public: // Constructors and destructor
56 * Default C++ constructor
58 IMPORT_C TSendingCapabilities();
62 * @param aBodySize Maximum body size.
63 * @param aMessageSize Maximum whole message size (inc. attachments).
64 * @param aFlags: TSendingFlags.
66 IMPORT_C TSendingCapabilities(
71 public: // New functions
73 static inline TSendingCapabilities CapabilitiesForAllServices();
76 * Overloaded equal operator.
77 * @param aSendingCapabilities Sending capabilities to be compared
78 * @return ETrue if equal, otherwise, EFalse
80 IMPORT_C TBool operator==(
81 const TSendingCapabilities& aSendingCapabilities ) const;
84 * Overloaded not equal operator.
85 * @param aSendingCapabilities Sending capabilities to be compared
86 * @return ETrue if not equal, otherwise, EFalse
88 IMPORT_C TBool operator!=(
89 const TSendingCapabilities& aSendingCapabilities ) const;
98 #include "TSendingCapabilities.inl"
100 #endif // TSENDINGCAPABILITIES_H