28 lines
446 B
C

#ifndef SLOCATION_H
#define SLOCATION_H
#include <QList>
#include "SDeviceGroup.h"
struct SLocation
{
int nId;
QString sName;
QString sTagName;
QList<SDeviceGroup*> listDeviceGroup;
SLocation()
{
nId = 0;
sName = "";
sTagName = "";
}
~SLocation()
{
qDeleteAll( listDeviceGroup );
listDeviceGroup.clear();
}
};
#endif // SLOCATION_H