Changeset View
Changeset View
Standalone View
Standalone View
src/matrix-sdk.hpp
| Show First 20 Lines • Show All 192 Lines • ▼ Show 20 Lines | public Q_SLOTS: | ||||
| * Check if an event should be notified. | * Check if an event should be notified. | ||||
| * | * | ||||
| * @param event The event to check. | * @param event The event to check. | ||||
| * @return Whether `event` should be notified. | * @return Whether `event` should be notified. | ||||
| */ | */ | ||||
| bool shouldNotify(MatrixEvent *event) const; | bool shouldNotify(MatrixEvent *event) const; | ||||
| /** | /** | ||||
| * Check if an event should be notified with sound. | |||||
| * | |||||
| * You should only call this method when `shouldNotify(event)` | |||||
| * returns true. | |||||
| * | |||||
| * @param event The event to check. | |||||
| * @return Whether `event` should be notified with sound. | |||||
| */ | |||||
| bool shouldPlaySound(MatrixEvent *event) const; | |||||
| /** | |||||
| * Get the sticker pack list for the current account. | * Get the sticker pack list for the current account. | ||||
| * | * | ||||
| * @return A list of sticker packs associated with the current account. | * @return A list of sticker packs associated with the current account. | ||||
| */ | */ | ||||
| MatrixStickerPackList *stickerPackList() const; | MatrixStickerPackList *stickerPackList() const; | ||||
| /** | /** | ||||
| * Update the sticker pack from source. | * Update the sticker pack from source. | ||||
| Show All 17 Lines | |||||