pollymc/logic/OneSixRule.cpp

10 lines
170 B
C++
Raw Normal View History

2013-09-12 03:13:17 +05:30
#include "OneSixRule.h"
RuleAction RuleAction_fromString(QString name)
{
if(name == "allow")
return Allow;
if(name == "disallow")
return Disallow;
return Defer;
}