ALBA
albaGUIFileHistory.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: ALBA (Agile Library for Biomedical Applications)
4 Module: albaGUIFileHistory
5 Authors: Silvano Imboden
6
7 Copyright (c) BIC
8 All rights reserved. See Copyright.txt or
9
10
11 This software is distributed WITHOUT ANY WARRANTY; without even
12 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 PURPOSE. See the above copyright notice for more information.
14
15=========================================================================*/
16#ifndef __albaGUIFileHistory_H__
17#define __albaGUIFileHistory_H__
18//----------------------------------------------------------------------------
19// Include:
20//----------------------------------------------------------------------------
21#include "albaEvent.h"
22#include <wx/docview.h>
23#include <wx/confbase.h>
24
25//----------------------------------------------------------------------------
26// albaGUIFileHistory :
27//----------------------------------------------------------------------------
33class ALBA_EXPORT albaGUIFileHistory : public wxFileHistory
34{
35public:
38
40 virtual void AddFileToHistory(const wxString& file);
41
43 virtual void RemoveFileFromHistory(int i);
44
45 void UpdateMenuLabels(wxMenu* menu);
46
48 virtual void AddFilesToMenu();
49
51 virtual void AddFilesToMenu(wxMenu* menu);
52};
53#endif
class name: albaGUIFileHistory class that handle a list of file called history.
virtual void AddFileToHistory(const wxString &file)
Add filename to history.
albaGUIFileHistory()
constructor
void UpdateMenuLabels(wxMenu *menu)
virtual void RemoveFileFromHistory(int i)
Remove filename to history.
virtual void AddFilesToMenu()
Add filename item to men.
virtual void AddFilesToMenu(wxMenu *menu)
Add filename item to a given men.