TrackGit
Public Member Functions | Private Attributes | List of all members
PullWindow Class Reference

The Pull window class. More...

#include <PullWindow.h>

Inheritance diagram for PullWindow:
TrackGitWindow

Public Member Functions

 PullWindow (BString)
 The PullWindow constructor. More...
 
void SetText (const char *)
 This function sets texts of the textview within window. More...
 
virtual void MessageReceived (BMessage *)
 The handler to receive messages. More...
 
- Public Member Functions inherited from TrackGitWindow
 TrackGitWindow (BString repo, BRect frame, const char *title, window_type type, int flags)
 The TrackGitWindow constructor. More...
 
virtual void Quit ()
 The function to Quit the window. More...
 

Private Attributes

BTextView * fTextView
 The text view to show progress text. More...
 
pthread_t fThreadId
 Pull thread id. More...
 

Additional Inherited Members

- Protected Attributes inherited from TrackGitWindow
BString fRepo
 The repo/directory where the command is called. More...
 

Detailed Description

The Pull window class.

Definition at line 22 of file PullWindow.h.

Constructor & Destructor Documentation

◆ PullWindow()

PullWindow::PullWindow ( BString  repo)

The PullWindow constructor.

Parameters
cloneWindowThe CloneWindow.

Definition at line 25 of file PullWindow.cpp.

Member Function Documentation

◆ MessageReceived()

void PullWindow::MessageReceived ( BMessage *  msg)
virtual

The handler to receive messages.

Parameters
msgThe message received.

Definition at line 73 of file PullWindow.cpp.

◆ SetText()

void PullWindow::SetText ( const char *  text)

This function sets texts of the textview within window.

Parameters
textThe text to be set.

Definition at line 59 of file PullWindow.cpp.

Member Data Documentation

◆ fTextView

BTextView* PullWindow::fTextView
private

The text view to show progress text.

Definition at line 27 of file PullWindow.h.

◆ fThreadId

pthread_t PullWindow::fThreadId
private

Pull thread id.

Definition at line 31 of file PullWindow.h.


The documentation for this class was generated from the following files: