TrackGit
Commit.h
Go to the documentation of this file.
1 
8 #ifndef _COMMIT_H_
9 #define _COMMIT_H_
10 
11 #include "GitCommand.h"
12 
13 #include <SupportKit.h>
14 
18 class Commit : public GitCommand {
22  BString fRepo;
27 public:
28  Commit(BString);
29 
30  virtual void Execute();
31  virtual TrackGitWindow* GetWindow();
32  static int DoCommit(BString, BString);
33 };
34 
35 #endif
virtual TrackGitWindow * GetWindow()
This returns pointer to the commit window.
Definition: Commit.cpp:42
virtual void Execute()
Commit command execution.
Definition: Commit.cpp:32
Commit(BString)
Commit class constructor.
Definition: Commit.cpp:21
GitCommand Class.
Definition: GitCommand.h:20
TrackGitWindow * fCommitWindow
The Commit Window.
Definition: Commit.h:26
static int DoCommit(BString, BString)
This function commits to given repo with given message.
Definition: Commit.cpp:57
BString fRepo
The repo/directory where command is called.
Definition: Commit.h:22
Commit command Class.
Definition: Commit.h:18
The TrackGit Window class.
Header file of GitCommand.