2
* Copyright (C) 2011 Tuomo Penttinen, all rights reserved.
4
* Author: Tuomo Penttinen <tp@herqq.org>
6
* This file is part of Herqq UPnP Av (HUPnPAv) library.
8
* Herqq UPnP Av is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version.
13
* Herqq UPnP Av is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
18
* You should have received a copy of the GNU General Public License
19
* along with Herqq UPnP Av. If not, see <http://www.gnu.org/licenses/>.
22
#include "haudiochannelgroup.h"
23
#include "haudiochannelgroup_p.h"
34
/*******************************************************************************
35
* HAudioChannelGroupPrivate
36
******************************************************************************/
37
HAudioChannelGroupPrivate::HAudioChannelGroupPrivate(
38
const QString& clazz, HObject::CdsType cdsType) :
39
HChannelGroupPrivate(clazz, cdsType)
43
/*******************************************************************************
45
******************************************************************************/
46
HAudioChannelGroup::HAudioChannelGroup(const QString& clazz, CdsType cdsType) :
47
HChannelGroup(*new HAudioChannelGroupPrivate(clazz, cdsType))
51
HAudioChannelGroup::HAudioChannelGroup(HAudioChannelGroupPrivate& dd) :
56
HAudioChannelGroup::HAudioChannelGroup(
57
const QString& title, const QString& parentId, const QString& id) :
58
HChannelGroup(*new HAudioChannelGroupPrivate(sClass(), sType()))
60
init(title, parentId, id);
63
HAudioChannelGroup::~HAudioChannelGroup()
67
HAudioChannelGroup* HAudioChannelGroup::newInstance() const
69
return new HAudioChannelGroup();