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 #include <Catalog.h> 11 #include <Locale.h> 12 13 class VMSettings; 14 15 16 class VirtualMemory : public BApplication { 17 public: 18 VirtualMemory(); 19 virtual ~VirtualMemory(); 20 21 virtual void ReadyToRun(); 22 virtual void AboutRequested(); 23 24 private: 25 void GetCurrentSettings(bool& enabled, off_t& size); 26 27 VMSettings *fSettings; 28 }; 29 30 #endif /* VIRTUAL_MEMORY_H */ 31