TrackGit
Public Member Functions | List of all members
GitCommand Class Referenceabstract

GitCommand Class. More...

#include <GitCommand.h>

Inheritance diagram for GitCommand:
Add Clone Commit CreateBranch Init Log Pull Push ShowConflicts Status SwitchBranch

Public Member Functions

virtual void Execute ()=0
 This is where actual calls to libgit2 will go. More...
 
virtual TrackGitWindowGetWindow ()
 This is used to get pointer to the window (if any). More...
 

Detailed Description

GitCommand Class.

This class is abstract class which are inherited by various Git commands. These commands are the interface to libgit2.

Definition at line 20 of file GitCommand.h.

Member Function Documentation

◆ Execute()

virtual void GitCommand::Execute ( )
pure virtual

This is where actual calls to libgit2 will go.

Implemented in Clone, Log, Status, Pull, Push, Add, SwitchBranch, Commit, CreateBranch, Init, and ShowConflicts.

◆ GetWindow()

virtual TrackGitWindow* GitCommand::GetWindow ( )
inlinevirtual

This is used to get pointer to the window (if any).

Returns
The pointer to the window of command.

Reimplemented in Log, Clone, Status, Pull, Push, SwitchBranch, Commit, and CreateBranch.

Definition at line 30 of file GitCommand.h.


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