From ffeca2b8740fba10e916fe04e89ef2fd5c606a90 Mon Sep 17 00:00:00 2001 From: Javier Date: Sat, 26 Dec 2015 19:45:33 +0100 Subject: prepare skeleton for music controller API --- musiccontroller.cpp | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 musiccontroller.cpp (limited to 'musiccontroller.cpp') diff --git a/musiccontroller.cpp b/musiccontroller.cpp new file mode 100644 index 0000000..ba9fc39 --- /dev/null +++ b/musiccontroller.cpp @@ -0,0 +1,44 @@ +/* + * libwatchfish - library with common functionality for SailfishOS smartwatch connector programs. + * Copyright (C) 2015 Javier S. Pedro + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include "musiccontroller.h" +#include "musiccontroller_p.h" + +namespace watchfish +{ + +MusicControllerPrivate::MusicControllerPrivate(MusicController *q) + : q_ptr(q) +{ +} + +MusicControllerPrivate::~MusicControllerPrivate() +{ +} + +MusicController::MusicController(QObject *parent) + : QObject(parent), d_ptr(new MusicControllerPrivate(this)) +{ +} + +MusicController::~MusicController() +{ + delete d_ptr; +} + +} -- cgit v1.2.3