TrackGit
|
Main file of TrackGit - A Tracker Addon for Git Version Control System. More...
#include <Alert.h>
#include <Application.h>
#include <AppKit.h>
#include <Catalog.h>
#include <InterfaceKit.h>
#include <StorageKit.h>
#include <SupportKit.h>
#include <MenuItem.h>
#include <stdio.h>
#include <strings.h>
#include <vector>
#include <add-ons/tracker/TrackerAddOn.h>
#include "Utils.h"
#include "TrackGitApp.h"
#include <git2.h>
Go to the source code of this file.
Macros | |
#define | B_TRANSLATION_CONTEXT "TrackGit" |
Functions | |
void | populate_menu (BMessage *msg, BMenu *menu, BHandler *handler) |
Populates menu for this addon. More... | |
void | message_received (BMessage *msg) |
Handler for received messages. More... | |
void | process_refs (entry_ref dir_ref, BMessage *msg, void *) |
process_ref definition for addon. More... | |
int | main () |
The main function of TrackGit. More... | |
Main file of TrackGit - A Tracker Addon for Git Version Control System.
Definition in file TrackGit.cpp.
#define B_TRANSLATION_CONTEXT "TrackGit" |
Definition at line 28 of file TrackGit.cpp.
int main | ( | ) |
The main function of TrackGit.
This function launches the TrackGit App.
Definition at line 221 of file TrackGit.cpp.
void message_received | ( | BMessage * | msg | ) |
Handler for received messages.
msg | The passed BMessage. |
Definition at line 199 of file TrackGit.cpp.
void populate_menu | ( | BMessage * | msg, |
BMenu * | menu, | ||
BHandler * | handler | ||
) |
Populates menu for this addon.
msg | The passed BMessage. Contains refs to current dir and selected files. |
menu | The pointer to Tracker menu. |
handler | The BHandler of Tracker. This should be target of added items. |
Definition at line 59 of file TrackGit.cpp.
void process_refs | ( | entry_ref | dir_ref, |
BMessage * | msg, | ||
void * | |||
) |
process_ref definition for addon.
dir_ref | The current directory ref. |
msg | BMessage containing refs to selected files. |
Definition at line 42 of file TrackGit.cpp.