Split OneSixVersion into parts.

This commit is contained in:
Petr Mrázek
2013-09-11 23:43:17 +02:00
parent 108a5a677c
commit 7721c57e5e
12 changed files with 287 additions and 259 deletions

10
logic/OneSixRule.cpp Normal file
View 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;
}