old-graph: Move graph API into the common graph struct
[tig.git] / include / tig / help.h
blob5d07f7b29fddd94305adbf6dc5d9930e305325ee
1 /* Copyright (c) 2006-2014 Jonas Fonseca <jonas.fonseca@gmail.com>
3 * This program is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU General Public License as
5 * published by the Free Software Foundation; either version 2 of
6 * the License, or (at your option) any later version.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
14 #ifndef TIG_HELP_H
15 #define TIG_HELP_H
17 #include "tig/view.h"
19 extern struct view help_view;
21 static inline void
22 open_help_view(struct view *prev, enum open_flags flags)
24 open_view(prev, &help_view, flags);
27 #endif
28 /* vim: set ts=8 sw=8 noexpandtab: */