blob: d27482eb8ecf5c64a70f97096e90a731ed24f314 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright (c) 2012 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 CHROMEOS_DBUS_SHILL_PROPERTY_CHANGED_OBSERVER_H_
#define CHROMEOS_DBUS_SHILL_PROPERTY_CHANGED_OBSERVER_H_
#include <string>
namespace base {
class Value;
}
namespace chromeos {
// This is a base class for observers which handle the PropertyChanged signal
// sent from Shill.
class ShillPropertyChangedObserver {
public:
virtual ~ShillPropertyChangedObserver() {}
virtual void OnPropertyChanged(const std::string& name,
const base::Value& value) = 0;
};
} // namespace chromeos
#endif // CHROMEOS_DBUS_SHILL_PROPERTY_CHANGED_OBSERVER_H_
|