2012-01-11 23:01:29 +00:00
|
|
|
#ifndef RSGXS_H
|
|
|
|
#define RSGXS_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* libretroshare/src/gxs : rsgxs.h
|
|
|
|
*
|
|
|
|
* GXS interface for RetroShare.
|
2012-01-18 23:20:53 +00:00
|
|
|
* Convenience header
|
2012-01-11 23:01:29 +00:00
|
|
|
*
|
|
|
|
* Copyright 2011 Christopher Evi-Parker
|
|
|
|
*
|
|
|
|
* 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 as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
* 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".
|
|
|
|
*
|
|
|
|
* This is *THE* auth manager. It provides the web-of-trust via
|
|
|
|
* gpgme, and authenticates the certificates that are managed
|
|
|
|
* by the sublayer AuthSSL.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2012-02-24 21:15:08 +00:00
|
|
|
|
2012-01-18 23:20:53 +00:00
|
|
|
#include <inttypes.h>
|
2012-02-24 21:15:08 +00:00
|
|
|
#include <string>
|
|
|
|
#include <list>
|
|
|
|
#include <set>
|
2012-02-12 15:18:05 +00:00
|
|
|
#include <map>
|
2012-01-11 23:01:29 +00:00
|
|
|
|
2012-06-07 20:43:12 +00:00
|
|
|
#include "rsnxsobserver.h"
|
2012-03-11 00:05:43 +00:00
|
|
|
|
|
|
|
|
2012-04-01 21:10:55 +00:00
|
|
|
|
2012-06-07 20:43:12 +00:00
|
|
|
class RsGxsService : public RsNxsObserver
|
2012-02-24 21:15:08 +00:00
|
|
|
{
|
2012-01-19 23:32:27 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
|
2012-07-05 21:26:14 +00:00
|
|
|
RsGxsService();
|
2012-05-17 22:45:48 +00:00
|
|
|
virtual ~RsGxsService();
|
2012-02-24 21:15:08 +00:00
|
|
|
|
2012-07-05 21:26:14 +00:00
|
|
|
virtual void tick() = 0;
|
2012-05-17 22:45:48 +00:00
|
|
|
|
2012-02-24 21:15:08 +00:00
|
|
|
};
|
2012-01-18 23:20:53 +00:00
|
|
|
|
2012-01-11 23:01:29 +00:00
|
|
|
#endif // RSGXS_H
|