blob: 40cacabe86edd40fc2e254423d1da7b75574d48e [file] [edit]
// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "shill/cellular_capability.h"
#include "shill/cellular.h"
#include "shill/error.h"
using std::string;
namespace shill {
CellularCapability::CellularCapability(Cellular *cellular)
: cellular_(cellular),
proxy_factory_(cellular->proxy_factory()) {}
CellularCapability::~CellularCapability() {}
EventDispatcher *CellularCapability::dispatcher() const {
return cellular()->dispatcher();
}
void CellularCapability::RequirePIN(const string &/*pin*/,
bool /*require*/,
Error *error) {
Error::PopulateAndLog(
error, Error::kNotSupported, "RequirePIN not supported.");
}
void CellularCapability::EnterPIN(const string &/*pin*/, Error *error) {
Error::PopulateAndLog(error, Error::kNotSupported, "EnterPIN not supported.");
}
void CellularCapability::UnblockPIN(const string &/*unblock_code*/,
const string &/*pin*/,
Error *error) {
Error::PopulateAndLog(
error, Error::kNotSupported, "UnblockPIN not supported.");
}
void CellularCapability::ChangePIN(const string &/*old_pin*/,
const string &/*new_pin*/,
Error *error) {
Error::PopulateAndLog(
error, Error::kNotSupported, "ChangePIN not supported.");
}
} // namespace shill