blob: 8a33968db51b3d2803a58e814b1eb9fba4e403d4 [file] [log] [blame]
// Copyright 2018 The Chromium 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 ASH_DETACHABLE_BASE_DETACHABLE_BASE_OBSERVER_H_
#define ASH_DETACHABLE_BASE_DETACHABLE_BASE_OBSERVER_H_
#include "ash/ash_export.h"
#include "ash/detachable_base/detachable_base_pairing_status.h"
namespace ash {
// Registered with DetachableBaseHandler to observe the detachable base status.
class ASH_EXPORT DetachableBaseObserver {
public:
virtual ~DetachableBaseObserver() = default;
// Called when the detachable base pairing status changes. For example when a
// new detachable base is paired, or when the current detachable base gets
// detached.
virtual void OnDetachableBasePairingStatusChanged(
DetachableBasePairingStatus status) = 0;
};
} // namespace ash
#endif // ASH_DETACHABLE_BASE_DETACHABLE_BASE_OBSERVER_H_