BTRFS: Implement BTree::Path and change _Find.
[haiku.git] / src / apps / pulse / DeskbarPulseView.h
blob984d7560f6df95676e59c123584c266323fc234c
1 //****************************************************************************************
2 //
3 // File: DeskbarPulseView.h
4 //
5 // Written by: Daniel Switkin
6 //
7 // Copyright 1999, Be Incorporated
8 //
9 //****************************************************************************************
11 #ifndef DESKBARPULSEVIEW_H
12 #define DESKBARPULSEVIEW_H
14 #include "MiniPulseView.h"
15 #include "PrefsWindow.h"
16 #include <app/MessageRunner.h>
18 class DeskbarPulseView : public MiniPulseView {
19 public:
20 DeskbarPulseView(BRect rect);
21 DeskbarPulseView(BMessage *message);
22 ~DeskbarPulseView();
23 void MouseDown(BPoint point);
24 void AttachedToWindow();
25 void Pulse();
27 void MessageReceived(BMessage *message);
28 static DeskbarPulseView *Instantiate(BMessage *data);
29 virtual status_t Archive(BMessage *data, bool deep = true) const;
31 private:
32 void Remove();
33 void SetMode(bool normal);
35 PrefsWindow *prefswindow;
36 Prefs *prefs;
37 BMessageRunner *messagerunner;
40 #endif