Robert Bieber | d8827b5 | 2010-06-18 21:10:01 +0000 | [diff] [blame] | 1 | /*************************************************************************** |
| 2 | * __________ __ ___. |
| 3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ |
| 4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / |
| 5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < |
| 6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ |
| 7 | * \/ \/ \/ \/ \/ |
| 8 | * $Id$ |
| 9 | * |
| 10 | * Copyright (C) 2010 Robert Bieber |
| 11 | * |
| 12 | * This program is free software; you can redistribute it and/or |
| 13 | * modify it under the terms of the GNU General Public License |
| 14 | * as published by the Free Software Foundation; either version 2 |
| 15 | * of the License, or (at your option) any later version. |
| 16 | * |
| 17 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY |
| 18 | * KIND, either express or implied. |
| 19 | * |
| 20 | ****************************************************************************/ |
| 21 | |
| 22 | #ifndef RBRENDERINFO_H |
| 23 | #define RBRENDERINFO_H |
| 24 | |
Robert Bieber | e1d8a3d | 2010-06-21 20:11:58 +0000 | [diff] [blame] | 25 | #include <QMap> |
| 26 | |
Robert Bieber | d8827b5 | 2010-06-18 21:10:01 +0000 | [diff] [blame] | 27 | class RBScreen; |
| 28 | class ProjectModel; |
| 29 | class ParseTreeModel; |
Robert Bieber | c32728c | 2010-06-26 05:18:21 +0000 | [diff] [blame] | 30 | class DeviceState; |
Robert Bieber | 49865b2 | 2010-08-04 09:16:52 +0000 | [diff] [blame] | 31 | class SkinDocument; |
Robert Bieber | d8827b5 | 2010-06-18 21:10:01 +0000 | [diff] [blame] | 32 | |
| 33 | class RBRenderInfo |
| 34 | { |
| 35 | public: |
Robert Bieber | e1d8a3d | 2010-06-21 20:11:58 +0000 | [diff] [blame] | 36 | RBRenderInfo(ParseTreeModel* model, ProjectModel* project, |
Robert Bieber | 49865b2 | 2010-08-04 09:16:52 +0000 | [diff] [blame] | 37 | SkinDocument* doc, QMap<QString, QString>* settings, |
Robert Bieber | d1a392a | 2010-08-09 19:37:23 +0000 | [diff] [blame] | 38 | DeviceState* device, RBScreen* screen); |
Robert Bieber | 3ecef7d | 2010-06-29 19:59:33 +0000 | [diff] [blame] | 39 | RBRenderInfo(); |
Robert Bieber | d8827b5 | 2010-06-18 21:10:01 +0000 | [diff] [blame] | 40 | RBRenderInfo(const RBRenderInfo& other); |
| 41 | virtual ~RBRenderInfo(); |
| 42 | |
| 43 | const RBRenderInfo& operator=(const RBRenderInfo& other); |
| 44 | |
| 45 | ProjectModel* project() const{ return mProject; } |
Robert Bieber | c32728c | 2010-06-26 05:18:21 +0000 | [diff] [blame] | 46 | DeviceState* device() const{ return mDevice; } |
Robert Bieber | 49865b2 | 2010-08-04 09:16:52 +0000 | [diff] [blame] | 47 | SkinDocument* document() const{ return mDoc; } |
Robert Bieber | e1d8a3d | 2010-06-21 20:11:58 +0000 | [diff] [blame] | 48 | QMap<QString, QString>* settings() const{ return mSettings; } |
Robert Bieber | d8827b5 | 2010-06-18 21:10:01 +0000 | [diff] [blame] | 49 | RBScreen* screen() const{ return mScreen; } |
| 50 | ParseTreeModel* model() const{ return mModel; } |
| 51 | |
| 52 | private: |
| 53 | ProjectModel* mProject; |
Robert Bieber | 49865b2 | 2010-08-04 09:16:52 +0000 | [diff] [blame] | 54 | SkinDocument* mDoc; |
Robert Bieber | e1d8a3d | 2010-06-21 20:11:58 +0000 | [diff] [blame] | 55 | QMap<QString, QString>* mSettings; |
Robert Bieber | c32728c | 2010-06-26 05:18:21 +0000 | [diff] [blame] | 56 | DeviceState* mDevice; |
Robert Bieber | d8827b5 | 2010-06-18 21:10:01 +0000 | [diff] [blame] | 57 | RBScreen* mScreen; |
Robert Bieber | d8827b5 | 2010-06-18 21:10:01 +0000 | [diff] [blame] | 58 | ParseTreeModel* mModel; |
| 59 | }; |
| 60 | |
| 61 | #endif // RBRENDERINFO_H |