#ifndef CLIENTS_LIST_H
#define CLIENTS_LIST_H

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

namespace Ui {
	class ClientsList;
}


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

	void set(const PIVector<ServerClientInfo> & clients);
	
private:
	Ui::ClientsList * ui;
	QMap<int, QIcon> os_icons;
	QMetaEnum ose, rolee, cte;

private slots:

signals:
	
};

#endif
