DBus interface in order to connect DBus applications to the p≡p engine.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

32 lines
663 B

#ifndef PEP_DBUS_SERVER_H
#define PEP_DBUS_SERVER_H
#include <dbus-c++/dbus.h>
#include <pEp/message_cache.hh>
#include "pep-server-glue.h"
struct _pEpSession;
namespace pEp {
class Server
: public security::pep_adaptor,
public DBus::IntrospectableAdaptor,
public DBus::ObjectAdaptor
{
public:
Server(DBus::Connection &connection);
~Server();
// Message API
void decryptMessage(const pEpDBusMessage& src, const pEpDBusStringList& keylist, const pEpDBusRating& rating,
const pEpDBusEncryptionFlags& flags, pEpDBusStatus& status, pEpDBusMessage& dst);
private:
struct _pEpSession* mSession;
};
}
#endif//__DEMO_ASYNC_SERVER_H