1 //**************************************************************************************** 2 // 3 // File: PulseApp.h 4 // 5 // Written by: Daniel Switkin 6 // 7 // Copyright 1999, Be Incorporated 8 // 9 //**************************************************************************************** 10 11 #ifndef PULSEAPP_H 12 #define PULSEAPP_H 13 14 15 #include <Application.h> 16 #include <Catalog.h> 17 18 #include "Prefs.h" 19 #include "PrefsWindow.h" 20 21 22 class PulseApp : public BApplication { 23 public: 24 PulseApp(int argc, char **argv); 25 ~PulseApp(); 26 27 virtual void MessageReceived(BMessage* message); 28 virtual void ReadyToRun(); 29 virtual void AboutRequested(); 30 31 private: 32 void BuildPulse(); 33 34 public: 35 Prefs* fPrefs; 36 37 private: 38 bool fRunFromReplicant; 39 bool fIsRunning; 40 PrefsWindow* fPrefsWindow; 41 }; 42 43 extern bool LastEnabledCPU(unsigned int cpu); 44 extern int GetMinimumViewWidth(); 45 extern bool LoadInDeskbar(); 46 extern void Usage(); 47 48 #endif // PULSEAPP_H 49