1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00
capybara-webkit/src/InvocationResult.cpp

15 lines
269 B
C++
Raw Normal View History

2013-01-20 18:57:04 -05:00
#include "InvocationResult.h"
InvocationResult::InvocationResult(QVariant result, bool error) {
m_result = result;
m_error = error;
}
const QVariant &InvocationResult::result() const {
return m_result;
}
bool InvocationResult::hasError() {
return m_error;
}