Mercurial > minori
changeset 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
line wrap: on
line diff
--- a/include/core/anime.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/core/anime.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,6 @@ -#ifndef __core__anime_h -#define __core__anime_h +#ifndef MINORI_CORE_ANIME_H_ +#define MINORI_CORE_ANIME_H_ + #include "core/date.h" #include <array> #include <map> @@ -190,4 +191,4 @@ } // namespace Anime -#endif // __core__anime_h +#endif // MINORI_CORE_ANIME_H_
--- a/include/core/anime_db.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/core/anime_db.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __core__anime_db_h -#define __core__anime_db_h +#ifndef MINORI_CORE_ANIME_DB_H_ +#define MINORI_CORE_ANIME_DB_H_ #include "core/anime.h" #include "json/json_fwd.hpp" @@ -31,4 +31,4 @@ } // namespace Anime -#endif // __core__anime_db_h +#endif // MINORI_CORE_ANIME_DB_H_
--- a/include/core/config.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/core/config.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __core__config_h -#define __core__config_h +#ifndef MINORI_CORE_CONFIG_H_ +#define MINORI_CORE_CONFIG_H_ #include "core/anime.h" #include "gui/locale.h" @@ -65,4 +65,4 @@ constexpr std::string_view CONFIG_NAME = "config.ini"; -#endif // __core__config_h +#endif // MINORI_CORE_CONFIG_H_
--- a/include/core/date.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/core/date.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __core__date_h -#define __core__date_h +#ifndef MINORI_CORE_DATE_H_ +#define MINORI_CORE_DATE_H_ #include "json/json_fwd.hpp" @@ -50,4 +50,4 @@ std::optional<Day> day; }; -#endif // __core__date_h +#endif // MINORI_CORE_DATE_H_
--- a/include/core/filesystem.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/core/filesystem.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __core__filesystem_h -#define __core__filesystem_h +#ifndef MINORI_CORE_FILESYSTEM_H_ +#define MINORI_CORE_FILESYSTEM_H_ #include <filesystem> #include <string> @@ -13,4 +13,4 @@ } // namespace Filesystem -#endif // __core__filesystem_h +#endif // MINORI_CORE_FILESYSTEM_H_
--- a/include/core/http.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/core/http.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __core__http_h -#define __core__http_h +#ifndef MINORI_CORE_HTTP_H_ +#define MINORI_CORE_HTTP_H_ #include <QByteArray> #include <QThread> @@ -56,4 +56,4 @@ } // namespace HTTP -#endif // __core__http_h +#endif // MINORI_CORE_HTTP_H_
--- a/include/core/ini.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/core/ini.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __core__ini_h -#define __core__ini_h +#ifndef MINORI_CORE_INI_H_ +#define MINORI_CORE_INI_H_ #define MINI_CASE_SENSITIVE #include "core/strings.h"
--- a/include/core/json.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/core/json.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __core__json_h -#define __core__json_h +#ifndef MINORI_CORE_JSON_H_ +#define MINORI_CORE_JSON_H_ #include "json/json.hpp" @@ -53,4 +53,4 @@ } // namespace JSON -#endif // __core__json_h \ No newline at end of file +#endif // MINORI_CORE_JSON_H_ \ No newline at end of file
--- a/include/core/session.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/core/session.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __core__session_h -#define __core__session_h +#ifndef MINORI_CORE_SESSION_H_ +#define MINORI_CORE_SESSION_H_ #include "core/config.h" #include "gui/locale.h" @@ -27,4 +27,4 @@ extern Session session; -#endif // __core__session_h +#endif // MINORI_CORE_SESSION_H_
--- a/include/core/strings.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/core/strings.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __core__strings_h -#define __core__strings_h +#ifndef MINORI_CORE_STRINGS_H_ +#define MINORI_CORE_STRINGS_H_ #include <set> #include <sstream> @@ -73,4 +73,4 @@ }; // namespace Strings -#endif // __core__strings_h +#endif // MINORI_CORE_STRINGS_H_
--- a/include/core/time.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/core/time.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __core__time_h -#define __core__time_h +#ifndef MINORI_CORE_TIME_H_ +#define MINORI_CORE_TIME_H_ #include <cstdint> #include <string> @@ -22,4 +22,4 @@ }; // namespace Time -#endif // __core__time_h \ No newline at end of file +#endif // MINORI_CORE_TIME_H_ \ No newline at end of file
--- a/include/core/torrent.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/core/torrent.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __core__torrent_h -#define __core__torrent_h +#ifndef MINORI_CORE_TORRENT_H_ +#define MINORI_CORE_TORRENT_H_ #include <QDateTime> #include <string> @@ -59,4 +59,4 @@ QDateTime _date; }; -#endif // __core__torrent_h \ No newline at end of file +#endif // MINORI_CORE_TORRENT_H_
--- a/include/gui/dialog/about.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/dialog/about.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __gui__dialog__about_h -#define __gui__dialog__about_h +#ifndef MINORI_GUI_DIALOG_ABOUT_H_ +#define MINORI_GUI_DIALOG_ABOUT_H_ #include <QDialog> @@ -13,4 +13,4 @@ void showEvent(QShowEvent* event) override; }; -#endif // __gui__dialog__about_h +#endif // MINORI_GUI_DIALOG_ABOUT_H_
--- a/include/gui/dialog/information.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/dialog/information.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __gui__dialog__information_h -#define __gui__dialog__information_h +#ifndef MINORI_GUI_DIALOG_INFORMATION_H_ +#define MINORI_GUI_DIALOG_INFORMATION_H_ #include "core/anime.h" #include "core/date.h" @@ -32,4 +32,4 @@ Date _completed; }; -#endif // __gui__dialog__information_h +#endif // MINORI_GUI_DIALOG_INFORMATION_H_
--- a/include/gui/dialog/settings.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/dialog/settings.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __gui__dialog__settings_h -#define __gui__dialog__settings_h +#ifndef MINORI_GUI_DIALOG_SETTINGS_H_ +#define MINORI_GUI_DIALOG_SETTINGS_H_ #include "core/anime.h" #include "core/config.h" @@ -137,4 +137,4 @@ QStackedWidget* stacked; }; -#endif // __gui__dialog__settings_h +#endif // MINORI_GUI_DIALOG_SETTINGS_H_
--- a/include/gui/locale.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/locale.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __gui__locale_h -#define __gui__locale_h +#ifndef MINORI_GUI_LOCALE_H_ +#define MINORI_GUI_LOCALE_H_ #include <QLocale> #include <QTranslator> @@ -32,4 +32,4 @@ } // namespace Locale -#endif // __gui__locale_h +#endif // MINORI_GUI_LOCALE_H_
--- a/include/gui/pages/anime_list.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/pages/anime_list.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __gui__pages__anime_list_h -#define __gui__pages__anime_list_h +#ifndef MINORI_GUI_PAGES_ANIME_LIST_H_ +#define MINORI_GUI_PAGES_ANIME_LIST_H_ #include "core/anime.h" #include <QAbstractListModel> @@ -90,4 +90,4 @@ std::array<AnimeListPageSortFilter*, 5> sort_models; }; -#endif // __gui__pages__anime_list_h \ No newline at end of file +#endif // MINORI_GUI_PAGES_ANIME_LIST_H_
--- a/include/gui/pages/history.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/pages/history.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __gui__pages__history_h -#define __gui__pages__history_h +#ifndef MINORI_GUI_PAGES_HISTORY_H_ +#define MINORI_GUI_PAGES_HISTORY_H_ #include <QWidget> @@ -10,4 +10,4 @@ HistoryPage(QWidget* parent = nullptr); }; -#endif // __gui__pages__history_h +#endif // MINORI_GUI_PAGES_HISTORY_H_
--- a/include/gui/pages/now_playing.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/pages/now_playing.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __gui__pages__now_playing_h -#define __gui__pages__now_playing_h +#ifndef MINORI_GUI_PAGES_NOW_PLAYING_H_ +#define MINORI_GUI_PAGES_NOW_PLAYING_H_ #include "gui/widgets/anime_info.h" #include "gui/widgets/poster.h" @@ -61,4 +61,4 @@ QStackedWidget* stack; }; -#endif // __gui__pages__now_playing_h +#endif // MINORI_GUI_PAGES_NOW_PLAYING_H_
--- a/include/gui/pages/search.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/pages/search.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __gui__pages__search_h -#define __gui__pages__search_h +#ifndef MINORI_GUI_PAGES_SEARCH_H_ +#define MINORI_GUI_PAGES_SEARCH_H_ #include "core/anime.h" @@ -63,4 +63,4 @@ SearchPageListSortFilter* sort_model = nullptr; QTreeView* treeview = nullptr; }; -#endif // __gui__pages__search_h +#endif // MINORI_GUI_PAGES_SEARCH_H_
--- a/include/gui/pages/seasons.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/pages/seasons.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __gui__pages__seasons_h -#define __gui__pages__seasons_h +#ifndef MINORI_GUI_PAGES_SEASONS_H_ +#define MINORI_GUI_PAGES_SEASONS_H_ #include <QWidget> @@ -20,4 +20,4 @@ QListWidget* buttons = nullptr; }; -#endif // __gui__pages__seasons_h +#endif // MINORI_GUI_PAGES_SEASONS_H_
--- a/include/gui/pages/statistics.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/pages/statistics.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __gui__pages__statistics_h -#define __gui__pages__statistics_h +#ifndef MINORI_GUI_PAGES_STATISTICS_H_ +#define MINORI_GUI_PAGES_STATISTICS_H_ #include <QFrame> #include <QWidget> @@ -27,4 +27,4 @@ std::shared_ptr<TextWidgets::LabelledSection> _application; }; -#endif // __gui__pages__statistics_h \ No newline at end of file +#endif // MINORI_GUI_PAGES_STATISTICS_H_ \ No newline at end of file
--- a/include/gui/pages/torrents.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/pages/torrents.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __gui__pages__torrents_h -#define __gui__pages__torrents_h +#ifndef MINORI_GUI_PAGES_TORRENTS_H_ +#define MINORI_GUI_PAGES_TORRENTS_H_ #include "core/torrent.h" #include <QAbstractListModel> @@ -81,4 +81,4 @@ QTreeView* treeview = nullptr; }; -#endif // __gui__pages__torrents_h +#endif // MINORI_GUI_PAGES_TORRENTS_H_
--- a/include/gui/theme.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/theme.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __gui__theme_h -#define __gui__theme_h +#ifndef MINORI_GUI_THEME_H_ +#define MINORI_GUI_THEME_H_ #include <QStyle> @@ -29,4 +29,4 @@ } // namespace Theme -#endif // __gui__theme_h +#endif // MINORI_GUI_THEME_H_
--- a/include/gui/translate/anilist.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/translate/anilist.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,6 @@ -#ifndef __gui__translate__anilist_h -#define __gui__translate__anilist_h +#ifndef MINORI_GUI_TRANSLATE_ANILIST_H_ +#define MINORI_GUI_TRANSLATE_ANILIST_H_ + #include "core/anime.h" namespace Translate { @@ -12,4 +13,4 @@ } // namespace AniList } // namespace Translate -#endif // __gui__translate__anilist_h +#endif // MINORI_GUI_TRANSLATE_ANILIST_H_
--- a/include/gui/translate/anime.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/translate/anime.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __gui__translate__anime_h -#define __gui__translate__anime_h +#ifndef MINORI_GUI_TRANSLATE_ANIME_H_ +#define MINORI_GUI_TRANSLATE_ANIME_H_ #include "core/anime.h" @@ -31,4 +31,4 @@ } // namespace Translate -#endif // __gui__translate__anime_h +#endif // MINORI_GUI_TRANSLATE_ANIME_H_
--- a/include/gui/translate/config.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/translate/config.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,6 @@ -#ifndef __gui__translate__config_h -#define __gui__translate__config_h +#ifndef MINORI_GUI_TRANSLATE_CONFIG_H_ +#define MINORI_GUI_TRANSLATE_CONFIG_H_ + #include "core/config.h" namespace Translate { @@ -9,4 +10,4 @@ } // namespace Translate -#endif // __gui__translate__config_h \ No newline at end of file +#endif // MINORI_GUI_TRANSLATE_CONFIG_H_ \ No newline at end of file
--- a/include/gui/widgets/anime_button.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/widgets/anime_button.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __gui_widgets__anime_button_h -#define __gui_widgets__anime_button_h +#ifndef MINORI_GUI_WIDGETS_ANIME_BUTTON_H_ +#define MINORI_GUI_WIDGETS_ANIME_BUTTON_H_ #include <QFrame> @@ -30,4 +30,4 @@ ElidedLabel* _synopsis = nullptr; }; -#endif // __gui_widgets__anime_button_h \ No newline at end of file +#endif // MINORI_GUI_WIDGETS_ANIME_BUTTON_H_ \ No newline at end of file
--- a/include/gui/widgets/anime_info.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/widgets/anime_info.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __gui__widgets__anime_info_h -#define __gui__widgets__anime_info_h +#ifndef MINORI_GUI_WIDGETS_ANIME_INFO_H_ +#define MINORI_GUI_WIDGETS_ANIME_INFO_H_ #include <QWidget> @@ -27,4 +27,4 @@ std::shared_ptr<TextWidgets::SelectableSection> _synopsis = nullptr; }; -#endif // __gui__widgets__anime_info_h +#endif // MINORI_GUI_WIDGETS_ANIME_INFO_H_
--- a/include/gui/widgets/clickable_label.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/widgets/clickable_label.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __gui__widgets__clickable_label_h -#define __gui__widgets__clickable_label_h +#ifndef MINORI_GUI_WIDGETS_CLICKABLE_LABEL_H_ +#define MINORI_GUI_WIDGETS_CLICKABLE_LABEL_H_ #include <QLabel> @@ -17,4 +17,4 @@ void mousePressEvent(QMouseEvent*) override; }; -#endif // __gui__widgets__clickable_label_h +#endif // MINORI_GUI_WIDGETS_CLICKABLE_LABEL_H_
--- a/include/gui/widgets/elided_label.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/widgets/elided_label.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __gui__widgets__elided_label_h -#define __gui__widgets__elided_label_h +#ifndef MINORI_GUI_WIDGETS_ELIDED_LABEL_H_ +#define MINORI_GUI_WIDGETS_ELIDED_LABEL_H_ #include <QFrame> #include <QString> @@ -18,4 +18,4 @@ void paintEvent(QPaintEvent* event) override; }; -#endif // __gui__widgets__elided_label_h \ No newline at end of file +#endif // MINORI_GUI_WIDGETS_ELIDED_LABEL_H_
--- a/include/gui/widgets/graph.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/widgets/graph.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __gui__widgets__graph_h -#define __gui__widgets__graph_h +#ifndef MINORI_GUI_WIDGETS_GRAPH_H_ +#define MINORI_GUI_WIDGETS_GRAPH_H_ /* This class is defined as a template, so that means everything gets defined here as well :) */ @@ -129,4 +129,4 @@ } }; -#endif // __gui__widgets__graph_h \ No newline at end of file +#endif // MINORI_GUI_WIDGETS_GRAPH_H_
--- a/include/gui/widgets/optional_date.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/widgets/optional_date.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __gui__widgets__optional_date_h -#define __gui__widgets__optional_date_h +#ifndef MINORI_GUI_WIDGETS_OPTIONAL_DATE_H_ +#define MINORI_GUI_WIDGETS_OPTIONAL_DATE_H_ #include "core/date.h" #include <QWidget> @@ -30,4 +30,4 @@ QCheckBox* _checkbox; }; -#endif // __gui__widgets__optional_date_h +#endif // MINORI_GUI_WIDGETS_OPTIONAL_DATE_H_
--- a/include/gui/widgets/poster.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/widgets/poster.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __gui__widgets__poster_h -#define __gui__widgets__poster_h +#ifndef MINORI_GUI_WIDGETS_POSTER_H_ +#define MINORI_GUI_WIDGETS_POSTER_H_ #include <QFrame> #include <QImage> @@ -30,4 +30,4 @@ bool clickable = true; }; -#endif // __gui__widgets__poster_h \ No newline at end of file +#endif // MINORI_GUI_WIDGETS_POSTER_H_ \ No newline at end of file
--- a/include/gui/widgets/sidebar.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/widgets/sidebar.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __gui__sidebar_h -#define __gui__sidebar_h +#ifndef MINORI_GUI_WIDGETS_SIDEBAR_H_ +#define MINORI_GUI_WIDGETS_SIDEBAR_H_ #include <QItemSelectionModel> #include <QListWidget> @@ -31,4 +31,4 @@ int AddSeparatorsToIndex(int index); }; -#endif // __gui__sidebar_h +#endif // MINORI_GUI_WIDGETS_SIDEBAR_H_
--- a/include/gui/widgets/text.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/widgets/text.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __gui__ui_utils_h -#define __gui__ui_utils_h +#ifndef MINORI_GUI_WIDGETS_TEXT_H_ +#define MINORI_GUI_WIDGETS_TEXT_H_ #include <QLineEdit> #include <QPlainTextEdit> @@ -117,4 +117,4 @@ } // namespace TextWidgets -#endif // __gui__ui_utils_h +#endif // MINORI_GUI_WIDGETS_TEXT_H_
--- a/include/gui/window.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/gui/window.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __window_h -#define __window_h +#ifndef MINORI_WINDOW_H_ +#define MINORI_WINDOW_H_ #include "core/config.h" #include <QMainWindow> #include <memory> @@ -67,4 +67,4 @@ QMenu* folder_menu = nullptr; }; -#endif // __window_h +#endif // MINORI_WINDOW_H_
--- a/include/library/library.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/library/library.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __library__library_h -#define __library__library_h +#ifndef MINORI_LIBRARY_LIBRARY_H_ +#define MINORI_LIBRARY_LIBRARY_H_ #include "library/library.h" @@ -15,4 +15,4 @@ } // namespace Library -#endif // __library__library_h +#endif // MINORI_LIBRARY_LIBRARY_H_
--- a/include/services/anilist.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/services/anilist.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __services__anilist_h -#define __services__anilist_h +#ifndef MINORI_SERVICES_ANILIST_H_ +#define MINORI_SERVICES_ANILIST_H_ #include <string> #include <vector> @@ -21,4 +21,4 @@ } // namespace AniList } // namespace Services -#endif // __services__anilist_h +#endif // MINORI_SERVICES_ANILIST_H_
--- a/include/services/services.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/services/services.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __services__services_h -#define __services__services_h +#ifndef MINORI_SERVICES_SERVICES_H_ +#define MINORI_SERVICES_SERVICES_H_ #include <string> #include <vector> @@ -13,4 +13,4 @@ }; // namespace Services -#endif // __services__services_h +#endif // MINORI_SERVICES_SERVICES_H_
--- a/include/sys/glib/dark_theme.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/sys/glib/dark_theme.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __sys__glib__dark_theme_h -#define __sys__glib__dark_theme_h +#ifndef MINORI_SYS_GLIB_DARK_THEME_H_ +#define MINORI_SYS_GLIB_DARK_THEME_H_ namespace glib { @@ -7,4 +7,4 @@ } -#endif // __sys__glib__dark_theme_h \ No newline at end of file +#endif // MINORI_SYS_GLIB_DARK_THEME_H_
--- a/include/sys/osx/dark_theme.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/sys/osx/dark_theme.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __sys__osx__dark_theme_h -#define __sys__osx__dark_theme_h +#ifndef MINORI_SYS_OSX_DARK_THEME_H_ +#define MINORI_SYS_OSX_DARK_THEME_H_ namespace osx { @@ -11,4 +11,4 @@ } // namespace osx -#endif // __sys__osx__dark_theme_h +#endif // MINORI_SYS_OSX_DARK_THEME_H_
--- a/include/sys/osx/filesystem.h Wed Apr 03 19:48:38 2024 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -#ifndef __sys__osx__filesystem_h -#define __sys__osx__filesystem_h - -#include <string> - -namespace osx { - -bool GetApplicationSupportDirectory(std::string& result); - -} - -#endif // __sys__osx__filesystem_h \ No newline at end of file
--- a/include/sys/osx/permissions.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/sys/osx/permissions.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __sys__osx__permissions_h -#define __sys__osx__permissions_h +#ifndef MINORI_SYS_OSX_PERMISSIONS_H_ +#define MINORI_SYS_OSX_PERMISSIONS_H_ namespace osx { @@ -7,4 +7,4 @@ } // namespace osx -#endif // __sys__osx__permissions_h +#endif // MINORI_SYS_OSX_PERMISSIONS_H_
--- a/include/sys/win32/dark_theme.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/sys/win32/dark_theme.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __sys__win32__dark_theme_h -#define __sys__win32__dark_theme_h +#ifndef MINORI_SYS_WIN32_DARK_THEME_H_ +#define MINORI_SYS_WIN32_DARK_THEME_H_ class QWidget; @@ -12,4 +12,4 @@ } // namespace win32 -#endif // __sys__win32__dark_theme_h +#endif // MINORI_SYS_WIN32_DARK_THEME_H_
--- a/include/track/media.h Wed Apr 03 19:48:38 2024 -0400 +++ b/include/track/media.h Wed Apr 03 20:04:28 2024 -0400 @@ -1,5 +1,5 @@ -#ifndef __track__media_h -#define __track__media_h +#ifndef MINORI_TRACK_MEDIA_H_ +#define MINORI_TRACK_MEDIA_H_ #include <string> #include <unordered_map> #include <vector> @@ -12,4 +12,4 @@ } // namespace Media } // namespace Track -#endif // __track__media_h +#endif // MINORI_TRACK_MEDIA_H_