20#ifndef REVISIONDIALOG_HPP
21#define REVISIONDIALOG_HPP
24#include "../../common/filerevisions.hpp"
25#include "../controls/treelistctrl.h"
This class is the actual NumeRe main frame. The application's logic is implemented here.
This class represents the dialog listing the file revisions of the current selected file.
void compareRevisions(const wxString &rev1, const wxString &rev2)
This method compares two defined revisions and opens them as a diff file in the editor.
void OnMenuEvent(wxCommandEvent &event)
This method handles the menu events emitted from the context menu.
void OnRightClick(wxTreeEvent &event)
This method displays the context menu containing the actions.
FileRevisions * revisions
void OnItemActivated(wxTreeEvent &event)
This method displays the double-clicked revision.
wxcode::wxTreeListCtrl * revisionList
void populateRevisionList()
This method pupulates the tree list ctrl.
void showRevision(const wxString &revString)
This method displays the selected revision in the editor.
NumeReWindow * mainWindow
RevisionDialog(wxWindow *parent, FileRevisions *rev, const wxString &fileNameAndPath)
Constructor. Creates the window and populates the tree list ctrl.