Rudiments: /home/dmuse/src/rudiments/include/rudiments/device.h Source File

Rudiments

- Main Page
- Classes

device.h
1 // Copyright (c) 2004 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_DEVICE_H
5 #define RUDIMENTS_DEVICE_H
6
7 #include <rudiments/private/deviceincludes.h>
8
9 class deviceprivate;
10
18 class RUDIMENTS_DLLSPEC device : public file {
19 public:
20
22 device();
23
26 device(const device &d);
27
30 device &operator=(const device &d);
31
33 virtual ~device();
34
41 static bool createDeviceNode(const char *filename,
42 bool blockdevice,
43 uint16_t major,
44 uint16_t minor,
45 mode_t perms);
46
47 #include <rudiments/private/device.h>
48 };
49
50 #endif
file
Definition: file.h:21
file::operator=
file & operator=(const file &f)
device
Definition: device.h:18