Set up current working directory on File->Open
[gscope.git] / mark.h
blob174730c101d5b65c0fd78743f28496fb517b157e
1 /*
2 * (c) 2011 Cyrill Gorcunov, gorcunov@gmail.com
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or (at
7 * your option) any later version.
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
20 #ifndef MARK_H
21 #define MARK_H
23 #include "list.h"
25 struct gscope_info;
26 struct backend_proto_item;
28 #define MARKS_LIMIT (1 << 12)
30 struct mark_item {
31 char *file_path;
32 unsigned long line;
35 void mark_init(void);
36 void mark_fini(void);
38 void mark_push(struct backend_proto_item *item);
39 void mark_switch_to_prev(struct gscope_info *info);
40 void mark_switch_to_next(struct gscope_info *info);
42 #endif /* MARK_H */