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

The TrackGit Application class. More...

#include <TrackGitApp.h>

Inheritance diagram for TrackGitApp:

Public Member Functions

 TrackGitApp ()
 TrackGitApp Constructor. More...
 
virtual void MessageReceived (BMessage *)
 The handler to receive messages. More...
 

Private Attributes

map< BString, TrackGitWindow * > fRunningCommands
 The map of running commands to their repo. More...
 

Detailed Description

The TrackGit Application class.

This takes care of launching of windows. It also brings forward a window which is previously launched for a given repo.

Definition at line 24 of file TrackGitApp.h.

Constructor & Destructor Documentation

◆ TrackGitApp()

TrackGitApp::TrackGitApp ( )

TrackGitApp Constructor.

Definition at line 31 of file TrackGitApp.cpp.

Member Function Documentation

◆ MessageReceived()

void TrackGitApp::MessageReceived ( BMessage *  msg)
virtual

The handler to receive messages.

This function acitivates already existing window or launches a new ones if needed. This also quits the app when there are no windows left.

Parameters
msgThe message to receive.

Definition at line 45 of file TrackGitApp.cpp.

Member Data Documentation

◆ fRunningCommands

map<BString, TrackGitWindow*> TrackGitApp::fRunningCommands
private

The map of running commands to their repo.

Definition at line 29 of file TrackGitApp.h.


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