Warning, file /education/cantor/src/lib/cantor_macros.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     SPDX-License-Identifier: GPL-2.0-or-later
0003     SPDX-FileCopyrightText: 2009 Alexander Rieder <alexanderrieder@gmail.com>
0004 */
0005 
0006 #ifndef _CANTOR_MACROS_H
0007 #define _CANTOR_MACROS_H
0008 
0009 #include <KPluginFactory>
0010 
0011 /**
0012   Exports Backend plugin.
0013 */
0014 #define K_EXPORT_CANTOR_PLUGIN(libname, classname) \
0015     K_PLUGIN_FACTORY(factory, registerPlugin<classname>();) \
0016     K_EXPORT_PLUGIN(factory("cantor_" #libname)) \
0017     K_EXPORT_PLUGIN_VERSION(CANTOR_VERSION)
0018 
0019 #endif /* _CANTOR_MACROS_H */