Files
GenericQtClientCore/genericcore.cpp

19 lines
430 B
C++
Raw Normal View History

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