| 1 | #cxx . . $ `<file>/src/DisasmViewer.h`/ifndef DISASMVIEWER_H |
| 2 | #define DISASMVIEWER_Hcxx . . $ `src/DisasmViewer.h:2:9`! |
| 3 | |
| 4 | #include "Dasm.h"cxx . . $ `<file>/src/Dasm.h`/ |
| 5 | #include <QFrame> |
| 6 | #include <QPixmap> |
| 7 | |
| 8 | class CommMemoryRequestcxx . . $ CommMemoryRequest#; |
| 9 | class QScrollBarcxx . . $ QScrollBar#; |
| 10 | class Breakpointscxx . . $ Breakpoints#; |
| 11 | class SymbolTablecxx . . $ SymbolTable#; |
| 12 | struct MemoryLayoutcxx . . $ MemoryLayout#; |
| 13 | |
| 14 | class DisasmViewercxx . . $ DisasmViewer# : public QFramecxx . . $ QFrame# |
| 15 | { |
| 16 | Q_OBJECTcxx . . $ DisasmViewer#tr(75d9f1c324b4579d). |
| 17 | public: |
| 18 | DisasmViewercxx . . $ DisasmViewer#DisasmViewer(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget#* parent = nullptr); |
| 19 | |
| 20 | void setMemorycxx . . $ DisasmViewer#setMemory(f25546b61a629de7).(unsigned char* memPtr); |
| 21 | void setBreakpointscxx . . $ DisasmViewer#setBreakpoints(a6f64075c1962c5e).(Breakpointscxx . . $ Breakpoints#* bps); |
| 22 | void setMemoryLayoutcxx . . $ DisasmViewer#setMemoryLayout(64b27f19295a45ce).(MemoryLayoutcxx . . $ MemoryLayout#* ml); |
| 23 | void setSymbolTablecxx . . $ DisasmViewer#setSymbolTable(e4a7acf13c981465).(SymbolTablecxx . . $ SymbolTable#* st); |
| 24 | void memoryUpdatedcxx . . $ DisasmViewer#memoryUpdated(e15786835b1a8b73).(CommMemoryRequestcxx . . $ CommMemoryRequest#* req); |
| 25 | void updateCancelledcxx . . $ DisasmViewer#updateCancelled(e15786835b1a8b73).(CommMemoryRequestcxx . . $ CommMemoryRequest#* req); |
| 26 | uint16_tcxx . . $ uint16_t# programCountercxx . . $ DisasmViewer#programCounter(72085aa11f4b6e09).() const; |
| 27 | uint16_tcxx . . $ uint16_t# cursorAddresscxx . . $ DisasmViewer#cursorAddress(72085aa11f4b6e09).() const; |
| 28 | |
| 29 | QSizecxx . . $ QSize# sizeHintcxx . . $ DisasmViewer#sizeHint(4b3b776e5ee2b367).() const override; |
| 30 | |
| 31 | enumcxx . . $ DisasmViewer#$anonymous_type_0# {Topcxx . . $ DisasmViewer#Top., Middlecxx . . $ DisasmViewer#Middle., Bottomcxx . . $ DisasmViewer#Bottom., Closestcxx . . $ DisasmViewer#Closest., TopAlwayscxx . . $ DisasmViewer#TopAlways., MiddleAlwayscxx . . $ DisasmViewer#MiddleAlways., BottomAlwayscxx . . $ DisasmViewer#BottomAlways., Reloadcxx . . $ DisasmViewer#Reload.}; |
| 32 | |
| 33 | void setAddresscxx . . $ DisasmViewer#setAddress(a82834d34fbe7001).(uint16_tcxx . . $ uint16_t# addr, int infoLine = FIRST_INFO_LINEcxx . . $ FIRST_INFO_LINE., int method = Topcxx . . $ DisasmViewer#Top.); |
| 34 | void setCursorAddresscxx . . $ DisasmViewer#setCursorAddress(a82834d34fbe7001).(uint16_tcxx . . $ uint16_t# addr, int infoLine = FIRST_INFO_LINEcxx . . $ FIRST_INFO_LINE., int method = Topcxx . . $ DisasmViewer#Top.); |
| 35 | void copyCodeToClipboardcxx . . $ DisasmViewer#copyCodeToClipboard(83f5f38750778ac8).() const; |
| 36 | void setProgramCountercxx . . $ DisasmViewer#setProgramCounter(aa266def8759b091).(uint16_tcxx . . $ uint16_t# pc, bool reload = false); |
| 37 | void scrollBarActioncxx . . $ DisasmViewer#scrollBarAction(d4f767463ce0a6b3).(int action); |
| 38 | void scrollBarChangedcxx . . $ DisasmViewer#scrollBarChanged(d4f767463ce0a6b3).(int value); |
| 39 | void updateLayoutcxx . . $ DisasmViewer#updateLayout(49f6e7a06ebc5aa8).(); |
| 40 | void refreshcxx . . $ DisasmViewer#refresh(49f6e7a06ebc5aa8).(); |
| 41 | |
| 42 | private: |
| 43 | void requestMemorycxx . . $ DisasmViewer#requestMemory(30710014fe633fb5).(uint16_tcxx . . $ uint16_t# start, uint16_tcxx . . $ uint16_t# end, uint16_tcxx . . $ uint16_t# addr, int infoLine, int method); |
| 44 | int findPositioncxx . . $ DisasmViewer#findPosition(ec4a7933931c32af).(uint16_tcxx . . $ uint16_t# addr, int infoLine, int method); |
| 45 | |
| 46 | void resizeEventcxx . . $ DisasmViewer#resizeEvent(eeeec21cf8dc0387).(QResizeEventcxx . . $ QResizeEvent#* e) override; |
| 47 | void paintEventcxx . . $ DisasmViewer#paintEvent(f239c9e85d61a220).(QPaintEventcxx . . $ QPaintEvent#* e) override; |
| 48 | void keyPressEventcxx . . $ DisasmViewer#keyPressEvent(c92999c1b6b09cc0).(QKeyEventcxx . . $ QKeyEvent#* e) override; |
| 49 | void mousePressEventcxx . . $ DisasmViewer#mousePressEvent(702858a82d06265c).(QMouseEventcxx . . $ QMouseEvent#* e) override; |
| 50 | void wheelEventcxx . . $ DisasmViewer#wheelEvent(92d40974398e4832).(QWheelEventcxx . . $ QWheelEvent#* e) override; |
| 51 | |
| 52 | int findDisasmLinecxx . . $ DisasmViewer#findDisasmLine(3727f65dc41d151e).(uint16_tcxx . . $ uint16_t# lineAddr, int infoLine = 0); |
| 53 | int lineAtPoscxx . . $ DisasmViewer#lineAtPos(7f6a8dc075353cdd).(const QPointcxx . . $ QPoint#& pos); |
| 54 | |
| 55 | private: |
| 56 | QScrollBarcxx . . $ QScrollBar#* scrollBarcxx . . $ DisasmViewer#scrollBar.; |
| 57 | |
| 58 | QPixmapcxx . . $ QPixmap# breakMarkercxx . . $ DisasmViewer#breakMarker.; |
| 59 | QPixmapcxx . . $ QPixmap# watchMarkercxx . . $ DisasmViewer#watchMarker.; |
| 60 | QPixmapcxx . . $ QPixmap# pcMarkercxx . . $ DisasmViewer#pcMarker.; |
| 61 | |
| 62 | uint16_tcxx . . $ uint16_t# programAddrcxx . . $ DisasmViewer#programAddr.; |
| 63 | uint16_tcxx . . $ uint16_t# cursorAddrcxx . . $ DisasmViewer#cursorAddr.; |
| 64 | int cursorLinecxx . . $ DisasmViewer#cursorLine.; |
| 65 | |
| 66 | QListcxx . . $ QList#<int> jumpStackcxx . . $ DisasmViewer#jumpStack.; |
| 67 | |
| 68 | int wheelRemaindercxx . . $ DisasmViewer#wheelRemainder.; |
| 69 | |
| 70 | // layout information |
| 71 | int frameLcxx . . $ DisasmViewer#frameL., frameRcxx . . $ DisasmViewer#frameR., frameTcxx . . $ DisasmViewer#frameT., frameBcxx . . $ DisasmViewer#frameB.; |
| 72 | int labelFontHeightcxx . . $ DisasmViewer#labelFontHeight., labelFontAscentcxx . . $ DisasmViewer#labelFontAscent.; |
| 73 | int codeFontHeightcxx . . $ DisasmViewer#codeFontHeight., codeFontAscentcxx . . $ DisasmViewer#codeFontAscent.; |
| 74 | int xAddrcxx . . $ DisasmViewer#xAddr., xMCodecxx . . $ DisasmViewer#xMCode.[4], xMnemcxx . . $ DisasmViewer#xMnem., xMnemArgcxx . . $ DisasmViewer#xMnemArg.; |
| 75 | int visibleLinescxx . . $ DisasmViewer#visibleLines., partialBottomLinecxx . . $ DisasmViewer#partialBottomLine.; |
| 76 | int disasmTopLinecxx . . $ DisasmViewer#disasmTopLine.; |
| 77 | DisasmLinescxx . . $ DisasmLines# disasmLinescxx . . $ DisasmViewer#disasmLines.; |
| 78 | |
| 79 | // display data |
| 80 | unsigned char* memorycxx . . $ DisasmViewer#memory.; |
| 81 | bool waitingForDatacxx . . $ DisasmViewer#waitingForData.; |
| 82 | CommMemoryRequestcxx . . $ CommMemoryRequest#* nextRequestcxx . . $ DisasmViewer#nextRequest.; |
| 83 | Breakpointscxx . . $ Breakpoints#* breakpointscxx . . $ DisasmViewer#breakpoints.; |
| 84 | MemoryLayoutcxx . . $ MemoryLayout#* memLayoutcxx . . $ DisasmViewer#memLayout.; |
| 85 | SymbolTablecxx . . $ SymbolTable#* symTablecxx . . $ DisasmViewer#symTable.; |
| 86 | |
| 87 | signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!: |
| 88 | void breakpointToggledcxx . . $ DisasmViewer#breakpointToggled(d4f767463ce0a6b3).(int addr); |
| 89 | }; |
| 90 | |
| 91 | #endif // DISASMVIEWER_H |