$darkmode
Elektra 0.11.0
kdbplugin.hpp File Reference

Helpers for creating plugins. More...

#include <kdbplugin.h>
#include <key.hpp>
#include <keyset.hpp>
Include dependency graph for kdbplugin.hpp:

Detailed Description

Helpers for creating plugins.

Make sure to include kdberrors.h before including this file if you want warnings/errors to be added.

Proper usage:

using namespace ckdb;
#include <kdberrors.h>
#include <kdbplugin.hpp>
typedef Delegator<elektra::YourPluginClass> YPC;
// then e.g. YPC::open(handle, errorKey);
Provides all macros and definitions which are used for emitting error or warnings.
Helpers for creating plugins.