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

The Switch Branch Window class. More...

#include <SwitchBranchWindow.h>

Inheritance diagram for SwitchBranchWindow:
TrackGitWindow

Public Member Functions

 SwitchBranchWindow (BString)
 SwitchBranchWindow Constructor. More...
 
virtual void MessageReceived (BMessage *)
 Handler to received 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

BPopUpMenu * fSwitchMenu
 The Switch Branch pop up menu. More...
 
BString fSelectedBranch
 The branch to be switched to. More...
 

Additional Inherited Members

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

Detailed Description

The Switch Branch Window class.

Definition at line 26 of file SwitchBranchWindow.h.

Constructor & Destructor Documentation

◆ SwitchBranchWindow()

SwitchBranchWindow::SwitchBranchWindow ( BString  repo)

SwitchBranchWindow Constructor.

Parameters
repoThe repository to commit to.

Definition at line 23 of file SwitchBranchWindow.cpp.

Member Function Documentation

◆ MessageReceived()

void SwitchBranchWindow::MessageReceived ( BMessage *  msg)
virtual

Handler to received messages.

Parameters
msgThe received message.

Definition at line 76 of file SwitchBranchWindow.cpp.

Member Data Documentation

◆ fSelectedBranch

BString SwitchBranchWindow::fSelectedBranch
private

The branch to be switched to.

Definition at line 34 of file SwitchBranchWindow.h.

◆ fSwitchMenu

BPopUpMenu* SwitchBranchWindow::fSwitchMenu
private

The Switch Branch pop up menu.

Definition at line 30 of file SwitchBranchWindow.h.


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