diff options
Diffstat (limited to 'Swift/QtUI/MUCSearch/MUCSearchItem.h')
-rw-r--r-- | Swift/QtUI/MUCSearch/MUCSearchItem.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Swift/QtUI/MUCSearch/MUCSearchItem.h b/Swift/QtUI/MUCSearch/MUCSearchItem.h index c378247..d0e2a88 100644 --- a/Swift/QtUI/MUCSearch/MUCSearchItem.h +++ b/Swift/QtUI/MUCSearch/MUCSearchItem.h @@ -1,17 +1,23 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once +#include <memory> + #include <QVariant> namespace Swift { - class MUCSearchItem { + +class MUCSearchServiceItem; + +class MUCSearchItem { public: virtual ~MUCSearchItem() {} + virtual void setParent(std::shared_ptr<MUCSearchServiceItem>) { } virtual QVariant data(int role) = 0; }; } |