1 #pragma once 2 3 #include "BasePush.h" 4 5 class CGooglePubSubPush : public CBasePush 6 { 7 public: 8 CGooglePubSubPush(); 9 void Start(); 10 void Stop(); 11 void UpdateActive(); 12 13 private: 14 15 void OnDeviceReceived(const int m_HwdID, const uint64_t DeviceRowIdx, const std::string &DeviceName, const unsigned char *pRXCommand); 16 void DoGooglePubSubPush(); 17 }; 18 extern CGooglePubSubPush m_googlepubsubpush; 19 20