mirror of
https://github.com/alexkay/spek.git
synced 2026-12-02 03:45:10 +03:00
Add copyright headers, use .hh for C++ headers
This commit is contained in:
1 parent
78eb0119cc
commit
48afd3b4e8
5 files changed
+77
-25
No files matched your search
+2
-2
@@ -2,8 +2,8 @@ bin_PROGRAMS = spek
|
||||
|
||||
spek_SOURCES = \
|
||||
spek.cc \
|
||||
spek-window.h \
|
||||
spek-window.cc
|
||||
spek-window.cc \
|
||||
spek-window.hh
|
||||
|
||||
spek_CPPFLAGS = \
|
||||
-include config.h \
|
||||
|
||||
+19
-1
@@ -1,4 +1,22 @@
|
||||
#include "spek-window.h"
|
||||
/* spek-window.cc
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
#include "spek-window.hh"
|
||||
|
||||
enum
|
||||
{
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
// -*-c++-*-
|
||||
|
||||
#ifndef SPEK_WINDOW_H_
|
||||
#define SPEK_WINDOW_H_
|
||||
|
||||
#include <wx/wx.h>
|
||||
|
||||
class SpekWindow : public wxFrame
|
||||
{
|
||||
public:
|
||||
SpekWindow(const wxString& title, const wxPoint& pos, const wxSize& size);
|
||||
|
||||
protected:
|
||||
void OnQuit(wxCommandEvent& event);
|
||||
void OnAbout(wxCommandEvent& event);
|
||||
|
||||
private:
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,37 @@
|
||||
/* spek-window.hh
|
||||
*
|
||||
* 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_HH_
|
||||
#define SPEK_WINDOW_HH_
|
||||
|
||||
#include <wx/wx.h>
|
||||
|
||||
class SpekWindow : public wxFrame
|
||||
{
|
||||
public:
|
||||
SpekWindow(const wxString& title, const wxPoint& pos, const wxSize& size);
|
||||
|
||||
protected:
|
||||
void OnQuit(wxCommandEvent& event);
|
||||
void OnAbout(wxCommandEvent& event);
|
||||
|
||||
private:
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
#endif
|
||||
+19
-1
@@ -1,6 +1,24 @@
|
||||
/* spek.vala
|
||||
*
|
||||
* Copyright (C) 2010-2011 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/>.
|
||||
*/
|
||||
|
||||
#include <wx/wx.h>
|
||||
|
||||
#include "spek-window.h"
|
||||
#include "spek-window.hh"
|
||||
|
||||
class Spek: public wxApp
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user