xref: /haiku/src/preferences/virtualmemory/VirtualMemory.h (revision 1e36cfc2721ef13a187c6f7354dc9cbc485e89d3)
1 /*
2  * Copyright 2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef VIRTUAL_MEMORY_H
6 #define VIRTUAL_MEMORY_H
7 
8 
9 #include <Application.h>
10 
11 class VMSettings;
12 
13 
14 class VirtualMemory : public BApplication {
15 	public:
16 		VirtualMemory();
17 		virtual ~VirtualMemory();
18 
19 		virtual void ReadyToRun();
20 		virtual void AboutRequested();
21 
22 	private:
23 		void GetCurrentSettings(bool& enabled, off_t& size);
24 
25 		VMSettings *fSettings;
26 };
27 
28 #endif	/* VIRTUAL_MEMORY_H */
29