spek/src/spek-window.h
Alexander Kojevnikov 8b7d3b5c2d Use C++ everywhere
2013-02-02 19:22:53 -08:00

52 lines
1.4 KiB
C++

/* spek-window.h
*
* Copyright (C) 2010-2012 Alexander Kojevnikov <alexander@kojevnikov.com>
*
* Spek is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Spek is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Spek. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SPEK_WINDOW_H_
#define SPEK_WINDOW_H_
#include <wx/wx.h>
class SpekSpectrogram;
class SpekWindow : public wxFrame
{
public:
SpekWindow(const wxString& path);
void open(const wxString& path);
private:
void on_open(wxCommandEvent& event);
void on_save(wxCommandEvent& event);
void on_exit(wxCommandEvent& event);
void on_preferences(wxCommandEvent& event);
void on_help(wxCommandEvent& event);
void on_about(wxCommandEvent& event);
void on_notify(wxCommandEvent& event);
void on_visit(wxCommandEvent& event);
void on_close(wxCommandEvent& event);
SpekSpectrogram *spectrogram;
wxString path;
wxString cur_dir;
wxString description;
DECLARE_EVENT_TABLE()
};
#endif