OLD | NEW |
---|---|
(Empty) | |
1 /* | |
2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. | |
3 * Use of this source code is governed by a BSD-style license that can be | |
4 * found in the LICENSE file. | |
5 */ | |
6 #ifndef PACKAGES_LIBRARIES_NACL_MOUNTS_DEV_NULLDEVICE_H_ | |
7 #define PACKAGES_LIBRARIES_NACL_MOUNTS_DEV_NULLDEVICE_H_ | |
8 | |
9 #include "../dev/Device.h" | |
10 | |
11 // NullDevice | |
12 class NullDevice : public Device { | |
13 public: | |
14 NullDevice() {} | |
15 ~NullDevice() {} | |
16 int GetInode() { return 1 }; | |
Evgeniy Stepanov
2012/05/11 08:16:37
No magic constants please. Either assign them in D
vissi
2012/05/11 08:31:05
Done.
| |
17 private: | |
18 | |
19 DISALLOW_COPY_AND_ASSIGN(NullDevice); | |
20 } | |
21 | |
22 #endif | |
23 | |
OLD | NEW |