forked from ghostfox/qyouradio
Begin rewriting Player in C++
This commit is contained in:
21
player.cpp
Normal file
21
player.cpp
Normal 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!");
|
||||
}
|
||||
Reference in New Issue
Block a user