mirror-chatterino2/src/widgets/dialogs/IrcConnectionEditor.hpp

33 lines
601 B
C++
Raw Normal View History

2019-09-08 18:06:43 +02:00
#pragma once
#include <boost/optional.hpp>
#include "providers/irc/Irc2.hpp"
#include "widgets/BaseWindow.hpp"
2019-09-08 18:06:43 +02:00
namespace Ui {
class IrcConnectionEditor;
}
namespace chatterino {
struct IrcServerData;
2019-09-08 18:06:43 +02:00
class IrcConnectionEditor : public QDialog
{
Q_OBJECT
public:
explicit IrcConnectionEditor(const IrcServerData &data, bool isAdd = false,
QWidget *parent = nullptr);
2019-09-08 18:06:43 +02:00
~IrcConnectionEditor();
IrcServerData data();
2019-09-08 18:06:43 +02:00
private:
Ui::IrcConnectionEditor *ui_;
IrcServerData data_;
2019-09-08 18:06:43 +02:00
};
} // namespace chatterino