UTIL_XPC_API NotificationActionHandler(Entity &entity, QObject *=0)
Creates the handler on the given entity.
UTIL_XPC_API void AddFunction(const QString &name, Callback_t action)
Adds an action with the given name.
void notificationActionTriggered(int)
std::function< void()> Callback_t
Type of functions used as actions in the handler.
Aids in adding actions to notifications.
A message used for inter-plugin communication.
UTIL_XPC_API void AddDependentObject(QObject *object)
Adds an object as a dependent object.