Misha Krieger-Raynauld | addd6fe | 2022-10-22 12:46:04 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2022 Savoir-faire Linux Inc. |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU Affero General Public License as |
| 6 | * published by the Free Software Foundation; either version 3 of the |
| 7 | * License, or (at your option) any later version. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU Affero General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU Affero General Public |
| 15 | * License along with this program. If not, see |
| 16 | * <https://www.gnu.org/licenses/>. |
| 17 | */ |
Misha Krieger-Raynauld | 68a9b56 | 2022-10-28 19:47:46 -0400 | [diff] [blame] | 18 | /** |
| 19 | * Signals emitted by the Jami daemon. |
| 20 | * |
| 21 | * The definition of signals can be found in `daemon/bin/nodejs/callback.h`. |
| 22 | */ |
Misha Krieger-Raynauld | addd6fe | 2022-10-22 12:46:04 -0400 | [diff] [blame] | 23 | export enum JamiSignal { |
Misha Krieger-Raynauld | 68a9b56 | 2022-10-28 19:47:46 -0400 | [diff] [blame] | 24 | // libjami::ConfigurationSignal |
Misha Krieger-Raynauld | addd6fe | 2022-10-22 12:46:04 -0400 | [diff] [blame] | 25 | AccountsChanged = 'AccountsChanged', |
| 26 | AccountDetailsChanged = 'AccountDetailsChanged', |
| 27 | RegistrationStateChanged = 'RegistrationStateChanged', |
idillon | 3e378fd | 2022-12-23 11:48:12 -0500 | [diff] [blame] | 28 | ComposingStatusChanged = 'ComposingStatusChanged', |
Michelle Sepkap Sime | dd82cbf | 2022-11-17 23:31:49 -0500 | [diff] [blame] | 29 | IncomingTrustRequest = 'IncomingTrustRequest', |
Misha Krieger-Raynauld | addd6fe | 2022-10-22 12:46:04 -0400 | [diff] [blame] | 30 | ContactAdded = 'ContactAdded', |
| 31 | ContactRemoved = 'ContactRemoved', |
| 32 | ExportOnRingEnded = 'ExportOnRingEnded', |
| 33 | NameRegistrationEnded = 'NameRegistrationEnded', |
| 34 | RegisteredNameFound = 'RegisteredNameFound', |
| 35 | VolatileDetailsChanged = 'VolatileDetailsChanged', |
| 36 | KnownDevicesChanged = 'KnownDevicesChanged', |
| 37 | IncomingAccountMessage = 'IncomingAccountMessage', |
| 38 | AccountMessageStatusChanged = 'AccountMessageStatusChanged', |
| 39 | |
Misha Krieger-Raynauld | 68a9b56 | 2022-10-28 19:47:46 -0400 | [diff] [blame] | 40 | // libjami::CallSignal |
Misha Krieger-Raynauld | addd6fe | 2022-10-22 12:46:04 -0400 | [diff] [blame] | 41 | StateChange = 'StateChange', |
| 42 | IncomingMessage = 'IncomingMessage', |
| 43 | IncomingCall = 'IncomingCall', |
| 44 | IncomingCallWithMedia = 'IncomingCallWithMedia', |
| 45 | MediaChangeRequested = 'MediaChangeRequested', |
| 46 | |
Misha Krieger-Raynauld | 68a9b56 | 2022-10-28 19:47:46 -0400 | [diff] [blame] | 47 | // libjami::ConversationSignal |
Misha Krieger-Raynauld | addd6fe | 2022-10-22 12:46:04 -0400 | [diff] [blame] | 48 | ConversationLoaded = 'ConversationLoaded', |
| 49 | MessagesFound = 'MessagesFound', |
| 50 | MessageReceived = 'MessageReceived', |
| 51 | ConversationProfileUpdated = 'ConversationProfileUpdated', |
| 52 | ConversationRequestReceived = 'ConversationRequestReceived', |
| 53 | ConversationRequestDeclined = 'ConversationRequestDeclined', |
| 54 | ConversationReady = 'ConversationReady', |
| 55 | ConversationRemoved = 'ConversationRemoved', |
| 56 | ConversationMemberEvent = 'ConversationMemberEvent', |
| 57 | OnConversationError = 'OnConversationError', |
| 58 | OnConferenceInfosUpdated = 'OnConferenceInfosUpdated', |
| 59 | } |