diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-11-27 17:14:44 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-11-27 17:14:44 -0500 |
| commit | ecaf75c4531a79b1bdfe65eb60f257ac04422956 (patch) | |
| tree | ce6b7a20b80174cca8f3304a979b82ac622d7627 /src/modlistsortproxy.h | |
| parent | d5e38fca6b3a8c7bf90c5a3d8ec779752a22c61d (diff) | |
refactored matching into one function instead of repeating them for OR and AND
Diffstat (limited to 'src/modlistsortproxy.h')
| -rw-r--r-- | src/modlistsortproxy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modlistsortproxy.h b/src/modlistsortproxy.h index 2e3e5709..17888ae6 100644 --- a/src/modlistsortproxy.h +++ b/src/modlistsortproxy.h @@ -142,6 +142,8 @@ private: std::vector<int> m_PreChangeFilters;
+ bool categoryMatchesMod(ModInfo::Ptr info, bool enabled, int category) const;
+ bool contentMatchesMod(ModInfo::Ptr info, bool enabled, int content) const;
};
#endif // MODLISTSORTPROXY_H
|
