Begin rewriting Player in C++

This commit is contained in:
Dark Steveneq
2025-10-16 19:21:35 +02:00
parent 1f821d58cc
commit 01a3775ac7
11 changed files with 184 additions and 3 deletions

21
player.cpp Normal file
View File

@@ -0,0 +1,21 @@
#include "player.h"
Player::Player(QObject *parent) : QObject(parent)
{
qDebug("Player::Player(): Constructed");
}
Player::~Player()
{
qDebug("Player::~Player(): Destructed");
}
void Player::startPlaying(int index)
{
qDebug("Player::startPlaying(): Success, I can call between both environments!");
}
void Player::stopPlaying()
{
qDebug("Player::stopPlaying(): Success, I can even tell C++ to stop!");
}