forked from teamnwah/openmw-tes3coop
4d79034dbf
rows in proper QT way is still TODO)
24 lines
532 B
C++
24 lines
532 B
C++
#ifndef CSM_WOLRD_NESTEDTABLEWRAPPER_H
|
|
#define CSM_WOLRD_NESTEDTABLEWRAPPER_H
|
|
|
|
namespace CSMWorld
|
|
{
|
|
struct NestedTableWrapperBase
|
|
{
|
|
virtual ~NestedTableWrapperBase();
|
|
|
|
NestedTableWrapperBase();
|
|
};
|
|
|
|
template<typename NestedTable>
|
|
struct NestedTableWrapper : public NestedTableWrapperBase
|
|
{
|
|
NestedTable mNestedTable;
|
|
|
|
NestedTableWrapper(const NestedTable& nestedTable)
|
|
: mNestedTable(nestedTable) {}
|
|
|
|
virtual ~NestedTableWrapper() {}
|
|
};
|
|
}
|
|
#endif
|