]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/io/server/src/hw_device_client.h
update
[l4.git] / l4 / pkg / io / server / src / hw_device_client.h
1 #pragma once
2
3 #include <l4/cxx/hlist>
4 #include <string>
5
6 namespace Hw {
7
8 struct Device_client : cxx::H_list_item_t<Device_client>
9 {
10   typedef cxx::H_list<Device_client> Client_list;
11
12   virtual void dump(int) const = 0;
13   virtual bool check_conflict(Device_client const *other) const = 0;
14   virtual std::string get_full_name() const = 0;
15   virtual void notify(unsigned type, unsigned event, unsigned value) = 0;
16   virtual ~Device_client() = 0;
17 };
18
19 inline Device_client::~Device_client() {}
20
21 }