#include <lib-ui/lib-ui.h>
#include <lib-ui/enter.h>
#include <lib-ui/menu.h>
-#include <lib-ui/sidebar.h>
#include <lib-mx/mx.h>
#include "mutt.h"
#include <lib-lua/lib-lua.h>
#include <lib-ui/lib-ui.h>
-#include <lib-ui/sidebar.h>
#include <lib-mx/mx.h>
#include <lib-mx/mh.h>
#include <lib-ui/lib-ui.h>
#include <lib-ui/menu.h>
-#include <lib-ui/sidebar.h>
#include <lib-mx/mx.h>
#include "mutt.h"
#include <lib-lua/lib-lua.h>
#include <lib-sys/unix.h>
#include <lib-mime/mime.h>
-#include <lib-ui/sidebar.h>
+#include <lib-ui/lib-ui.h>
#include "mutt.h"
#include "crypt.h"
*/
#include <lib-ui/lib-ui.h>
-
-#include <lib-ui/sidebar.h>
#include <lib-mx/mx.h>
#include "pop.h"
#ifndef MUTT_LIB_UI_LAYOUT_H
#define MUTT_LIB_UI_LAYOUT_H
+#include "mutt.h" /* because of CONTEXT :| */
+
extern WINDOW *sidebar_w, *main_w;
void ui_layout_init(void);
void mutt_refresh(void);
void mutt_endwin(const char *);
+int sidebar_draw(void);
+void sidebar_scroll(int);
+void sidebar_set_buffystats(CONTEXT *);
+const char *sidebar_get_current(void);
+void sidebar_set_current(const char *);
+
#endif
#include "charset.h"
#include <imap/imap.h>
-#include <lib-ui/sidebar.h>
extern size_t UngetCount;
*/
#include <lib-ui/lib-ui.h>
-#include <libgen.h>
-
#include <lib-ui/menu.h>
-#include <lib-ui/sidebar.h>
+
+#include <libgen.h>
#include "mutt.h"
#include "charset.h"
+++ /dev/null
-/*
- * Copyright notice from original mutt:
- * Copyright (C) ????-2004 Justin Hibbits <jrh29@po.cwru.edu>
- * Copyright (C) 2004 Thomer M. Gil <mutt@thomer.com>
- *
- * This file is part of mutt-ng, see http://www.muttng.org/.
- * It's licensed under the GNU General Public License,
- * please see the file GPL in the top level source directory.
- */
-
-#ifndef _SIDEBAR_H
-#define _SIDEBAR_H
-
-#include "mutt.h" /* because of CONTEXT :| */
-
-int sidebar_draw(void);
-void sidebar_scroll(int);
-void sidebar_set_buffystats(CONTEXT *);
-const char *sidebar_get_current(void);
-void sidebar_set_current(const char *);
-
-#endif /* _SIDEBAR_H */
#include <lib-ui/lib-ui.h>
#include <lib-ui/enter.h>
#include <lib-ui/menu.h>
-#include <lib-ui/sidebar.h>
#include <lib-ui/madtty.h>
#include <lib-mx/mx.h>