mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-12-01 17:16:23 +00:00
24 lines
299 B
C
24 lines
299 B
C
|
#ifndef EQUIV_H
|
||
|
#define EQUIV_H
|
||
|
|
||
|
#include <map>
|
||
|
|
||
|
#include <boost/noncopyable.hpp>
|
||
|
|
||
|
namespace afp {
|
||
|
|
||
|
struct equiv_set : boost::noncopyable {
|
||
|
static equiv_set const &instance();
|
||
|
|
||
|
int get(int) const;
|
||
|
|
||
|
private:
|
||
|
equiv_set();
|
||
|
|
||
|
std::map<int, int> equivs_;
|
||
|
};
|
||
|
|
||
|
} // namespace afp
|
||
|
|
||
|
#endif /* !EQUIV_H */
|