#ifndef DEVICES_LIST_H
#define DEVICES_LIST_H

#include <QTreeWidget>
#include "SH_server_base.h"

namespace Ui {
	class DevicesList;
}


class DevicesList: public QTreeWidget {
	Q_OBJECT
public:
	DevicesList(QWidget * parent = 0);
	~DevicesList();

	void set(const PIVector<ServerDeviceInfo> & devices);
	
private:
	Ui::DevicesList * ui;
	QMap<QString, QIcon> dev_icons;
	QMap<int, QString> dmm;

private slots:

signals:
	
};

#endif
