1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 08:53:54 +00:00
openmw/apps/opencs/model/world/columns.hpp
2012-11-26 12:29:22 +01:00

21 lines
No EOL
412 B
C++

#ifndef CSM_WOLRD_COLUMNS_H
#define CSM_WOLRD_COLUMNS_H
#include "idcollection.hpp"
namespace CSMWorld
{
template<typename ESXRecordT>
struct FloatValueColumn : public Column<ESXRecordT>
{
FloatValueColumn() : Column<ESXRecordT> ("Value") {}
virtual QVariant get (const Record<ESXRecordT>& record) const
{
return record.get().mValue;
}
};
}
#endif