1 /**
2  * @file
3  * Notification Types
4  *
5  * @authors
6  * Copyright (C) 2019 Richard Russon <rich@flatcap.org>
7  *
8  * @copyright
9  * This program is free software: you can redistribute it and/or modify it under
10  * the terms of the GNU General Public License as published by the Free Software
11  * Foundation, either version 2 of the License, or (at your option) any later
12  * version.
13  *
14  * This program is distributed in the hope that it will be useful, but WITHOUT
15  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16  * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
17  * details.
18  *
19  * You should have received a copy of the GNU General Public License along with
20  * this program.  If not, see <http://www.gnu.org/licenses/>.
21  */
22 
23 #ifndef MUTT_LIB_NOTIFY_TYPE_H
24 #define MUTT_LIB_NOTIFY_TYPE_H
25 
26 /**
27  * enum NotifyType - Notification Types
28  *
29  * Each type lists the associated Event object
30  */
31 enum NotifyType
32 {
33   NT_ALL = 0, ///< Register for all notifications
34   NT_ACCOUNT, ///< Account has changed,         #NotifyAccount, #EventAccount
35   NT_ALIAS,   ///< Alias has changed,           #NotifyAlias,   #EventAlias
36   NT_ALTERN,  ///< Alternates command changed,  #NotifyAlternates
37   NT_ATTACH,  ///< Attachment command changed,  #NotifyAttach
38   NT_BINDING, ///< Key binding has changed,     #NotifyBinding, #EventBinding
39   NT_COLOR,   ///< Colour has changed,          #NotifyColor,   #EventColor
40   NT_COMMAND, ///< A Command has been executed, #Command
41   NT_COMPOSE, ///< Compose data has changed,    #NotifyCompose
42   NT_CONFIG,  ///< Config has changed,          #NotifyConfig,  #EventConfig
43   NT_CONTEXT, ///< Context has changed,         #NotifyContext, #EventContext
44   NT_EMAIL,   ///< Email has changed,           #NotifyEmail,   #EventEmail
45   NT_GLOBAL,  ///< Not object-related,          #NotifyGlobal
46   NT_HEADER,  ///< A header has changed,        #NotifyHeader   #EventHeader
47   NT_INDEX,   ///< Index data has changed,      #NotifyIndex,   #IndexSharedData
48   NT_MAILBOX, ///< Mailbox has changed,         #NotifyMailbox, #EventMailbox
49   NT_MENU,    ///< Menu has changed,            #MenuRedrawFlags
50   NT_PAGER,   ///< Pager data has changed,      #NotifyPager,   #PagerPrivateData
51   NT_SCORE,   ///< Email scoring has changed
52   NT_SUBJRX,  ///< Subject Regex has changed,   #NotifySubjRx
53   NT_WINDOW,  ///< MuttWindow has changed,      #NotifyWindow,  #EventWindow
54 };
55 
56 #endif /* MUTT_LIB_NOTIFY_TYPE_H */
57