AusweisApp
Lade ...
Suche ...
Keine Treffer
Initializer.h
gehe zur Dokumentation dieser Datei
1
5/*
6 * \brief Initializer to register a lambda that will be executed if QCoreApplication is ready.
7 */
8
9#pragma once
10
11#include <QCoreApplication>
12
13#define INIT_FUNCTION(pRegister)\
14 namespace {\
15 static void init_function(){\
16 qAddPreRoutine(pRegister);\
17 }\
18 Q_CONSTRUCTOR_FUNCTION(init_function)\
19 }