1 #ifndef DISPATCHINGTEXTMESSAGESBUSINESSLOGIC_H
2 #define DISPATCHINGTEXTMESSAGESBUSINESSLOGIC_H
43 bool DeleteTextMessage(
const QDateTime messageTime,
const uint32_t messageID,
const bool isReceivedMessage );
60 QScopedPointer<DataClass> d;
65 #endif // DISPATCHINGTEXTMESSAGESBUSINESSLOGIC_H
Definition: DispatchingTextMessagesDefines.h:26
bool DeleteTextMessage(const QDateTime messageTime, const uint32_t messageID, const bool isReceivedMessage)
Definition: DispatchingTextMessagesBusinessLogic.cpp:344
void OnNewPredefinedMessagesReceived(const PredefinedMessages &predefinedMessages, const DispatchingTextMessagesReceiver::ReceivedMessageNotificationType receivedMessageNotificationType)
OnNewPredefinedMessagesReceived - methods stores new received predefined messages and ReceivedMessage...
Definition: DispatchingTextMessagesBusinessLogic.cpp:212
bool GetLastReceivedUnreadTextMessageToWriteAnswer(TextMessage &textMessage) const
Definition: DispatchingTextMessagesBusinessLogic.cpp:235
bool GetUnreadTextMessageByMessageTimeAndID(const QDateTime &messageTime, const uint32_t messageID, QString &messageText, PredefinedMessages &messageAnswersMap) const
Definition: DispatchingTextMessagesBusinessLogic.cpp:274
The BusinessLogic class is the base class of all business logic classes. Every inherited class has to...
Definition: BusinessLogic.h:11
static bool IsMessageCreatedOrAnsweredEarlier(const TextMessage &textMessage1, const TextMessage &textMessage2)
Definition: DispatchingTextMessagesBusinessLogic.cpp:394
bool GetReadTextMessages(QList< TextMessage > &textMessagesList) const
Definition: DispatchingTextMessagesBusinessLogic.cpp:225
Definition: ApplicationDefines.h:222
bool GetAnsweredTextMessages(QList< TextMessage > &textMessagesList) const
Definition: DispatchingTextMessagesBusinessLogic.cpp:269
ReceivedMessageNotificationType
Definition: DispatchingTextMessagesReceiver.h:19
virtual ~DispatchingTextMessagesBusinessLogic()
Definition: DispatchingTextMessagesBusinessLogic.cpp:208
bool CreateTextMessageAnswerFile(const QString &messageText, const uint32_t messageID, const QDateTime messageTime) const
CreateTextMessageAnswerFile - method creates and stores new file that represents text message that we...
Definition: DispatchingTextMessagesBusinessLogic.cpp:297
DispatchingTextMessagesBusinessLogic()
Definition: DispatchingTextMessagesBusinessLogic.cpp:202
static const ApplicationDefines::BusinessLogicType mBusinessLogicType
Definition: DispatchingTextMessagesBusinessLogic.h:11
DispatchingTextMessagesReceiver::ReceivedMessageNotificationType GetReceivedTextMessageNotificationType() const
GetReceivedTextMessageNotificationType.
Definition: DispatchingTextMessagesBusinessLogic.cpp:365
bool MoveUnreadTextMessageToReadMessagesDirectory(const QDateTime messageTime, const uint32_t messageID) const
Definition: DispatchingTextMessagesBusinessLogic.cpp:329
static bool IsMessageCreatedOrAnsweredLater(const TextMessage &textMessage1, const TextMessage &textMessage2)
Definition: DispatchingTextMessagesBusinessLogic.cpp:383
PredefinedMessages GetPredefinedMessages() const
GetPredefinedMessages - predefined messages texts are used for option to predefine texts...
Definition: DispatchingTextMessagesBusinessLogic.cpp:220
Definition: DispatchingTextMessagesBusinessLogic.h:8
Definition: ApplicationDefines.h:11
Definition: BusinessLogic.cpp:3
BusinessLogicType
Definition: ApplicationDefines.h:186
bool GetUnreadTextMessagesCount(int &unreadMessagesCount)
Definition: DispatchingTextMessagesBusinessLogic.cpp:370
bool GetUnreadTextMessages(QList< TextMessage > &textMessagesList) const
Definition: DispatchingTextMessagesBusinessLogic.cpp:230