You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
531 B
C++
26 lines
531 B
C++
#ifndef CSM_DOC_BLACKLIST_H
|
|
#define CSM_DOC_BLACKLIST_H
|
|
|
|
#include <map>
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
#include "../world/universalid.hpp"
|
|
|
|
namespace CSMDoc
|
|
{
|
|
/// \brief ID blacklist sorted by UniversalId type
|
|
class Blacklist
|
|
{
|
|
std::map<CSMWorld::UniversalId::Type, std::vector<std::string> > mIds;
|
|
|
|
public:
|
|
|
|
bool isBlacklisted (const CSMWorld::UniversalId& id) const;
|
|
|
|
void add (CSMWorld::UniversalId::Type type, const std::vector<std::string>& ids);
|
|
};
|
|
}
|
|
|
|
#endif
|