diff --git a/src/spek-artwork.cc b/src/spek-artwork.cc index 828d1a3..2953808 100644 --- a/src/spek-artwork.cc +++ b/src/spek-artwork.cc @@ -1,21 +1,3 @@ -/* spek-artwork.cc - * - * Copyright (C) 2012 Alexander Kojevnikov - * - * 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 . - */ - #include #include diff --git a/src/spek-artwork.h b/src/spek-artwork.h index 4e07cef..f96ee79 100644 --- a/src/spek-artwork.h +++ b/src/spek-artwork.h @@ -1,23 +1,4 @@ -/* spek-artwork.h - * - * Copyright (C) 2012 Alexander Kojevnikov - * - * 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 . - */ - -#ifndef SPEK_ARTWORK_H_ -#define SPEK_ARTWORK_H_ +#pragma once #define ART_SPEK "art-spek" #define ART_OPEN "art-open" @@ -26,5 +7,3 @@ #define ART_CLOSE "art-close" void spek_artwork_init(); - -#endif diff --git a/src/spek-audio.cc b/src/spek-audio.cc index 21ea7a4..df1a988 100644 --- a/src/spek-audio.cc +++ b/src/spek-audio.cc @@ -1,21 +1,3 @@ -/* spek-audio.cc - * - * Copyright (C) 2010-2013 Alexander Kojevnikov - * - * 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 . - */ - extern "C" { #define __STDC_CONSTANT_MACROS #define __STDC_LIMIT_MACROS diff --git a/src/spek-audio.h b/src/spek-audio.h index 984cf45..c9062a2 100644 --- a/src/spek-audio.h +++ b/src/spek-audio.h @@ -1,23 +1,4 @@ -/* spek-audio.h - * - * Copyright (C) 2010-2013 Alexander Kojevnikov - * - * 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 . - */ - -#ifndef SPEK_AUDIO_H_ -#define SPEK_AUDIO_H_ +#pragma once #include #include @@ -76,5 +57,3 @@ inline bool operator!(AudioError error) { inline std::ostream& operator<<(std::ostream& os, AudioError error) { return os << static_cast(error); } - -#endif diff --git a/src/spek-events.cc b/src/spek-events.cc index 1445f1b..5825ff0 100644 --- a/src/spek-events.cc +++ b/src/spek-events.cc @@ -1,21 +1,3 @@ -/* spek-events.cc - * - * Copyright (C) 2012-2013 Alexander Kojevnikov - * - * 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 . - */ - #include "spek-events.h" //IMPLEMENT_DYNAMIC_CLASS(SpekHaveSampleEvent, wxEvent) diff --git a/src/spek-events.h b/src/spek-events.h index 8d655d3..abd8220 100644 --- a/src/spek-events.h +++ b/src/spek-events.h @@ -1,23 +1,4 @@ -/* spek-events.h - * - * Copyright (C) 2012 Alexander Kojevnikov - * - * 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 . - */ - -#ifndef SPEK_EVENTS_H_ -#define SPEK_EVENTS_H_ +#pragma once #include @@ -33,7 +14,6 @@ public: const float *get_values() const { return this->values; } wxEvent *Clone() const { return new SpekHaveSampleEvent(*this); } -// DECLARE_DYNAMIC_CLASS(SpekHaveSampleEvent); private: int bands; @@ -49,5 +29,3 @@ DECLARE_EVENT_TYPE(SPEK_HAVE_SAMPLE, wxID_ANY) #define SPEK_EVT_HAVE_SAMPLE(fn) \ DECLARE_EVENT_TABLE_ENTRY(SPEK_HAVE_SAMPLE, -1, -1, \ (wxObjectEventFunction) (SpekHaveSampleEventFunction) &fn, (wxObject *) NULL ), - -#endif diff --git a/src/spek-fft.cc b/src/spek-fft.cc index c48f23a..3105213 100644 --- a/src/spek-fft.cc +++ b/src/spek-fft.cc @@ -1,21 +1,3 @@ -/* spek-fft.cc - * - * Copyright (C) 2010-2013 Alexander Kojevnikov - * - * 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 . - */ - #include #define __STDC_CONSTANT_MACROS diff --git a/src/spek-fft.h b/src/spek-fft.h index 52b7fdf..76595fa 100644 --- a/src/spek-fft.h +++ b/src/spek-fft.h @@ -1,23 +1,4 @@ -/* spek-fft.h - * - * Copyright (C) 2010-2013 Alexander Kojevnikov - * - * 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 . - */ - -#ifndef SPEK_FFT_H_ -#define SPEK_FFT_H_ +#pragma once #include #include @@ -57,5 +38,3 @@ private: std::vector input; std::vector output; }; - -#endif diff --git a/src/spek-palette.cc b/src/spek-palette.cc index bf39088..178462a 100644 --- a/src/spek-palette.cc +++ b/src/spek-palette.cc @@ -1,21 +1,3 @@ -/* spek-palette.cc - * - * Copyright (C) 2010-2012 Alexander Kojevnikov - * - * 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 . - */ - #include "spek-palette.h" // Modified version of Dan Bruton's algorithm: diff --git a/src/spek-palette.h b/src/spek-palette.h index ed4dbef..0f0c8f7 100644 --- a/src/spek-palette.h +++ b/src/spek-palette.h @@ -1,26 +1,5 @@ -/* spek-palette.h - * - * Copyright (C) 2010-2012 Alexander Kojevnikov - * - * 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 . - */ - -#ifndef SPEK_PALETTE_H_ -#define SPEK_PALETTE_H_ +#pragma once #include uint32_t spek_palette_spectrum(double level); - -#endif diff --git a/src/spek-pipeline.cc b/src/spek-pipeline.cc index 7fd1531..d49fb8c 100644 --- a/src/spek-pipeline.cc +++ b/src/spek-pipeline.cc @@ -1,28 +1,3 @@ -/* spek-pipeline.cc - * - * Copyright (C) 2010-2013 Alexander Kojevnikov - * - * 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 . - * - * Conversion of decoded samples into an FFT-happy format is heavily - * influenced by GstSpectrum which is part of gst-plugins-good. - * The original code: - * (c) 1999 Erik Walthinsen - * (c) 2006 Stefan Kost - * (c) 2007-2009 Sebastian Dröge - */ - #include #include diff --git a/src/spek-pipeline.h b/src/spek-pipeline.h index c5899b4..05a0346 100644 --- a/src/spek-pipeline.h +++ b/src/spek-pipeline.h @@ -1,23 +1,4 @@ -/* spek-pipeline.h - * - * Copyright (C) 2010-2013 Alexander Kojevnikov - * - * 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 . - */ - -#ifndef SPEK_PIPELINE_H_ -#define SPEK_PIPELINE_H_ +#pragma once #include #include @@ -42,5 +23,3 @@ void spek_pipeline_close(struct spek_pipeline *pipeline); std::string spek_pipeline_desc(const struct spek_pipeline *pipeline); double spek_pipeline_duration(const struct spek_pipeline *pipeline); int spek_pipeline_sample_rate(const struct spek_pipeline *pipeline); - -#endif diff --git a/src/spek-platform.cc b/src/spek-platform.cc index dbf6792..2800f15 100644 --- a/src/spek-platform.cc +++ b/src/spek-platform.cc @@ -1,21 +1,3 @@ -/* spek-platform.cc - * - * Copyright (C) 2010-2012 Alexander Kojevnikov - * - * 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 . - */ - #include #ifdef OS_OSX diff --git a/src/spek-platform.h b/src/spek-platform.h index 459836b..ec94bdf 100644 --- a/src/spek-platform.h +++ b/src/spek-platform.h @@ -1,23 +1,4 @@ -/* spek-platform.h - * - * Copyright (C) 2010-2012 Alexander Kojevnikov - * - * 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 . - */ - -#ifndef SPEK_PLATFORM_H_ -#define SPEK_PLATFORM_H_ +#pragma once #include @@ -33,5 +14,3 @@ bool spek_platform_can_change_language(); // Fonts are smaller on OSX. double spek_platform_font_scale(); - -#endif diff --git a/src/spek-preferences-dialog.cc b/src/spek-preferences-dialog.cc index b8047ea..7060b24 100644 --- a/src/spek-preferences-dialog.cc +++ b/src/spek-preferences-dialog.cc @@ -1,21 +1,3 @@ -/* spek-preferences-dialog.cc - * - * Copyright (C) 2011-2012 Alexander Kojevnikov - * - * 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 . - */ - #include "spek-platform.h" #include "spek-preferences.h" diff --git a/src/spek-preferences-dialog.h b/src/spek-preferences-dialog.h index aaf8b31..d73121c 100644 --- a/src/spek-preferences-dialog.h +++ b/src/spek-preferences-dialog.h @@ -1,23 +1,4 @@ -/* spek-preferences-dialog.h - * - * Copyright (C) 2011-2012 Alexander Kojevnikov - * - * 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 . - */ - -#ifndef SPEK_PREFERENCES_DIALOG_H_ -#define SPEK_PREFERENCES_DIALOG_H_ +#pragma once #include @@ -34,5 +15,3 @@ private: DECLARE_EVENT_TABLE() }; - -#endif diff --git a/src/spek-preferences.cc b/src/spek-preferences.cc index 273815c..67cbd09 100644 --- a/src/spek-preferences.cc +++ b/src/spek-preferences.cc @@ -1,21 +1,3 @@ -/* spek-preferences.cc - * - * Copyright (C) 2011-2012 Alexander Kojevnikov - * - * 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 . - */ - #include #include "spek-platform.h" diff --git a/src/spek-preferences.h b/src/spek-preferences.h index eee3dc4..3ccc5ca 100644 --- a/src/spek-preferences.h +++ b/src/spek-preferences.h @@ -1,23 +1,4 @@ -/* spek-preferences.h - * - * Copyright (C) 2011-2012 Alexander Kojevnikov - * - * 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 . - */ - -#ifndef SPEK_PREFERENCES_H_ -#define SPEK_PREFERENCES_H_ +#pragma once #include #include @@ -43,5 +24,3 @@ private: wxLocale *locale; wxFileConfig *config; }; - -#endif diff --git a/src/spek-ruler.cc b/src/spek-ruler.cc index 3ad6dd5..6a9618a 100644 --- a/src/spek-ruler.cc +++ b/src/spek-ruler.cc @@ -1,21 +1,3 @@ -/* spek-ruler.cc - * - * Copyright (C) 2010-2012 Alexander Kojevnikov - * - * 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 . - */ - #include #include "spek-ruler.h" diff --git a/src/spek-ruler.h b/src/spek-ruler.h index 2a57c3f..6e06220 100644 --- a/src/spek-ruler.h +++ b/src/spek-ruler.h @@ -1,23 +1,4 @@ -/* spek-ruler.h - * - * Copyright (C) 2010-2012 Alexander Kojevnikov - * - * 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 . - */ - -#ifndef SPEK_RULER_H_ -#define SPEK_RULER_H_ +#pragma once #include #include @@ -58,5 +39,3 @@ protected: double offset; formatter_cb formatter; }; - -#endif diff --git a/src/spek-spectrogram.cc b/src/spek-spectrogram.cc index 532eaa1..7240931 100644 --- a/src/spek-spectrogram.cc +++ b/src/spek-spectrogram.cc @@ -1,21 +1,3 @@ -/* spek-spectrogram.cc - * - * Copyright (C) 2010-2013 Alexander Kojevnikov - * - * 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 . - */ - #include #include diff --git a/src/spek-spectrogram.h b/src/spek-spectrogram.h index 9d1784e..69376c7 100644 --- a/src/spek-spectrogram.h +++ b/src/spek-spectrogram.h @@ -1,23 +1,4 @@ -/* spek-spectrogram.h - * - * Copyright (C) 2010-2013 Alexander Kojevnikov - * - * 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 . - */ - -#ifndef SPEK_SPECTROGRAM_H_ -#define SPEK_SPECTROGRAM_H_ +#pragma once #include @@ -64,5 +45,3 @@ private: DECLARE_EVENT_TABLE() }; - -#endif diff --git a/src/spek-utils.cc b/src/spek-utils.cc index 68722c3..1eb0d38 100644 --- a/src/spek-utils.cc +++ b/src/spek-utils.cc @@ -1,21 +1,3 @@ -/* spek-utils.cc - * - * Copyright (C) 2012 Alexander Kojevnikov - * - * 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 . - */ - #include #include #include diff --git a/src/spek-utils.h b/src/spek-utils.h index 18cf16d..a54ae83 100644 --- a/src/spek-utils.h +++ b/src/spek-utils.h @@ -1,23 +1,4 @@ -/* spek-utils.h - * - * Copyright (C) 2012 Alexander Kojevnikov - * - * 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 . - */ - -#ifndef SPEK_UTILS_H_ -#define SPEK_UTILS_H_ +#pragma once inline int spek_max(int a, int b) { @@ -31,5 +12,3 @@ inline int spek_min(int a, int b) // Compare version numbers, e.g. 1.9.2 < 1.10.0 int spek_vercmp(const char *a, const char *b); - -#endif diff --git a/src/spek-window.cc b/src/spek-window.cc index 66c0032..be9a2fb 100644 --- a/src/spek-window.cc +++ b/src/spek-window.cc @@ -1,21 +1,3 @@ -/* spek-window.cc - * - * Copyright (C) 2010-2013 Alexander Kojevnikov - * - * 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 . - */ - #include #include #include diff --git a/src/spek-window.h b/src/spek-window.h index d9edc18..622b58c 100644 --- a/src/spek-window.h +++ b/src/spek-window.h @@ -1,23 +1,4 @@ -/* spek-window.h - * - * Copyright (C) 2010-2012 Alexander Kojevnikov - * - * 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 . - */ - -#ifndef SPEK_WINDOW_H_ -#define SPEK_WINDOW_H_ +#pragma once #include @@ -47,5 +28,3 @@ private: DECLARE_EVENT_TABLE() }; - -#endif diff --git a/src/spek.cc b/src/spek.cc index 174f57d..a765919 100644 --- a/src/spek.cc +++ b/src/spek.cc @@ -1,21 +1,3 @@ -/* spek.cc - * - * Copyright (C) 2010-2012 Alexander Kojevnikov - * - * 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 . - */ - #include #include #include diff --git a/tests/perf.cc b/tests/perf.cc index 990423b..469d2da 100644 --- a/tests/perf.cc +++ b/tests/perf.cc @@ -1,21 +1,3 @@ -/* perf.cc - * - * Copyright (C) 2013-2014 Alexander Kojevnikov - * - * 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 . - */ - #include #include #include diff --git a/tests/test-audio.cc b/tests/test-audio.cc index 97d80a5..fa7dc89 100644 --- a/tests/test-audio.cc +++ b/tests/test-audio.cc @@ -1,21 +1,3 @@ -/* test-audio.cc - * - * Copyright (C) 2013 Alexander Kojevnikov - * - * 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 . - */ - #include #include "spek-audio.h" diff --git a/tests/test-fft.cc b/tests/test-fft.cc index ec450ba..34519a1 100644 --- a/tests/test-fft.cc +++ b/tests/test-fft.cc @@ -1,21 +1,3 @@ -/* test-fft.cc - * - * Copyright (C) 2013 Alexander Kojevnikov - * - * 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 . - */ - #include "spek-fft.h" #include "test.h" diff --git a/tests/test-utils.cc b/tests/test-utils.cc index 276c451..064647b 100644 --- a/tests/test-utils.cc +++ b/tests/test-utils.cc @@ -1,21 +1,3 @@ -/* test-utils.cc - * - * Copyright (C) 2012-2013 Alexander Kojevnikov - * - * 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 . - */ - #include "spek-utils.h" #include "test.h" diff --git a/tests/test.cc b/tests/test.cc index 1314206..5e1f359 100644 --- a/tests/test.cc +++ b/tests/test.cc @@ -1,21 +1,3 @@ -/* test.cc - * - * Copyright (C) 2012-2013 Alexander Kojevnikov - * - * 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 . - */ - #include "test.h" int g_passes = 0; diff --git a/tests/test.h b/tests/test.h index 260660f..e2ad6a3 100644 --- a/tests/test.h +++ b/tests/test.h @@ -1,23 +1,4 @@ -/* test.h - * - * Copyright (C) 2012-2013 Alexander Kojevnikov - * - * 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 . - */ - -#ifndef TEST_H_ -#define TEST_H_ +#pragma once #include #include @@ -55,5 +36,3 @@ template void test(const std::string& message, const T& expected, const void test_audio(); void test_fft(); void test_utils(); - -#endif