You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
484 B
C++
21 lines
484 B
C++
#ifndef CALC_SERVICE_H_
|
|
#define CALC_SERVICE_H_
|
|
|
|
#include "webcc/soap_service.h"
|
|
|
|
class CalcService : public webcc::SoapService {
|
|
public:
|
|
CalcService() = default;
|
|
~CalcService() override = default;
|
|
|
|
bool Handle(const webcc::SoapRequest& soap_request,
|
|
webcc::SoapResponse* soap_response) override;
|
|
|
|
private:
|
|
bool GetParameters(const webcc::SoapRequest& soap_request,
|
|
double* x,
|
|
double* y);
|
|
};
|
|
|
|
#endif // CALC_SERVICE_H_
|