3 * GUI display the mailboxes in a side panel
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>
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
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
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/>.
25 #ifndef MUTT_SIDEBAR_H
26 #define MUTT_SIDEBAR_H
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;
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);
51 #endif /* MUTT_SIDEBAR_H */