TrackGit
StatusWindow.h
Go to the documentation of this file.
1 
8 #ifndef _STATUS_WINDOW_H_
9 #define _STATUS_WINDOW_H_
10 
11 #include "TrackGitWindow.h"
12 
13 #include <InterfaceKit.h>
14 #include <SupportKit.h>
15 
16 
20 class StatusItem : public BStringItem {
24  BString fText;
28  BString fPath;
29 public:
30  StatusItem(BString, BString);
31  BString GetPath();
32 };
33 
34 
38 class StatusWindow : public TrackGitWindow {
42  BListView* fStatusListView;
43 public:
44  StatusWindow(BString);
45  void AddItem(BString, BString);
46  virtual void MessageReceived(BMessage*);
47 };
48 
49 #endif
The Status List Item class.
Definition: StatusWindow.h:20
virtual void MessageReceived(BMessage *)
Handler to received messages.
BString GetPath()
Getter for path.
BString fText
The text to be displayed.
Definition: StatusWindow.h:24
BListView * fStatusListView
The Status List View.
Definition: StatusWindow.h:42
StatusItem(BString, BString)
StatusItem Constructor.
BString fPath
The file path of item.
Definition: StatusWindow.h:28
The Status Window class.
Definition: StatusWindow.h:38
void AddItem(BString, BString)
Adds item to the Status list.
StatusWindow(BString)
StatusWindow Constructor.
The TrackGit Window class.
Header file of TrackGit window.