The macro AKONADI_RESOURCE_MAIN (defined in akonadi/src/agentbase/resourcebase.h ) should be mentioned in the API documentation at https://api.kde.org/kdepim/akonadi/html/classes.html , but it is missing from there.
STEPS TO REPRODUCE
(available in About System)
KDE Plasma Version:
KDE Frameworks Version:
Same goes for AKONADI_AGENT_MAIN. I guess it's some Doxygen flag to include macro apidox?