2010-06-18 21:10:01 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
* Copyright (C) 2010 Robert Bieber
|
|
|
|
*
|
|
|
|
* 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 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
#include "rbrenderinfo.h"
|
|
|
|
|
2010-06-21 20:11:58 +00:00
|
|
|
RBRenderInfo::RBRenderInfo(ParseTreeModel* model, ProjectModel* project,
|
2010-06-26 05:18:21 +00:00
|
|
|
QMap<QString, QString>* settings,
|
2010-07-04 01:47:04 +00:00
|
|
|
DeviceState* device, RBScreen* screen,
|
|
|
|
RBScreen* sbsScreen)
|
2010-06-21 20:11:58 +00:00
|
|
|
:mProject(project), mSettings(settings),
|
2010-07-04 01:47:04 +00:00
|
|
|
mDevice(device), mScreen(screen),
|
|
|
|
mSbsScreen(sbsScreen), mModel(model)
|
2010-06-18 21:10:01 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2010-06-29 19:59:33 +00:00
|
|
|
RBRenderInfo::RBRenderInfo()
|
|
|
|
: mProject(0), mSettings(0), mDevice(0), mScreen(0), mModel(0)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2010-06-18 21:10:01 +00:00
|
|
|
RBRenderInfo::RBRenderInfo(const RBRenderInfo &other)
|
|
|
|
{
|
|
|
|
mProject = other.mProject;
|
2010-06-21 20:11:58 +00:00
|
|
|
mSettings = other.mSettings;
|
2010-06-26 05:18:21 +00:00
|
|
|
mDevice = other.mDevice;
|
2010-06-18 21:10:01 +00:00
|
|
|
mScreen = other.mScreen;
|
2010-07-04 01:47:04 +00:00
|
|
|
mSbsScreen = other.mSbsScreen;
|
2010-06-18 21:10:01 +00:00
|
|
|
mModel = other.mModel;
|
|
|
|
}
|
|
|
|
|
|
|
|
const RBRenderInfo& RBRenderInfo::operator=(const RBRenderInfo& other)
|
|
|
|
{
|
|
|
|
mProject = other.mProject;
|
2010-06-21 20:11:58 +00:00
|
|
|
mSettings = other.mSettings;
|
2010-06-26 05:18:21 +00:00
|
|
|
mDevice = other.mDevice;
|
2010-06-18 21:10:01 +00:00
|
|
|
mScreen = other.mScreen;
|
2010-07-04 01:47:04 +00:00
|
|
|
mSbsScreen = other.mSbsScreen;
|
2010-06-18 21:10:01 +00:00
|
|
|
mModel = other.mModel;
|
2010-06-21 18:24:30 +00:00
|
|
|
|
|
|
|
return *this;
|
2010-06-18 21:10:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
RBRenderInfo::~RBRenderInfo()
|
|
|
|
{
|
|
|
|
}
|