mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-13 12:40:04 +00:00
Provide method to return whole data vector from tablemimedata.
This commit is contained in:
parent
8b799683c1
commit
04287cb87a
@ -62,3 +62,8 @@ std::string CSMWorld::TableMimeData::getIcon() const
|
||||
}
|
||||
return mUniversalId.begin()->getIcon(); //All objects are of the same type;
|
||||
}
|
||||
|
||||
std::vector< CSMWorld::UniversalId > CSMWorld::TableMimeData::getData() const
|
||||
{
|
||||
return mUniversalId;
|
||||
}
|
@ -23,6 +23,7 @@ namespace CSMWorld
|
||||
virtual QStringList formats() const;
|
||||
UniversalId getId(unsigned int index) const;
|
||||
std::string getIcon() const;
|
||||
std::vector<UniversalId> getData() const;
|
||||
|
||||
private:
|
||||
std::vector<UniversalId> mUniversalId;
|
||||
|
Loading…
x
Reference in New Issue
Block a user