* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#ifndef IGNORELISTMANAGER_H
-#define IGNORELISTMANAGER_H
+#pragma once
+
+#include "common-export.h"
-#include <QDebug>
#include <QString>
#include <QStringList>
#include <QRegExp>
#include "message.h"
#include "syncableobject.h"
-class IgnoreListManager : public SyncableObject
+class COMMON_EXPORT IgnoreListManager : public SyncableObject
{
+ Q_OBJECT
SYNCABLE_OBJECT
- Q_OBJECT
+
public:
inline IgnoreListManager(QObject *parent = 0) : SyncableObject(parent) { setAllowClientUpdates(true); }
IgnoreListManager &operator=(const IgnoreListManager &other);
/**
* Individual ignore list rule
*/
- class IgnoreListItem {
+ class COMMON_EXPORT IgnoreListItem {
public:
/**
* Construct an empty ignore rule
private:
IgnoreList _ignoreList;
};
-
-
-#endif // IGNORELISTMANAGER_H