-
Notifications
You must be signed in to change notification settings - Fork 0
/
wxRarMain.h
56 lines (49 loc) · 1.63 KB
/
wxRarMain.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/***************************************************************
* Name: wxRarMain.h
* Purpose: Defines Application Frame
* Author: Giulio Sorrentino ([email protected])
* Created: 2015-11-16
* Copyright: Giulio Sorrentino ()
* License: GPL V3
**************************************************************/
#ifndef WXRARMAIN_H
#define WXXRARMAIN_H
#include "wxRarApp.h"
#include <wx/wx.h>
#include <wx/aboutdlg.h>
#include <wx/config.h>
#include <wx/dir.h>
#include <wx/filename.h>
#include <wx/textfile.h>
#include <wx/msgdlg.h>
#include <wx/protocol/http.h>
#include <wx/sstream.h>
#include <stdexcept>
#include "GUIFrame.h"
#include "wxRarOptions.h"
class wxRarFrame: public GUIFrame
{
public:
wxRarFrame(wxFrame *frame);
~wxRarFrame();
private:
bool fileSelezionato, dirSelezionata, aggiornamenti;
int terminal;
long numeroProcessi;
wxString path,
versione,
paginaWeb;
wxConfig *config;
wxHTTP client;
virtual void OnClose(wxCloseEvent& event);
virtual void OnOpzioni( wxCommandEvent& event );
virtual void OnQuit(wxCommandEvent& event);
virtual void OnAbout(wxCommandEvent& event);
virtual void OnSelezionaRar(wxCommandEvent &evt);
virtual void OnSelezionaDir(wxCommandEvent &evt);
virtual void OnOk(wxCommandEvent & evt);
//virtual void onAggiornamenti(wxCommandEvent& evt);
virtual void onSitoWeb(wxCommandEvent& evt);
// bool Aggiornamenti(wxString &nuovaVersione) throw (std::domain_error);
};
#endif // WXXRARMAIN_H