shill: Support Cellular CDMA activation.
Still TODO is communicating the activation error codes to the Cellular service.
... And, of course, asynchronous calls throughout.
BUG=chromium-os:19305
TEST=unit tests
Change-Id: I3e0b4a5a8d3c4c74db35ce7f74b5d958677d8b66
Reviewed-on: http://gerrit.chromium.org/gerrit/6192
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Chris Masone <cmasone@chromium.org>
diff --git a/modem_cdma_proxy_interface.h b/modem_cdma_proxy_interface.h
index 9a91f3e..7a333a9 100644
--- a/modem_cdma_proxy_interface.h
+++ b/modem_cdma_proxy_interface.h
@@ -5,6 +5,8 @@
#ifndef SHILL_MODEM_CDMA_PROXY_INTERFACE_
#define SHILL_MODEM_CDMA_PROXY_INTERFACE_
+#include <string>
+
#include <base/basictypes.h>
namespace shill {
@@ -15,9 +17,9 @@
public:
virtual ~ModemCDMAProxyInterface() {}
+ virtual uint32 Activate(const std::string &carrier) = 0;
virtual void GetRegistrationState(uint32 *cdma_1x_state,
uint32 *evdo_state) = 0;
-
virtual uint32 GetSignalQuality() = 0;
};