Mercurial > minori
view include/gui/pages/seasons.h @ 261:3ec7804abf17
include: make header guards more sane
The C++ standard[1] says:
Each identifier that contains a double underscore __ or
begins with an underscore followed by an uppercase letter
is reserved to the implementation for any use.
[1]: https://timsong-cpp.github.io/cppwp/n4659/lex.name#3.1
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 03 Apr 2024 20:04:28 -0400 |
parents | dd211ff68b36 |
children | 96416310ea14 |
line wrap: on
line source
#ifndef MINORI_GUI_PAGES_SEASONS_H_ #define MINORI_GUI_PAGES_SEASONS_H_ #include <QWidget> #include "core/anime.h" #include "core/date.h" class QListWidget; class QResizeEvent; class SeasonsPage final : public QWidget { Q_OBJECT public: SeasonsPage(QWidget* parent = nullptr); void SetSeason(Anime::SeriesSeason season, Date::Year year); protected: QListWidget* buttons = nullptr; }; #endif // MINORI_GUI_PAGES_SEASONS_H_