summaryrefslogtreecommitdiff
path: root/AudioManagerPoC/business_logic/include/volumechart.h
blob: 47113272b1573f5a69a1f9316c96059edded5ac0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/**
 * SPDX license identifier: MPL-2.0
 *
 * Copyright (C) 2011-2014, Wind River Systems
 * Copyright (C) 2014, GENIVI Alliance
 *
 * This file is part of GENIVI AudioManager PoC.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License (MPL), v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * For further information see http://www.genivi.org/.
 *
 * List of changes:
 *
 * 21.09.2014, Adrian Scarlat, First version of the code;
 *                             Added Copyright and License information;
 */

#ifndef VOLUMECHART_H
#define VOLUMECHART_H

#include <QQuickImageProvider>
#include <QQuickView>
#include <QPixmap>
#include <QString>
#include <QSize>

class volumechart : public QQuickImageProvider
{
public:
    static QList<QList<int> > volumes;

    volumechart();

    QPixmap requestPixmap(const QString &id, QSize *size, const QSize &requestedSize);
};


#endif // VOLUMECHART_H