]> granicus.if.org Git - neomutt/blob - sidebar.h
Convert mutt_attach_reply() to use buffer pool
[neomutt] / sidebar.h
1 /**
2  * @file
3  * GUI display the mailboxes in a side panel
4  *
5  * @authors
6  * Copyright (C) 2004 Justin Hibbits <jrh29@po.cwru.edu>
7  * Copyright (C) 2004 Thomer M. Gil <mutt@thomer.com>
8  * Copyright (C) 2015-2016 Richard Russon <rich@flatcap.org>
9  *
10  * @copyright
11  * This program is free software: you can redistribute it and/or modify it under
12  * the terms of the GNU General Public License as published by the Free Software
13  * Foundation, either version 2 of the License, or (at your option) any later
14  * version.
15  *
16  * This program is distributed in the hope that it will be useful, but WITHOUT
17  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18  * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
19  * details.
20  *
21  * You should have received a copy of the GNU General Public License along with
22  * this program.  If not, see <http://www.gnu.org/licenses/>.
23  */
24
25 #ifndef MUTT_SIDEBAR_H
26 #define MUTT_SIDEBAR_H
27
28 #include <stdbool.h>
29
30 struct Mailbox;
31
32 /* These Config Variables are only used in sidebar.c */
33 extern short C_SidebarComponentDepth;
34 extern char *C_SidebarDelimChars;
35 extern char *C_SidebarDividerChar;
36 extern bool  C_SidebarFolderIndent;
37 extern char *C_SidebarFormat;
38 extern char *C_SidebarIndentString;
39 extern bool  C_SidebarNewMailOnly;
40 extern bool  C_SidebarNonEmptyMailboxOnly;
41 extern bool  C_SidebarNextNewWrap;
42 extern bool  C_SidebarShortPath;
43 extern short C_SidebarSortMethod;
44
45 void mutt_sb_change_mailbox(int op);
46 void mutt_sb_draw(void);
47 struct Mailbox *mutt_sb_get_highlight(void);
48 void mutt_sb_notify_mailbox(struct Mailbox *m, bool created);
49 void mutt_sb_set_open_mailbox(struct Mailbox *m);
50
51 #endif /* MUTT_SIDEBAR_H */