#include <QtCore/qfactoryinterface.h> #ifndef QFACTORYINTERFACE_H struct QFactoryInterface{ /* Some contents are skipped to improve readability */ public: virtual class QStringList keys() const = 0; /* ... */ }; #endif // QFACTORYINTERFACE_H