source: trunk/gsinstaller/DiskSpace.h@ 1397

Last change on this file since 1397 was 1397, checked in by cs025, 24 years ago

Initial revision

  • Property svn:keywords set to Author Date Id Revision
File size: 383 bytes
Line 
1#ifndef _DISKSPACE_H_
2#define _DISKSPACE_H_
3#include <windows.h>
4
5class DiskSpace {
6private:
7 DWORD sectorsPerCluster;
8 DWORD bytesPerSector;
9 DWORD freeClusters;
10 bool initialised;
11protected:
12public:
13 DiskSpace(const char *root);
14 int fileSpace(int fileSize);
15 int fileClusters(int fileSize);
16 bool initialisedOk();
17 unsigned long totalFreeSpace();
18};
19#endif
Note: See TracBrowser for help on using the repository browser.