// // Copyright (c) 2019 Open Whisper Systems. All rights reserved. // #import NS_ASSUME_NONNULL_BEGIN @class TSErrorMessage; @class TSIncomingMessage; @class TSThread; @class YapDatabaseReadTransaction; @class YapDatabaseReadWriteTransaction; @protocol ContactsManagerProtocol; @protocol NotificationsProtocol - (void)notifyUserForIncomingMessage:(TSIncomingMessage *)incomingMessage inThread:(TSThread *)thread transaction:(YapDatabaseReadTransaction *)transaction; - (void)notifyUserForErrorMessage:(TSErrorMessage *)error thread:(TSThread *)thread transaction:(YapDatabaseReadWriteTransaction *)transaction; - (void)notifyUserForThreadlessErrorMessage:(TSErrorMessage *)error transaction:(YapDatabaseReadWriteTransaction *)transaction; - (void)clearAllNotifications; @end NS_ASSUME_NONNULL_END