gui: extract methods for condition list handling

This is a preparation for list item conditions.

Change-Id: Iec731d1986a53b0362c534adf504dfe8db87d3f0
This commit is contained in:
that
2015-10-16 22:33:15 +02:00
committed by Dees Troy
parent 56ce332315
commit 20fb95d0a7
2 changed files with 21 additions and 27 deletions
+4 -2
View File
@@ -151,8 +151,10 @@ protected:
std::vector<Condition> mConditions;
protected:
bool isMounted(std::string vol);
bool isConditionTrue(Condition* condition);
static void LoadConditions(xml_node<>* node, std::vector<Condition>& conditions);
static bool isMounted(std::string vol);
static bool isConditionTrue(Condition* condition);
static bool UpdateConditions(std::vector<Condition>& conditions, const std::string& varName);
bool mConditionsResult;
};