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
22class PulseApp : public BApplication {
23public:
24							PulseApp(int argc, char **argv);
25							~PulseApp();
26
27	virtual void			MessageReceived(BMessage* message);
28	virtual void			ReadyToRun();
29	virtual	void			AboutRequested();
30
31private:
32			void			BuildPulse();
33
34public:
35			Prefs*			fPrefs;
36
37private:
38			bool			fRunFromReplicant;
39			bool			fIsRunning;
40			PrefsWindow*	fPrefsWindow;
41};
42
43extern bool LastEnabledCPU(unsigned int cpu);
44extern int GetMinimumViewWidth();
45extern bool LoadInDeskbar();
46extern void Usage();
47
48#endif	// PULSEAPP_H
49