Merge pull request #457 from vivien/text-variable
[tig.git] / include / tig / tree.h
blob0c987cb9bf29016772e60e5cc5e612d6c01b0556
1 /* Copyright (c) 2006-2015 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_TREE_H
15 #define TIG_TREE_H
17 #include "tig/view.h"
19 void open_blob_editor(const char *id, const char *name, unsigned int lineno);
21 extern struct view tree_view;
23 static inline void
24 open_tree_view(struct view *prev, enum open_flags flags)
26 open_view(prev, &tree_view, flags);
29 #endif
30 /* vim: set ts=8 sw=8 noexpandtab: */