00001 /* 00002 * ============================================================================== 00003 * Name : TSendingCapabilities.h 00004 * Part of : SendUi 00005 * Description : Sending capabilities for sending services. Used by SendUi to 00006 * filter sending services from "Send" pop-up list query. 00007 * Version : 1.0 00008 * 00009 * Copyright © 2002-2004 Nokia. All rights reserved. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia. All rights are reserved. Copying, including 00013 * reproducing, storing, adapting or translating, any 00014 * or all of this material requires the prior written consent of 00015 * Nokia. This material also contains confidential 00016 * information which may not be disclosed to others without the 00017 * prior written consent of Nokia. 00018 * ============================================================================== 00019 */ 00020 00021 00022 #ifndef TSENDINGCAPABILITIES_H 00023 #define TSENDINGCAPABILITIES_H 00024 00025 // INCLUDES 00026 #include <e32base.h> 00027 00028 // MACROS 00029 #define KCapabilitiesForAllServices TSendingCapabilities::CapabilitiesForAllServices() 00030 00031 // CLASS DECLARATION 00032 00040 class TSendingCapabilities 00041 { 00042 public: 00043 00044 enum TSendingFlags 00045 { 00046 EAllServices = 0, 00047 ESupportsAttachments = 1, 00048 ESupportsBodyText = 2, 00049 ESupportsBioSending = 4, 00050 ESupportsEditor = 8 00051 }; 00052 00053 public: // Constructors and destructor 00054 00058 IMPORT_C TSendingCapabilities(); 00059 00066 IMPORT_C TSendingCapabilities( 00067 TInt aBodySize, 00068 TInt aMessageSize, 00069 TInt aFlags ); 00070 00071 public: // New functions 00072 00073 static inline TSendingCapabilities CapabilitiesForAllServices(); 00074 00080 IMPORT_C TBool operator==( 00081 const TSendingCapabilities& aSendingCapabilities ) const; 00082 00088 IMPORT_C TBool operator!=( 00089 const TSendingCapabilities& aSendingCapabilities ) const; 00090 00091 public: 00092 00093 TInt iBodySize; 00094 TInt iMessageSize; 00095 TInt iFlags; 00096 }; 00097 00098 #include "TSendingCapabilities.inl" 00099 00100 // TSENDINGCAPABILITIES_H 00101 #endif 00102 00103 // End of File 00104