fort/src/ui/conf/app.cpp

15 lines
523 B
C++
Raw Normal View History

2023-01-22 17:17:28 +00:00
#include "app.h"
2023-04-04 09:22:41 +00:00
bool App::isEqual(const App &o) const
2023-12-04 16:52:11 +00:00
{
return isFlagsEqual(o) && groupIndex == o.groupIndex && appOriginPath == o.appOriginPath
&& appPath == o.appPath && endTime == o.endTime;
}
bool App::isFlagsEqual(const App &o) const
2023-04-04 09:22:41 +00:00
{
2023-12-03 09:06:43 +00:00
return isWildcard == o.isWildcard && useGroupPerm == o.useGroupPerm
&& applyChild == o.applyChild && lanOnly == o.lanOnly && logBlocked == o.logBlocked
2023-12-04 16:52:11 +00:00
&& logConn == o.logConn && blocked == o.blocked && killProcess == o.killProcess;
2023-04-04 09:22:41 +00:00
}