diff options
Diffstat (limited to 'Swift/Controllers')
| -rw-r--r-- | Swift/Controllers/UIInterfaces/ChatWindow.h | 2 | ||||
| -rw-r--r-- | Swift/Controllers/UnitTest/MockChatWindow.h | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/Swift/Controllers/UIInterfaces/ChatWindow.h b/Swift/Controllers/UIInterfaces/ChatWindow.h index f2f5f76..6b2799b 100644 --- a/Swift/Controllers/UIInterfaces/ChatWindow.h +++ b/Swift/Controllers/UIInterfaces/ChatWindow.h @@ -164,7 +164,7 @@ namespace Swift {  			 * @param buttonText Button text to use (optional, no button is shown if empty).  			 * @return A handle to the alert message.  			 */ -			virtual AlertID addAlert(const std::string& alertText, const std::string& buttonText = "") = 0; +			virtual AlertID addAlert(const std::string& alertText) = 0;  			/**  			 * Removes an alert.  			 * @param id An alert ID previously returned from setAlert diff --git a/Swift/Controllers/UnitTest/MockChatWindow.h b/Swift/Controllers/UnitTest/MockChatWindow.h index ef7216b..774bdd9 100644 --- a/Swift/Controllers/UnitTest/MockChatWindow.h +++ b/Swift/Controllers/UnitTest/MockChatWindow.h @@ -56,7 +56,7 @@ namespace Swift {  			void setAckState(const std::string& /*id*/, AckState /*state*/) {}  			virtual void flash() {} -			virtual AlertID addAlert(const std::string& /*alertText*/, const std::string& /*buttonText*/) { return 0; } +			virtual AlertID addAlert(const std::string& /*alertText*/) { return 0; }  			virtual void removeAlert(const AlertID /*id*/) {}  			virtual void setCorrectionEnabled(Tristate /*enabled*/) {}  			virtual void setFileTransferEnabled(Tristate /*enabled*/) {} | 
 Swift
 Swift