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.
30 lines
705 B
30 lines
705 B
// This file is under GNU General Public License 3.0
|
|
// see LICENSE.txt
|
|
|
|
#ifndef LIBPEPDATATYPES_TYPES_HH
|
|
#define LIBPEPDATATYPES_TYPES_HH
|
|
|
|
#include "wrapper.hh"
|
|
|
|
#include <stdexcept>
|
|
#include <pEp/pEpEngine.h>
|
|
#include <pEp/stringpair.h>
|
|
#include <pEp/message.h>
|
|
|
|
namespace pEp
|
|
{
|
|
class EngineError : std::runtime_error
|
|
{
|
|
public:
|
|
EngineError(PEP_STATUS status, const char* message = nullptr);
|
|
};
|
|
|
|
using Identity = Wrapper<::pEp_identity*>;
|
|
using StringPair = Wrapper<::stringpair_t*>;
|
|
using StringPairList = ListWrapper<::stringpair_list_t*, ::stringpair_t*>;
|
|
|
|
using Message = Wrapper<::message*>;
|
|
|
|
} // end of namespace pEp
|
|
|
|
#endif // LIBPEPDATATYPES_TYPES_HH
|
|
|