NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
DOXYGEN
private_data.h
Go to the documentation of this file.
1 
23 #ifndef MUTT_INDEX_PRIVATE_DATA_H
24 #define MUTT_INDEX_PRIVATE_DATA_H
25 
26 #include <stdbool.h>
27 
28 struct IndexSharedData;
29 struct MuttWindow;
30 
35 {
36  bool tag;
37  int oldcount;
38  int newcount;
40  int attach_msg;
41  bool in_pager;
42 
44  struct Menu *menu;
46  struct MuttWindow *win_ibar;
48  struct MuttWindow *win_pbar;
49 };
50 
51 void index_private_data_free(struct MuttWindow *win, void **ptr);
53 
54 #endif /* MUTT_INDEX_PRIVATE_DATA_H */
struct IndexSharedData * shared
Shared Index data.
Definition: private_data.h:43
struct IndexPrivateData * index_private_data_new(struct IndexSharedData *shared)
Create new Index Data.
Definition: private_data.c:52
Definition: lib.h:67
struct Menu * menu
Menu controlling the index.
Definition: private_data.h:44
bool tag
tag-prefix has been pressed
Definition: private_data.h:36
Private state data for the Index.
Definition: private_data.h:34
struct MuttWindow * win_pbar
Window for the Pager Bar.
Definition: private_data.h:48
int newcount
New count of Emails in the Mailbox.
Definition: private_data.h:38
int oldcount
Old count of Emails in the Mailbox.
Definition: private_data.h:37
Data shared between Index, Pager and Sidebar.
Definition: shared_data.h:36
int attach_msg
Are we in "attach message" mode?
Definition: private_data.h:40
void index_private_data_free(struct MuttWindow *win, void **ptr)
Free Index Data.
Definition: private_data.c:38
struct MuttWindow * win_index
Window for the Index.
Definition: private_data.h:45
struct MuttWindow * win_ibar
Window for the Index Bar (status)
Definition: private_data.h:46
bool in_pager
Is the Pager active?
Definition: private_data.h:41
bool do_mailbox_notify
Do we need to notify the user of new mail?
Definition: private_data.h:39
struct MuttWindow * win_pager
Window for the Pager.
Definition: private_data.h:47