Split OneSixVersion into parts.
This commit is contained in:
parent
108a5a677c
commit
7721c57e5e
12 changed files with 287 additions and 259 deletions
10
logic/OneSixRule.cpp
Normal file
10
logic/OneSixRule.cpp
Normal file
|
@ -0,0 +1,10 @@
|
|||
#include "OneSixRule.h"
|
||||
|
||||
RuleAction RuleAction_fromString(QString name)
|
||||
{
|
||||
if(name == "allow")
|
||||
return Allow;
|
||||
if(name == "disallow")
|
||||
return Disallow;
|
||||
return Defer;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue