Move variables out of the ifdef gsoap block, as they are used for Amcrest support, too

This commit is contained in:
Jonathan Bennett 2022-01-25 22:46:09 -06:00
parent 57a697093e
commit a2a2f1a781
1 changed files with 4 additions and 3 deletions

View File

@ -438,11 +438,12 @@ protected:
std::string diag_path_delta; std::string diag_path_delta;
//ONVIF //ONVIF
#ifdef WITH_GSOAP bool ONVIF_Trigger_State; //Re-using some variables for Amcrest API support
struct soap *soap = nullptr;
bool ONVIF_Trigger_State;
bool ONVIF_Healthy; bool ONVIF_Healthy;
bool ONVIF_Closes_Event; bool ONVIF_Closes_Event;
#ifdef WITH_GSOAP
struct soap *soap = nullptr;
_tev__CreatePullPointSubscription request; _tev__CreatePullPointSubscription request;
_tev__CreatePullPointSubscriptionResponse response; _tev__CreatePullPointSubscriptionResponse response;
_tev__PullMessages tev__PullMessages; _tev__PullMessages tev__PullMessages;