-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp_state.h
48 lines (42 loc) · 1.43 KB
/
app_state.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*************************************************************
*
* File: app_state.h
* Author: David Kelley
* Description: Make available aplication state variables
*
* Copyright (C) 2009 David Kelley
*
* This file is part of bviplus.
*
* Bviplus is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Bviplus is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with bviplus. If not, see <http://www.gnu.org/licenses/>.
*
*************************************************************/
#include "virt_file.h"
#include "creadline.h"
#ifndef __APP_STATE_H__
#define __APP_STATE_H__
typedef struct app_state_s
{
BOOL quit;
BOOL search_since_cancel;
} app_state_t;
extern app_state_t app_state;
extern file_manager_t *current_file;
extern vf_ring_t *file_ring;
extern vf_stat_t vfstat;
extern cmd_hist_t *ascii_search_hist;
extern cmd_hist_t *hex_search_hist;
extern cmd_hist_t *cmd_hist;
extern cmd_hist_t *file_hist;
#endif /* __APP_STATE_H__ */