mirror of
https://github.com/thoughtbot/capybara-webkit
synced 2023-03-27 23:22:28 -04:00
16 lines
284 B
C++
16 lines
284 B
C++
#include <QVariant>
|
|
|
|
class ErrorMessage;
|
|
|
|
class InvocationResult {
|
|
public:
|
|
InvocationResult(QVariant result, bool error = false);
|
|
const QVariant &result() const;
|
|
bool hasError();
|
|
ErrorMessage *errorMessage();
|
|
|
|
private:
|
|
QVariant m_result;
|
|
bool m_error;
|
|
};
|
|
|