move more things in the lib-ui.
[apps/madmutt.git] / lib-ui / sidebar.h
diff --git a/lib-ui/sidebar.h b/lib-ui/sidebar.h
new file mode 100644 (file)
index 0000000..239366a
--- /dev/null
@@ -0,0 +1,25 @@
+/*
+ * 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 (int);
+void sidebar_draw_frames (void);
+void sidebar_scroll (int, int);
+void sidebar_set_buffystats (CONTEXT *);
+const char* sidebar_get_current (void);
+void sidebar_set_current (const char*);
+/* returns one if buff_check should thorougly count */
+int sidebar_need_count (void);
+
+#endif /* _SIDEBAR_H */