2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
Copyright (C) 2007, Christian Schoenebeck |
Copyright (C) 2007, 2008 Christian Schoenebeck |
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
8 |
modify it under the terms of the GNU General Public License |
modify it under the terms of the GNU General Public License |
34 |
#include <QModelIndex> |
#include <QModelIndex> |
35 |
#include <QSize> |
#include <QSize> |
36 |
#include <QList> |
#include <QList> |
37 |
|
#include <set> |
38 |
|
|
39 |
#include <lscp/client.h> |
#include <lscp/client.h> |
40 |
#include <lscp/device.h> |
#include <lscp/device.h> |
153 |
// Device ids enumerator. |
// Device ids enumerator. |
154 |
static int *getDevices(lscp_client_t *pClient, |
static int *getDevices(lscp_client_t *pClient, |
155 |
DeviceType deviceType); |
DeviceType deviceType); |
156 |
|
static std::set<int> getDeviceIDs(lscp_client_t *pClient, |
157 |
|
DeviceType deviceType); |
158 |
|
|
159 |
// Driver names enumerator. |
// Driver names enumerator. |
160 |
static QStringList getDrivers(lscp_client_t *pClient, |
static QStringList getDrivers(lscp_client_t *pClient, |