2025-10-02 11:19:14 +02:00
|
|
|
#include "genericcore.h"
|
|
|
|
|
|
2025-10-02 16:22:01 +02:00
|
|
|
#include <QDebug>
|
2025-10-02 16:22:47 +02:00
|
|
|
#include <QString>
|
2025-10-02 16:22:01 +02:00
|
|
|
|
2025-10-03 11:15:06 +02:00
|
|
|
#include "CoreConfig.h"
|
|
|
|
|
|
2025-10-02 13:42:13 +02:00
|
|
|
using namespace std;
|
|
|
|
|
|
2025-10-02 16:22:01 +02:00
|
|
|
GenericCore::GenericCore() { qDebug() << "Creating core..."; }
|
2025-10-02 13:42:13 +02:00
|
|
|
|
2025-10-02 16:22:01 +02:00
|
|
|
GenericCore::~GenericCore() { qDebug() << "Destroying core..."; }
|
2025-10-02 13:42:13 +02:00
|
|
|
|
2025-10-03 11:15:06 +02:00
|
|
|
QString GenericCore::toString() const {
|
|
|
|
|
return QString("%1 (Version %2)").arg(CORE_NAME).arg(CORE_VERSION);
|
|
|
|
|
}
|
2025-10-02 16:22:47 +02:00
|
|
|
|
2025-10-02 16:22:01 +02:00
|
|
|
void GenericCore::sayHello() const { qDebug() << "Hello from the core!"; }
|