TrackGit
|
The Clone Window class. More...
#include <CloneWindow.h>
Public Member Functions | |
CloneWindow (BString, BString, Clone *) | |
Constructor for CloneWindow. More... | |
void | SetProgressText (BString) |
Prints progress text to textview of window. More... | |
void | SetProgress (float) |
Sets the progress value of the progress bar in progress 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 | |
CloneProgressWindow * | fProgressWindow |
The progress window. More... | |
BTextControl * | fURL |
The text control for url. More... | |
PathBox * | fPathBox |
The text control for path. More... | |
Clone * | fClone |
The clone command pointer. More... | |
pthread_t | fThreadId |
The thread Id of clone thread. More... | |
Additional Inherited Members | |
Protected Attributes inherited from TrackGitWindow | |
BString | fRepo |
The repo/directory where the command is called. More... | |
The Clone Window class.
Definition at line 30 of file CloneWindow.h.
CloneWindow::CloneWindow | ( | BString | repo, |
BString | dirPath, | ||
Clone * | clone | ||
) |
Constructor for CloneWindow.
repo | The repo where command is called. |
dirPath | The current directory where clone optionn is selected. |
clone | The Clone command. |
Definition at line 25 of file CloneWindow.cpp.
|
virtual |
The handler to receive messages.
msg | The message. |
Definition at line 82 of file CloneWindow.cpp.
void CloneWindow::SetProgress | ( | float | progress | ) |
Sets the progress value of the progress bar in progress window.
progress | The progress value. |
Definition at line 71 of file CloneWindow.cpp.
void CloneWindow::SetProgressText | ( | BString | text | ) |
Prints progress text to textview of window.
text | The progress text. |
Definition at line 60 of file CloneWindow.cpp.
|
private |
The clone command pointer.
Used to initiate cloning process.
Definition at line 47 of file CloneWindow.h.
|
private |
The text control for path.
Definition at line 42 of file CloneWindow.h.
|
private |
The progress window.
Definition at line 34 of file CloneWindow.h.
|
private |
The thread Id of clone thread.
Definition at line 51 of file CloneWindow.h.
|
private |
The text control for url.
Definition at line 38 of file CloneWindow.h.