blob: f1c40ca585cfe710d8b305d8e3c2377db7f1e54f (
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
26
27
28
29
30
31
32
33
34
35
|
#pragma once
#include <QtWidgets/QDialog>
#include <QtWidgets/QComboBox>
#include "binaryninjaapi.h"
#include "dialogtextedit.h"
#include "uicontext.h"
#include "uicomment.h"
/*!
\defgroup commentdialog CommentDialog
\ingroup uiapi
*/
/*!
\ingroup commentdialog
*/
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();
};
|