2013-03-15 17:02:43 -04:00
|
|
|
/*
|
|
|
|
* Retroshare Gxs Support
|
2012-07-30 19:55:21 -04:00
|
|
|
*
|
2013-03-15 17:02:43 -04:00
|
|
|
* Copyright 2012-2013 by Robert Fernie.
|
2012-07-30 19:55:21 -04:00
|
|
|
*
|
2013-03-15 17:02:43 -04:00
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
* License Version 2.1 as published by the Free Software Foundation.
|
2012-07-30 19:55:21 -04:00
|
|
|
*
|
2013-03-15 17:02:43 -04:00
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Library General Public License for more details.
|
2012-07-30 19:55:21 -04:00
|
|
|
*
|
2013-03-15 17:02:43 -04:00
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
|
|
|
* USA.
|
|
|
|
*
|
|
|
|
* Please report all bugs and problems to "retroshare@lunamutt.com".
|
|
|
|
*
|
|
|
|
*/
|
2012-07-30 19:55:21 -04:00
|
|
|
|
|
|
|
|
|
|
|
#ifndef _WIKI_GROUP_DIALOG_H
|
|
|
|
#define _WIKI_GROUP_DIALOG_H
|
|
|
|
|
|
|
|
#include "GxsGroupDialog.h"
|
2012-10-31 19:32:56 -04:00
|
|
|
#include "retroshare/rswiki.h"
|
2012-07-30 19:55:21 -04:00
|
|
|
|
|
|
|
class WikiGroupDialog : public GxsGroupDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2012-10-31 19:32:56 -04:00
|
|
|
WikiGroupDialog(TokenQueue *tokenQueue, QWidget *parent);
|
2014-01-28 02:57:58 -05:00
|
|
|
WikiGroupDialog(TokenQueue *tokenExternalQueue, RsTokenService *tokenService, Mode mode, RsGxsGroupId groupId, QWidget *parent = NULL);
|
2012-07-30 19:55:21 -04:00
|
|
|
|
|
|
|
protected:
|
2013-01-07 06:40:05 -05:00
|
|
|
virtual void initUi();
|
2012-11-21 13:55:52 -05:00
|
|
|
virtual QPixmap serviceImage();
|
|
|
|
virtual bool service_CreateGroup(uint32_t &token, const RsGroupMetaData &meta);
|
2014-04-14 18:36:10 -04:00
|
|
|
virtual bool service_loadGroup(uint32_t token, Mode mode, RsGroupMetaData& groupMetaData, QString &description);
|
|
|
|
virtual bool service_EditGroup(uint32_t &token, RsGroupMetaData& groupMetaData);
|
2012-10-31 19:32:56 -04:00
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
RsWikiCollection mGrp;
|
2012-07-30 19:55:21 -04:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|