summaryrefslogtreecommitdiffstats
blob: 82bfe9bf7f3cc4909adcfd1badfd5662f395066f (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
/*
 * Copyright (c) 2010 Kevin Smith
 * Licensed under the GNU General Public License v3.
 * See Documentation/Licenses/GPLv3.txt for more information.
 */

#pragma once

#include "ui_QtBookmarkDetailWindow.h"

#include <boost/shared_ptr.hpp>

#include <QDialog>

#include "Swiften/MUC/MUCBookmark.h"

namespace Swift {
	class QtBookmarkDetailWindow : public QDialog, protected Ui::QtBookmarkDetailWindow {
		Q_OBJECT
		public:
			QtBookmarkDetailWindow(QWidget* parent = NULL);
			virtual void commit() = 0;
			boost::shared_ptr<MUCBookmark> createBookmarkFromForm();
		public slots:
			void accept();
	};
}