source: trunk/gsinstaller/DiskSpace.h@ 2324

Last change on this file since 2324 was 2324, checked in by sjboddie, 23 years ago

Replaced some bool, true and false with BOOL, TRUE and FALSE because
VC++ is stupid.

  • Property svn:keywords set to Author Date Id Revision
File size: 384 bytes
RevLine 
[1397]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;
[2324]10 BOOL initialised;
[1397]11protected:
12public:
13 DiskSpace(const char *root);
14 int fileSpace(int fileSize);
15 int fileClusters(int fileSize);
[2324]16 BOOL initialisedOk();
[1397]17 unsigned long totalFreeSpace();
18};
[2324]19#endif
Note: See TracBrowser for help on using the repository browser.