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 7 8 9 #include <Referenceable.h> 10 #include <String.h> 11 12 13 class DwarfFile; 14 15 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 22 }; 23 24 25 struct DwarfFileLoadingState { 26 BReference<DwarfFile> 27 dwarfFile; 28 BString externalInfoFileName; 29 BString locatedExternalInfoPath; 30 dwarf_file_loading_state 31 state; 32 33 DwarfFileLoadingState(); 34 ~DwarfFileLoadingState(); 35 }; 36 37 38 #endif // DWARF_FILE_LOADING_STATE_H 39