diff options
Diffstat (limited to 'Project/Element.h')
-rw-r--r-- | Project/Element.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Project/Element.h b/Project/Element.h index 4935f11..08fdfe9 100644 --- a/Project/Element.h +++ b/Project/Element.h @@ -150,7 +150,7 @@ public: * @brief Set if the element is online or offline. * @param online True if online, false if offline. */ - void SetOnline(bool online = true); + bool SetOnline(bool online = true); /** * @brief Set the list of points that connect the element to the bus. @@ -553,7 +553,7 @@ public: * @param value Double value converted. * @param errorMsg Error message. */ - bool DoubleFromString(wxWindow* parent, wxString strValue, double& value, wxString errorMsg); + static bool DoubleFromString(wxWindow* parent, wxString strValue, double& value, wxString errorMsg); /** * @brief Convert a string to int. Show a error message if the conversion fail. @@ -562,7 +562,7 @@ public: * @param value Int value converted. * @param errorMsg Error message. */ - bool IntFromString(wxWindow* parent, wxString strValue, int& value, wxString errorMsg); + static bool IntFromString(wxWindow* parent, wxString strValue, int& value, wxString errorMsg); /** * @brief Convert a double value to string. |