10 lines
170 B
C++
10 lines
170 B
C++
#include "OneSixRule.h"
|
|
|
|
RuleAction RuleAction_fromString(QString name)
|
|
{
|
|
if(name == "allow")
|
|
return Allow;
|
|
if(name == "disallow")
|
|
return Disallow;
|
|
return Defer;
|
|
} |