blob: ed0e520d73b82a42ab612b62f4163ea40f932349 [file] [log] [blame]
// Copyright 2022 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.
#ifndef HERMES_EUICC_EVENT_H_
#define HERMES_EUICC_EVENT_H_
namespace hermes {
enum class EuiccStep {
START,
PENDING_NOTIFICATIONS,
END,
};
enum class EuiccOp { UNKNOWN, DISABLE, ENABLE, FW_UPDATE };
struct EuiccEvent {
uint32_t slot;
EuiccStep step;
EuiccOp op;
EuiccEvent(uint32_t slot, EuiccStep step);
EuiccEvent(uint32_t slot, EuiccStep step, EuiccOp op);
};
std::ostream& operator<<(std::ostream& os, const EuiccStep& rhs);
std::ostream& operator<<(std::ostream& os, const EuiccOp& rhs);
std::ostream& operator<<(std::ostream& os, const EuiccEvent& rhs);
} // namespace hermes
#endif // HERMES_EUICC_EVENT_H_