TrackGit
PushWindow.h
Go to the documentation of this file.
1 
8 #ifndef _PUSH_WINDOW_H_
9 #define _PUSH_WINDOW_H_
10 
11 #include "TrackGitWindow.h"
12 
13 #include <git2.h>
14 #include <pthread.h>
15 
16 #include <InterfaceKit.h>
17 
18 
22 class PushWindow : public TrackGitWindow
23 {
27  BTextView* fTextView;
31  pthread_t fThreadId;
32  public:
33  PushWindow(BString);
34  void SetText(const char*);
35  virtual void MessageReceived(BMessage*);
36 };
37 
38 #endif
39 
The Push window class.
Definition: PushWindow.h:22
PushWindow(BString)
The PushWindow constructor.
Definition: PushWindow.cpp:25
void SetText(const char *)
This function sets texts of the textview within window.
Definition: PushWindow.cpp:59
pthread_t fThreadId
Pull thread id.
Definition: PushWindow.h:31
The TrackGit Window class.
BTextView * fTextView
The text view to show progress text.
Definition: PushWindow.h:27
virtual void MessageReceived(BMessage *)
The handler to receive messages.
Definition: PushWindow.cpp:73
Header file of TrackGit window.