Restore the "GPL licensing not permitted" in GLUT license headers.
[haiku.git] / headers / build / os / storage / Volume.h
blob9b3a4b26744f86179e252a15e55728ab55a7fa68
1 // ----------------------------------------------------------------------
2 // This software is part of the OpenBeOS distribution and is covered
3 // by the MIT License.
4 //
5 // File Name: Directory.cpp
6 //
7 // Description: BVolume class
8 // ----------------------------------------------------------------------
9 /*!
10 \file Volume.h
11 BVolume interface declarations.
13 #ifndef _VOLUME_H
14 #define _VOLUME_H
16 #include <sys/types.h>
18 #include <fs_info.h>
19 #include <Mime.h>
20 #include <StorageDefs.h>
21 #include <SupportDefs.h>
23 #ifdef USE_OPENBEOS_NAMESPACE
24 namespace OpenBeOS {
25 #endif
27 class BDirectory;
28 class BBitmap;
30 class BVolume {
31 public:
32 BVolume();
33 BVolume(dev_t dev);
34 BVolume(const BVolume &vol);
35 virtual ~BVolume();
37 status_t InitCheck() const;
38 status_t SetTo(dev_t dev);
39 void Unset();
41 dev_t Device() const;
43 bool operator==(const BVolume &volume) const;
44 bool operator!=(const BVolume &volume) const;
45 BVolume &operator=(const BVolume &volume);
47 private:
48 // friend class BVolumeRoster;
50 virtual void _TurnUpTheVolume1();
51 virtual void _TurnUpTheVolume2();
52 virtual void _TurnUpTheVolume3();
53 virtual void _TurnUpTheVolume4();
54 virtual void _TurnUpTheVolume5();
55 virtual void _TurnUpTheVolume6();
56 virtual void _TurnUpTheVolume7();
57 virtual void _TurnUpTheVolume8();
59 dev_t fDevice;
60 status_t fCStatus;
61 int32 _reserved[8];
64 #ifdef USE_OPENBEOS_NAMESPACE
65 } // namespace OpenBeOS
66 #endif
68 #endif // _VOLUME_H