headers/bsd: Add sys/queue.h.
[haiku.git] / src / kits / debugger / dwarf / DwarfFileLoadingState.h
blob7f1467d1b8a530fa7f1917bf78d35930a25d7913
1 /*
2 * Copyright 2014, Rene Gollent, rene@gollent.com.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef DWARF_FILE_LOADING_STATE_H
6 #define DWARF_FILE_LOADING_STATE_H
9 #include <Referenceable.h>
10 #include <String.h>
13 class DwarfFile;
16 enum dwarf_file_loading_state {
17 DWARF_FILE_LOADING_STATE_INITIAL = 0,
18 DWARF_FILE_LOADING_STATE_USER_INPUT_NEEDED,
19 DWARF_FILE_LOADING_STATE_USER_INPUT_PROVIDED,
20 DWARF_FILE_LOADING_STATE_FAILED,
21 DWARF_FILE_LOADING_STATE_SUCCEEDED
25 struct DwarfFileLoadingState {
26 BReference<DwarfFile>
27 dwarfFile;
28 BString externalInfoFileName;
29 BString locatedExternalInfoPath;
30 dwarf_file_loading_state
31 state;
33 DwarfFileLoadingState();
34 ~DwarfFileLoadingState();
38 #endif // DWARF_FILE_LOADING_STATE_H