Make GUI Widget move Comments through the backend properly
[frida/frida.git] / src / gui / widgets / BasicBlockWidget.hxx
index e3d3611703937c521a207f0b655166172d9d7111..215086d760b2cc7a03fb692fd75b71dc34b7790e 100644 (file)
@@ -15,6 +15,7 @@ class Mainwindow;
 class CustomQGraphicsTextItem;
 class BasicBlock;
 class RenameFunctionEvent;
+class ChangeCommentEvent;
 
 class BasicBlockWidget : public QObject, public QGraphicsItem
 {
@@ -48,6 +49,8 @@ public:
 private:
        void updateFunctionName(RenameFunctionEvent* event);
        void populateWidget();
+       void changeCommentHandler(ChangeCommentEvent* event);
+       QString formatComments(Instruction* inst);
 
        uint32_t width, height;
        QString name;