blob: 2a70c3ebcd3e5e626f4f21a3c1e2ea5d10f9b500 (
plain)
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
|
#pragma once
#include <QtWidgets/QDialog>
#include <QtWidgets/QComboBox>
#include "binaryninjaapi.h"
#include "dialogtextedit.h"
#include "uicontext.h"
#include "uicomment.h"
class BINARYNINJAUIAPI CommentDialog : public QDialog
{
Q_OBJECT
DialogTextEdit* m_comment;
UIComment m_uicomment;
public:
CommentDialog(QWidget* parent, const UIComment& comment);
QString getNewComment();
QString getCurrentComment();
const FunctionRef& getCommentBackingFunction();
const BinaryViewRef& getCommentBackingData();
UICommentType getCommentType();
uint64_t getCommentAddress();
};
|