equal
deleted
inserted
replaced
18 #ifndef MMS_CONFORMANCE_CHECK_OPERATION_H |
18 #ifndef MMS_CONFORMANCE_CHECK_OPERATION_H |
19 #define MMS_CONFORMANCE_CHECK_OPERATION_H |
19 #define MMS_CONFORMANCE_CHECK_OPERATION_H |
20 |
20 |
21 #include <QObject> |
21 #include <QObject> |
22 |
22 |
23 #include <msgmediainfo.h> |
23 #include <MsgMediaInfo.h> |
24 #include <qstring.h> |
24 #include <qstring.h> |
25 |
25 |
26 #ifdef BUILD_MSGUI_UTILS_DLL |
26 #ifdef BUILD_MSGUI_UTILS_DLL |
27 #define MSGUI_UTILS_DLL_EXPORT Q_DECL_EXPORT |
27 #define MSGUI_UTILS_DLL_EXPORT Q_DECL_EXPORT |
28 #else |
28 #else |
68 * @param showNote, note is shown if enabled |
68 * @param showNote, note is shown if enabled |
69 * @return EInsertSuccess for successfull cases |
69 * @return EInsertSuccess for successfull cases |
70 */ |
70 */ |
71 int checkModeForInsert(const QString& file,bool showNote = true); |
71 int checkModeForInsert(const QString& file,bool showNote = true); |
72 |
72 |
73 /** |
|
74 * Validates if message can be forwarded |
|
75 * The validation checks include slide count check,MMS size check and |
|
76 * media conformance checks and this fucntion should be called only for mms |
|
77 * @param messageId message Id of the message to be validate |
|
78 * @return true if message can be forwarded |
|
79 * false if message cant be forwarded |
|
80 */ |
|
81 bool validateMsgForForward(int messageId); |
|
82 |
|
83 private: |
73 private: |
84 |
74 |
85 /* |
75 /* |
86 * Launch notification dialog |
76 * Launch notification dialog |
87 */ |
77 */ |