Added SPDX license identifiers to all source files.

This commit is contained in:
Leon Styhre 2020-09-21 19:17:34 +02:00
parent 1c831249da
commit 8db04c5fcb
154 changed files with 343 additions and 115 deletions

View file

@ -5,7 +5,6 @@
// Version and build information. // Version and build information.
// //
#pragma once
#ifndef ES_APP_EMULATION_STATION_H #ifndef ES_APP_EMULATION_STATION_H
#define ES_APP_EMULATION_STATION_H #define ES_APP_EMULATION_STATION_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// FileFilterIndex.cpp // FileFilterIndex.cpp
// //
// Gamelist filters. // Gamelist filters.

View file

@ -1,10 +1,11 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// FileFilterIndex.h // FileFilterIndex.h
// //
// Gamelist filters. // Gamelist filters.
// //
#pragma once
#ifndef ES_APP_FILE_FILTER_INDEX_H #ifndef ES_APP_FILE_FILTER_INDEX_H
#define ES_APP_FILE_FILTER_INDEX_H #define ES_APP_FILE_FILTER_INDEX_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// FileSorts.cpp // FileSorts.cpp
// //
// Gamelist sorting functions. // Gamelist sorting functions.

View file

@ -1,15 +1,17 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// FileSorts.h // FileSorts.h
// //
// Gamelist sorting functions. // Gamelist sorting functions.
// Actual sorting takes place in FileData. // Actual sorting takes place in FileData.
// //
#pragma once
#ifndef ES_APP_FILE_SORTS_H #ifndef ES_APP_FILE_SORTS_H
#define ES_APP_FILE_SORTS_H #define ES_APP_FILE_SORTS_H
#include "FileData.h" #include "FileData.h"
#include <vector> #include <vector>
namespace FileSorts namespace FileSorts

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// Gamelist.cpp // Gamelist.cpp
// //
// Parses and updates the gamelist.xml files. // Parses and updates the gamelist.xml files.
@ -6,8 +8,6 @@
#include "Gamelist.h" #include "Gamelist.h"
#include <chrono>
#include "utils/FileSystemUtil.h" #include "utils/FileSystemUtil.h"
#include "utils/StringUtil.h" #include "utils/StringUtil.h"
#include "FileData.h" #include "FileData.h"
@ -16,6 +16,7 @@
#include "Settings.h" #include "Settings.h"
#include "SystemData.h" #include "SystemData.h"
#include <chrono>
#include <pugixml.hpp> #include <pugixml.hpp>
FileData* findOrCreateFile(SystemData* system, const std::string& path, FileType type) FileData* findOrCreateFile(SystemData* system, const std::string& path, FileType type)

View file

@ -1,10 +1,11 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// Gamelist.h // Gamelist.h
// //
// Parses and updates the gamelist.xml files. // Parses and updates the gamelist.xml files.
// //
#pragma once
#ifndef ES_APP_GAME_LIST_H #ifndef ES_APP_GAME_LIST_H
#define ES_APP_GAME_LIST_H #define ES_APP_GAME_LIST_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// MetaData.cpp // MetaData.cpp
// //
// Static data for default metadata values as well as functions // Static data for default metadata values as well as functions
@ -9,6 +11,7 @@
#include "utils/FileSystemUtil.h" #include "utils/FileSystemUtil.h"
#include "Log.h" #include "Log.h"
#include <pugixml.hpp> #include <pugixml.hpp>
MetaDataDecl gameDecls[] = { MetaDataDecl gameDecls[] = {

View file

@ -1,11 +1,12 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// MetaData.h // MetaData.h
// //
// Static data for default metadata values as well as functions // Static data for default metadata values as well as functions
// to read and write metadata from the gamelist files. // to read and write metadata from the gamelist files.
// //
#pragma once
#ifndef ES_APP_META_DATA_H #ifndef ES_APP_META_DATA_H
#define ES_APP_META_DATA_H #define ES_APP_META_DATA_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// PlatformId.cpp // PlatformId.cpp
// //
// Index of all supported systems/platforms. // Index of all supported systems/platforms.

View file

@ -1,10 +1,11 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// PlatformId.h // PlatformId.h
// //
// Index of all supported systems/platforms. // Index of all supported systems/platforms.
// //
#pragma once
#ifndef ES_APP_PLATFORM_ID_H #ifndef ES_APP_PLATFORM_ID_H
#define ES_APP_PLATFORM_ID_H #define ES_APP_PLATFORM_ID_H

View file

@ -13,6 +13,7 @@
#define ES_APP_SYSTEM_DATA_H #define ES_APP_SYSTEM_DATA_H
#include "PlatformId.h" #include "PlatformId.h"
#include <algorithm> #include <algorithm>
#include <memory> #include <memory>
#include <string> #include <string>

View file

@ -23,8 +23,8 @@
#include "Sound.h" #include "Sound.h"
#include "SystemData.h" #include "SystemData.h"
#include <unordered_map>
#include <time.h> #include <time.h>
#include <unordered_map>
#if defined(_WIN64) #if defined(_WIN64)
#include <cstring> #include <cstring>

View file

@ -14,9 +14,9 @@
#if defined(__APPLE__) #if defined(__APPLE__)
//#error TODO: Not implemented for MacOS yet!!! //#error TODO: Not implemented for MacOS yet!!!
#elif defined(__linux__) #elif defined(__linux__)
#include <unistd.h>
#include <fcntl.h>
#include <alsa/asoundlib.h> #include <alsa/asoundlib.h>
#include <fcntl.h>
#include <unistd.h>
#elif defined(_WIN64) #elif defined(_WIN64)
#include <Windows.h> #include <Windows.h>
#include <endpointvolume.h> #include <endpointvolume.h>

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiCollectionSystemsOptions.cpp // GuiCollectionSystemsOptions.cpp
// //
// User interface for the game collection settings. // User interface for the game collection settings.

View file

@ -1,11 +1,12 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiCollectionSystemsOptions.h // GuiCollectionSystemsOptions.h
// //
// User interface for the game collection settings. // User interface for the game collection settings.
// Submenu to the GuiMenu main menu. // Submenu to the GuiMenu main menu.
// //
#pragma once
#ifndef ES_APP_GUIS_GUI_COLLECTION_SYSTEM_OPTIONS_H #ifndef ES_APP_GUIS_GUI_COLLECTION_SYSTEM_OPTIONS_H
#define ES_APP_GUIS_GUI_COLLECTION_SYSTEM_OPTIONS_H #define ES_APP_GUIS_GUI_COLLECTION_SYSTEM_OPTIONS_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiGameScraper.cpp // GuiGameScraper.cpp
// //
// Single game scraping user interface. // Single game scraping user interface.

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiGameScraper.h // GuiGameScraper.h
// //
// Single game scraping user interface. // Single game scraping user interface.
@ -6,7 +8,6 @@
// GuiScraperSearch is called from here. // GuiScraperSearch is called from here.
// //
#pragma once
#ifndef ES_APP_GUIS_GUI_GAME_SCRAPER_H #ifndef ES_APP_GUIS_GUI_GAME_SCRAPER_H
#define ES_APP_GUIS_GUI_GAME_SCRAPER_H #define ES_APP_GUIS_GUI_GAME_SCRAPER_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiGamelistFilter.cpp // GuiGamelistFilter.cpp
// //
// User interface for the gamelist filters. // User interface for the gamelist filters.

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiGamelistFilter.h // GuiGamelistFilter.h
// //
// User interface for the gamelist filters. // User interface for the gamelist filters.
@ -6,7 +8,6 @@
// Actual filter logic is covered by FileFilterIndex. // Actual filter logic is covered by FileFilterIndex.
// //
#pragma once
#ifndef ES_APP_GUIS_GUI_GAME_LIST_FILTER_H #ifndef ES_APP_GUIS_GUI_GAME_LIST_FILTER_H
#define ES_APP_GUIS_GUI_GAME_LIST_FILTER_H #define ES_APP_GUIS_GUI_GAME_LIST_FILTER_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiGeneralScreensaverOptions.cpp // GuiGeneralScreensaverOptions.cpp
// //
// User interface for the screensaver options. // User interface for the screensaver options.

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiGeneralScreensaverOptions.h // GuiGeneralScreensaverOptions.h
// //
// User interface for the screensaver options. // User interface for the screensaver options.
@ -6,7 +8,6 @@
// Submenu to the GuiMenu main menu. // Submenu to the GuiMenu main menu.
// //
#pragma once
#ifndef ES_APP_GUIS_GUI_GENERAL_SCREENSAVER_OPTIONS_H #ifndef ES_APP_GUIS_GUI_GENERAL_SCREENSAVER_OPTIONS_H
#define ES_APP_GUIS_GUI_GENERAL_SCREENSAVER_OPTIONS_H #define ES_APP_GUIS_GUI_GENERAL_SCREENSAVER_OPTIONS_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiInfoPopup.cpp // GuiInfoPopup.cpp
// //
// Popup window used for user notifications. // Popup window used for user notifications.

View file

@ -1,10 +1,11 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiInfoPopup.h // GuiInfoPopup.h
// //
// Popup window used for user notifications. // Popup window used for user notifications.
// //
#pragma once
#ifndef ES_APP_GUIS_GUI_INFO_POPUP_H #ifndef ES_APP_GUIS_GUI_INFO_POPUP_H
#define ES_APP_GUIS_GUI_INFO_POPUP_H #define ES_APP_GUIS_GUI_INFO_POPUP_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiMetaDataEd.cpp // GuiMetaDataEd.cpp
// //
// Game metadata edit user interface. // Game metadata edit user interface.

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiMetaDataEd.h // GuiMetaDataEd.h
// //
// Game metadata edit user interface. // Game metadata edit user interface.
@ -7,7 +9,6 @@
// GuiScraperSearch. // GuiScraperSearch.
// //
#pragma once
#ifndef ES_APP_GUIS_GUI_META_DATA_ED_H #ifndef ES_APP_GUIS_GUI_META_DATA_ED_H
#define ES_APP_GUIS_GUI_META_DATA_ED_H #define ES_APP_GUIS_GUI_META_DATA_ED_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiScraperMenu.cpp // GuiScraperMenu.cpp
// //
// Game media scraper, including settings as well as the scraping start button. // Game media scraper, including settings as well as the scraping start button.

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiScraperMenu.h // GuiScraperMenu.h
// //
// Game media scraper, including settings as well as the scraping start button. // Game media scraper, including settings as well as the scraping start button.
@ -6,7 +8,6 @@
// Will call GuiScraperMulti to perform the actual scraping. // Will call GuiScraperMulti to perform the actual scraping.
// //
#pragma once
#ifndef ES_APP_GUIS_GUI_SCRAPER_MENU_H #ifndef ES_APP_GUIS_GUI_SCRAPER_MENU_H
#define ES_APP_GUIS_GUI_SCRAPER_MENU_H #define ES_APP_GUIS_GUI_SCRAPER_MENU_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiScraperMulti.cpp // GuiScraperMulti.cpp
// //
// Multiple game scraping user interface. // Multiple game scraping user interface.

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiScraperMulti.h // GuiScraperMulti.h
// //
// Multiple game scraping user interface. // Multiple game scraping user interface.
@ -7,7 +9,6 @@
// GuiScraperSearch is called from here. // GuiScraperSearch is called from here.
// //
#pragma once
#ifndef ES_APP_GUIS_GUI_SCRAPER_MULTI_H #ifndef ES_APP_GUIS_GUI_SCRAPER_MULTI_H
#define ES_APP_GUIS_GUI_SCRAPER_MULTI_H #define ES_APP_GUIS_GUI_SCRAPER_MULTI_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiScraperSearch.cpp // GuiScraperSearch.cpp
// //
// User interface for the scraper where the user is able to see an overview // User interface for the scraper where the user is able to see an overview

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiScraperSearch.h // GuiScraperSearch.h
// //
// User interface for the scraper where the user is able to see an overview // User interface for the scraper where the user is able to see an overview
@ -11,7 +13,6 @@
// from GuiScraperMulti for multi-game scraping. // from GuiScraperMulti for multi-game scraping.
// //
#pragma once
#ifndef ES_APP_GUIS_GUI_SCRAPER_SEARCH_H #ifndef ES_APP_GUIS_GUI_SCRAPER_SEARCH_H
#define ES_APP_GUIS_GUI_SCRAPER_SEARCH_H #define ES_APP_GUIS_GUI_SCRAPER_SEARCH_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiScreensaverOptions.cpp // GuiScreensaverOptions.cpp
// //
// User interface template for the screensaver option GUIs. // User interface template for the screensaver option GUIs.

View file

@ -1,10 +1,11 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiScreensaverOptions.h // GuiScreensaverOptions.h
// //
// User interface template for the screensaver option GUIs. // User interface template for the screensaver option GUIs.
// //
#pragma once
#ifndef ES_APP_GUIS_GUI_SCREENSAVER_OPTIONS_H #ifndef ES_APP_GUIS_GUI_SCREENSAVER_OPTIONS_H
#define ES_APP_GUIS_GUI_SCREENSAVER_OPTIONS_H #define ES_APP_GUIS_GUI_SCREENSAVER_OPTIONS_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiSettings.cpp // GuiSettings.cpp
// //
// User interface template for a settings GUI. // User interface template for a settings GUI.

View file

@ -1,10 +1,11 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiSettings.h // GuiSettings.h
// //
// User interface template for a settings GUI. // User interface template for a settings GUI.
// //
#pragma once
#ifndef ES_APP_GUIS_GUI_SETTINGS_H #ifndef ES_APP_GUIS_GUI_SETTINGS_H
#define ES_APP_GUIS_GUI_SETTINGS_H #define ES_APP_GUIS_GUI_SETTINGS_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiSlideshowScreensaverOptions.cpp // GuiSlideshowScreensaverOptions.cpp
// //
// User interface for the slideshow screensaver options. // User interface for the slideshow screensaver options.

View file

@ -1,11 +1,12 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiSlideshowScreensaverOptions.h // GuiSlideshowScreensaverOptions.h
// //
// User interface for the slideshow screensaver options. // User interface for the slideshow screensaver options.
// Submenu to GuiGeneralScreensaverOptions. // Submenu to GuiGeneralScreensaverOptions.
// //
#pragma once
#ifndef ES_APP_GUIS_GUI_SLIDESHOW_SCREENSAVER_OPTIONS_H #ifndef ES_APP_GUIS_GUI_SLIDESHOW_SCREENSAVER_OPTIONS_H
#define ES_APP_GUIS_GUI_SLIDESHOW_SCREENSAVER_OPTIONS_H #define ES_APP_GUIS_GUI_SLIDESHOW_SCREENSAVER_OPTIONS_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiVideoScreensaverOptions.cpp // GuiVideoScreensaverOptions.cpp
// //
// User interface for the video screensaver options. // User interface for the video screensaver options.

View file

@ -1,11 +1,12 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GuiVideoScreensaverOptions.h // GuiVideoScreensaverOptions.h
// //
// User interface for the video screensaver options. // User interface for the video screensaver options.
// Submenu to GuiGeneralScreensaverOptions. // Submenu to GuiGeneralScreensaverOptions.
// //
#pragma once
#ifndef ES_APP_GUIS_GUI_VIDEO_SCREENSAVER_OPTIONS_H #ifndef ES_APP_GUIS_GUI_VIDEO_SCREENSAVER_OPTIONS_H
#define ES_APP_GUIS_GUI_VIDEO_SCREENSAVER_OPTIONS_H #define ES_APP_GUIS_GUI_VIDEO_SCREENSAVER_OPTIONS_H

View file

@ -1,23 +1,25 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GamesDBJSONScraper.cpp // GamesDBJSONScraper.cpp
// //
// Functions specifically for scraping from thegamesdb.net // Functions specifically for scraping from thegamesdb.net
// Called from Scraper. // Called from Scraper.
// //
#include <exception>
#include <map>
#include "scrapers/GamesDBJSONScraper.h" #include "scrapers/GamesDBJSONScraper.h"
#include "scrapers/GamesDBJSONScraperResources.h" #include "scrapers/GamesDBJSONScraperResources.h"
#include "utils/TimeUtil.h"
#include "FileData.h" #include "FileData.h"
#include "Log.h" #include "Log.h"
#include "MameNames.h"
#include "PlatformId.h" #include "PlatformId.h"
#include "Settings.h" #include "Settings.h"
#include "SystemData.h" #include "SystemData.h"
#include "MameNames.h"
#include "utils/TimeUtil.h" #include <exception>
#include <map>
#include <pugixml.hpp> #include <pugixml.hpp>
// When raspbian will get an up to date version of rapidjson we'll be // When raspbian will get an up to date version of rapidjson we'll be

View file

@ -1,11 +1,12 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GamesDBJSONScraper.h // GamesDBJSONScraper.h
// //
// Functions specifically for scraping from thegamesdb.net // Functions specifically for scraping from thegamesdb.net
// Called from Scraper. // Called from Scraper.
// //
#pragma once
#ifndef ES_APP_SCRAPERS_GAMES_DB_JSON_SCRAPER_H #ifndef ES_APP_SCRAPERS_GAMES_DB_JSON_SCRAPER_H
#define ES_APP_SCRAPERS_GAMES_DB_JSON_SCRAPER_H #define ES_APP_SCRAPERS_GAMES_DB_JSON_SCRAPER_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GamesDBJSONScraperResources.cpp // GamesDBJSONScraperResources.cpp
// //
// Functions specifically for scraping from thegamesdb.net // Functions specifically for scraping from thegamesdb.net
@ -10,19 +12,19 @@
// gamesdb_publishers.json // gamesdb_publishers.json
// //
#include "scrapers/GamesDBJSONScraperResources.h"
#include "utils/FileSystemUtil.h"
#include "Log.h"
#include <rapidjson/document.h>
#include <rapidjson/error/en.h>
#include <chrono> #include <chrono>
#include <fstream> #include <fstream>
#include <memory> #include <memory>
#include <thread> #include <thread>
#include "Log.h"
#include "scrapers/GamesDBJSONScraperResources.h"
#include "utils/FileSystemUtil.h"
#include <rapidjson/document.h>
#include <rapidjson/error/en.h>
using namespace rapidjson; using namespace rapidjson;
namespace { namespace {

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GamesDBJSONScraperResources.h // GamesDBJSONScraperResources.h
// //
// Functions specifically for scraping from thegamesdb.net // Functions specifically for scraping from thegamesdb.net
@ -10,17 +12,16 @@
// gamesdb_publishers.json // gamesdb_publishers.json
// //
#pragma once
#ifndef ES_APP_SCRAPERS_GAMES_DB_JSON_SCRAPER_RESOURCES_H #ifndef ES_APP_SCRAPERS_GAMES_DB_JSON_SCRAPER_RESOURCES_H
#define ES_APP_SCRAPERS_GAMES_DB_JSON_SCRAPER_RESOURCES_H #define ES_APP_SCRAPERS_GAMES_DB_JSON_SCRAPER_RESOURCES_H
#include "HttpReq.h"
#include <fstream> #include <fstream>
#include <memory> #include <memory>
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>
#include "HttpReq.h"
struct TheGamesDBJSONRequestResources { struct TheGamesDBJSONRequestResources {
TheGamesDBJSONRequestResources() = default; TheGamesDBJSONRequestResources() = default;

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// Scraper.cpp // Scraper.cpp
// //
// Main scraper logic. // Main scraper logic.

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// Scraper.h // Scraper.h
// //
// Main scraper logic. // Main scraper logic.
@ -6,18 +8,18 @@
// Calls either GamesDBJSONScraper or ScreenScraper. // Calls either GamesDBJSONScraper or ScreenScraper.
// //
#pragma once
#ifndef ES_APP_SCRAPERS_SCRAPER_H #ifndef ES_APP_SCRAPERS_SCRAPER_H
#define ES_APP_SCRAPERS_SCRAPER_H #define ES_APP_SCRAPERS_SCRAPER_H
#include "AsyncHandle.h" #include "AsyncHandle.h"
#include "HttpReq.h" #include "HttpReq.h"
#include "MetaData.h" #include "MetaData.h"
#include <assert.h>
#include <functional> #include <functional>
#include <memory> #include <memory>
#include <queue> #include <queue>
#include <utility> #include <utility>
#include <assert.h>
#define MAX_SCRAPER_RESULTS 7 #define MAX_SCRAPER_RESULTS 7

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// ScreenScraper.cpp // ScreenScraper.cpp
// //
// Functions specifically for scraping from screenscraper.fr // Functions specifically for scraping from screenscraper.fr

View file

@ -1,11 +1,12 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// ScreenScraper.h // ScreenScraper.h
// //
// Functions specifically for scraping from screenscraper.fr // Functions specifically for scraping from screenscraper.fr
// Called from Scraper. // Called from Scraper.
// //
#pragma once
#ifndef ES_APP_SCRAPERS_SCREEN_SCRAPER_H #ifndef ES_APP_SCRAPERS_SCREEN_SCRAPER_H
#define ES_APP_SCRAPERS_SCREEN_SCRAPER_H #define ES_APP_SCRAPERS_SCREEN_SCRAPER_H

View file

@ -10,8 +10,8 @@
#ifndef ES_APP_VIEWS_UI_MODE_CONTROLLER_H #ifndef ES_APP_VIEWS_UI_MODE_CONTROLLER_H
#define ES_APP_VIEWS_UI_MODE_CONTROLLER_H #define ES_APP_VIEWS_UI_MODE_CONTROLLER_H
#include <vector>
#include <string> #include <string>
#include <vector>
class FileData; class FileData;
class InputConfig; class InputConfig;

View file

@ -1,10 +1,11 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// AsyncHandle.h // AsyncHandle.h
// //
// Asynchronous operations used by GuiScraperSearch and Scraper. // Asynchronous operations used by GuiScraperSearch and Scraper.
// //
#pragma once
#ifndef ES_CORE_ASYNC_HANDLE_H #ifndef ES_CORE_ASYNC_HANDLE_H
#define ES_CORE_ASYNC_HANDLE_H #define ES_CORE_ASYNC_HANDLE_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// AudioManager.cpp // AudioManager.cpp
// //
// Low-level audio functions (using SDL2). // Low-level audio functions (using SDL2).

View file

@ -1,15 +1,15 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// AudioManager.h // AudioManager.h
// //
// Low-level audio functions (using SDL2). // Low-level audio functions (using SDL2).
// //
#pragma once
#ifndef ES_CORE_AUDIO_MANAGER_H #ifndef ES_CORE_AUDIO_MANAGER_H
#define ES_CORE_AUDIO_MANAGER_H #define ES_CORE_AUDIO_MANAGER_H
#include <SDL2/SDL_audio.h> #include <SDL2/SDL_audio.h>
#include <memory> #include <memory>
#include <vector> #include <vector>

View file

@ -1,7 +1,9 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// CECInput.cpp // CECInput.cpp
// //
// CEC (Consumer Electronics Control). // CEC (Consumer Electronics Control) input.
// //
#include "CECInput.h" #include "CECInput.h"

View file

@ -1,10 +1,11 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// CECInput.h // CECInput.h
// //
// CEC (Consumer Electronics Control). // CEC (Consumer Electronics Control) input.
// //
#pragma once
#ifndef ES_CORE_CECINPUT_H #ifndef ES_CORE_CECINPUT_H
#define ES_CORE_CECINPUT_H #define ES_CORE_CECINPUT_H

View file

@ -1,10 +1,11 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// HelpPrompt.h // HelpPrompt.h
// //
// Definition of the pair used by help prompts to display a button and its mapped function. // Definition of the pair used by help prompts to display a button and its mapped function.
// //
#pragma once
#ifndef ES_CORE_HELP_PROMPT_H #ifndef ES_CORE_HELP_PROMPT_H
#define ES_CORE_HELP_PROMPT_H #define ES_CORE_HELP_PROMPT_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// HelpStyle.cpp // HelpStyle.cpp
// //
// Style (default colors, position and origin) for the help system. // Style (default colors, position and origin) for the help system.

View file

@ -1,15 +1,17 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// HelpStyle.h // HelpStyle.h
// //
// Style (default colors, position and origin) for the help system. // Style (default colors, position and origin) for the help system.
// Also theme handling. // Also theme handling.
// //
#pragma once
#ifndef ES_CORE_HELP_STYLE_H #ifndef ES_CORE_HELP_STYLE_H
#define ES_CORE_HELP_STYLE_H #define ES_CORE_HELP_STYLE_H
#include "math/Vector2f.h" #include "math/Vector2f.h"
#include <memory> #include <memory>
#include <string> #include <string>

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// HttpReq.cpp // HttpReq.cpp
// //
// HTTP request functions. // HTTP request functions.

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// HttpReq.h // HttpReq.h
// //
// HTTP request functions. // HTTP request functions.
@ -6,7 +8,6 @@
// ScreenScraper to download game information and media files. // ScreenScraper to download game information and media files.
// //
#pragma once
#ifndef ES_CORE_HTTP_REQ_H #ifndef ES_CORE_HTTP_REQ_H
#define ES_CORE_HTTP_REQ_H #define ES_CORE_HTTP_REQ_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// ImageIO.cpp // ImageIO.cpp
// //
// Image I/O functions. // Image I/O functions.
@ -7,6 +9,7 @@
#include "ImageIO.h" #include "ImageIO.h"
#include "Log.h" #include "Log.h"
#include <FreeImage.h> #include <FreeImage.h>
#include <string.h> #include <string.h>

View file

@ -1,10 +1,11 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// ImageIO.h // ImageIO.h
// //
// Image I/O functions. // Image I/O functions.
// //
#pragma once
#ifndef ES_CORE_IMAGE_IO #ifndef ES_CORE_IMAGE_IO
#define ES_CORE_IMAGE_IO #define ES_CORE_IMAGE_IO

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// InputConfig.cpp // InputConfig.cpp
// //
// Input device configuration functions. // Input device configuration functions.

View file

@ -1,10 +1,11 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// InputConfig.h // InputConfig.h
// //
// Input device configuration functions. // Input device configuration functions.
// //
#pragma once
#ifndef ES_CORE_INPUT_CONFIG_H #ifndef ES_CORE_INPUT_CONFIG_H
#define ES_CORE_INPUT_CONFIG_H #define ES_CORE_INPUT_CONFIG_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// InputManager.cpp // InputManager.cpp
// //
// Low-level input handling. // Low-level input handling.
@ -17,9 +19,9 @@
#include "Window.h" #include "Window.h"
#include <SDL2/SDL.h> #include <SDL2/SDL.h>
#include <pugixml.hpp>
#include <assert.h> #include <assert.h>
#include <iostream> #include <iostream>
#include <pugixml.hpp>
#define KEYBOARD_GUID_STRING "-1" #define KEYBOARD_GUID_STRING "-1"
#define CEC_GUID_STRING "-2" #define CEC_GUID_STRING "-2"

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// InputManager.h // InputManager.h
// //
// Low-level input handling. // Low-level input handling.
@ -6,7 +8,6 @@
// Reads and writes the es_input.cfg configuration file. // Reads and writes the es_input.cfg configuration file.
// //
#pragma once
#ifndef ES_CORE_INPUT_MANAGER_H #ifndef ES_CORE_INPUT_MANAGER_H
#define ES_CORE_INPUT_MANAGER_H #define ES_CORE_INPUT_MANAGER_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// Log.cpp // Log.cpp
// //
// Log handling. // Log handling.
@ -10,9 +12,9 @@
#include "utils/StringUtil.h" #include "utils/StringUtil.h"
#include "Platform.h" #include "Platform.h"
#include <fstream>
#include <iostream> #include <iostream>
#include <iomanip> #include <iomanip>
#include <fstream>
LogLevel Log::reportingLevel = LogInfo; LogLevel Log::reportingLevel = LogInfo;
std::ofstream file; std::ofstream file;

View file

@ -1,15 +1,16 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// Log.h // Log.h
// //
// Log handling. // Log handling.
// //
#pragma once
#ifndef ES_CORE_LOG_H #ifndef ES_CORE_LOG_H
#define ES_CORE_LOG_H #define ES_CORE_LOG_H
#include <sstream>
#include <map> #include <map>
#include <sstream>
#define LOG(level) \ #define LOG(level) \
if (level > Log::getReportingLevel()); \ if (level > Log::getReportingLevel()); \

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// MameNames.cpp // MameNames.cpp
// //
// Provides expanded game names based on short MAME name arguments. Also contains // Provides expanded game names based on short MAME name arguments. Also contains
@ -13,6 +15,7 @@
#include "utils/FileSystemUtil.h" #include "utils/FileSystemUtil.h"
#include "utils/StringUtil.h" #include "utils/StringUtil.h"
#include "Log.h" #include "Log.h"
#include <pugixml.hpp> #include <pugixml.hpp>
#include <string.h> #include <string.h>

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// MameNames.h // MameNames.h
// //
// Provides expanded game names based on short MAME name arguments. Also contains // Provides expanded game names based on short MAME name arguments. Also contains
@ -7,7 +9,6 @@
// as the files mamebioses.xml, mamedevices.xml and mamenames.xml. // as the files mamebioses.xml, mamedevices.xml and mamenames.xml.
// //
#pragma once
#ifndef ES_CORE_MAMENAMES_H #ifndef ES_CORE_MAMENAMES_H
#define ES_CORE_MAMENAMES_H #define ES_CORE_MAMENAMES_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// PowerSaver.cpp // PowerSaver.cpp
// //
// Power saving functions. // Power saving functions.

View file

@ -1,10 +1,11 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// PowerSaver.h // PowerSaver.h
// //
// Power saving functions. // Power saving functions.
// //
#pragma once
#ifndef ES_CORE_POWER_SAVER_H #ifndef ES_CORE_POWER_SAVER_H
#define ES_CORE_POWER_SAVER_H #define ES_CORE_POWER_SAVER_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// Scripting.cpp // Scripting.cpp
// //
// Executes custom scripts for various events in EmulationStation. // Executes custom scripts for various events in EmulationStation.

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// Scripting.h // Scripting.h
// //
// Executes custom scripts for various events in EmulationStation. // Executes custom scripts for various events in EmulationStation.
@ -10,7 +12,6 @@
// $HOME/.emulationstation/scripts/game-start/ will be executed. // $HOME/.emulationstation/scripts/game-start/ will be executed.
// //
#pragma once
#ifndef ES_CORE_SCRIPTING_H #ifndef ES_CORE_SCRIPTING_H
#define ES_CORE_SCRIPTING_H #define ES_CORE_SCRIPTING_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// Settings.cpp // Settings.cpp
// //
// Functions to read from and write to the configuration file es_settings.cfg. // Functions to read from and write to the configuration file es_settings.cfg.
@ -10,11 +12,11 @@
#include "utils/FileSystemUtil.h" #include "utils/FileSystemUtil.h"
#include "utils/StringUtil.h" #include "utils/StringUtil.h"
#include "Log.h" #include "Log.h"
#include "Scripting.h"
#include "Platform.h" #include "Platform.h"
#include "Scripting.h"
#include <pugixml.hpp>
#include <algorithm> #include <algorithm>
#include <pugixml.hpp>
#include <vector> #include <vector>
Settings* Settings::sInstance = nullptr; Settings* Settings::sInstance = nullptr;

View file

@ -1,11 +1,12 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// Settings.h // Settings.h
// //
// Functions to read from and write to the configuration file es_settings.cfg. // Functions to read from and write to the configuration file es_settings.cfg.
// The default values for the application settings are defined here as well. // The default values for the application settings are defined here as well.
// //
#pragma once
#ifndef ES_CORE_SETTINGS_H #ifndef ES_CORE_SETTINGS_H
#define ES_CORE_SETTINGS_H #define ES_CORE_SETTINGS_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// Sound.cpp // Sound.cpp
// //
// Higher-level audio functions. // Higher-level audio functions.

View file

@ -1,11 +1,12 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// Sound.h // Sound.h
// //
// Higher-level audio functions. // Higher-level audio functions.
// Reading theme sound setings, playing audio samples etc. // Reading theme sound setings, playing audio samples etc.
// //
#pragma once
#ifndef ES_CORE_SOUND_H #ifndef ES_CORE_SOUND_H
#define ES_CORE_SOUND_H #define ES_CORE_SOUND_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// ThemeData.cpp // ThemeData.cpp
// //
// Finds available themes on the file system and loads these, // Finds available themes on the file system and loads these,
@ -15,8 +17,9 @@
#include "Log.h" #include "Log.h"
#include "Platform.h" #include "Platform.h"
#include "Settings.h" #include "Settings.h"
#include <pugixml.hpp>
#include <algorithm> #include <algorithm>
#include <pugixml.hpp>
std::vector<std::string> ThemeData::sSupportedViews { std::vector<std::string> ThemeData::sSupportedViews {
{ "all" }, { "system" }, { "basic" }, { "detailed" }, { "grid" }, { "video" } }; { "all" }, { "system" }, { "basic" }, { "detailed" }, { "grid" }, { "video" } };

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// ThemeData.h // ThemeData.h
// //
// Finds available themes on the file system and loads these, // Finds available themes on the file system and loads these,
@ -6,7 +8,6 @@
// (includes, features, variables, views, elements). // (includes, features, variables, views, elements).
// //
#pragma once
#ifndef ES_CORE_THEME_DATA_H #ifndef ES_CORE_THEME_DATA_H
#define ES_CORE_THEME_DATA_H #define ES_CORE_THEME_DATA_H

View file

@ -1,10 +1,11 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// Animation.h // Animation.h
// //
// Animation base class. // Animation base class.
// //
#pragma once
#ifndef ES_CORE_ANIMATIONS_ANIMATION_H #ifndef ES_CORE_ANIMATIONS_ANIMATION_H
#define ES_CORE_ANIMATIONS_ANIMATION_H #define ES_CORE_ANIMATIONS_ANIMATION_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// AnimationController.cpp // AnimationController.cpp
// //
// Basic animation controls. // Basic animation controls.

View file

@ -1,10 +1,11 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// AnimationController.h // AnimationController.h
// //
// Basic animation controls. // Basic animation controls.
// //
#pragma once
#ifndef ES_CORE_ANIMATIONS_ANIMATION_CONTROLLER_H #ifndef ES_CORE_ANIMATIONS_ANIMATION_CONTROLLER_H
#define ES_CORE_ANIMATIONS_ANIMATION_CONTROLLER_H #define ES_CORE_ANIMATIONS_ANIMATION_CONTROLLER_H

View file

@ -1,10 +1,11 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// LambdaAnimation.h // LambdaAnimation.h
// //
// Basic animation controls, to be used in lambda expressions. // Basic animation controls, to be used in lambda expressions.
// //
#pragma once
#ifndef ES_CORE_ANIMATIONS_LAMBDA_ANIMATION_H #ifndef ES_CORE_ANIMATIONS_LAMBDA_ANIMATION_H
#define ES_CORE_ANIMATIONS_LAMBDA_ANIMATION_H #define ES_CORE_ANIMATIONS_LAMBDA_ANIMATION_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// AnimatedImageComponent.cpp // AnimatedImageComponent.cpp
// //
// Creates animation from multiple images files. // Creates animation from multiple images files.

View file

@ -1,10 +1,11 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// AnimatedImageComponent.h // AnimatedImageComponent.h
// //
// Creates animation from multiple images files. // Creates animation from multiple images files.
// //
#pragma once
#ifndef ES_CORE_COMPONENTS_ANIMATED_IMAGE_COMPONENT_H #ifndef ES_CORE_COMPONENTS_ANIMATED_IMAGE_COMPONENT_H
#define ES_CORE_COMPONENTS_ANIMATED_IMAGE_COMPONENT_H #define ES_CORE_COMPONENTS_ANIMATED_IMAGE_COMPONENT_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// BusyComponent.cpp // BusyComponent.cpp
// //
// Animated busy indicator. // Animated busy indicator.

View file

@ -1,10 +1,11 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// BusyComponent.h // BusyComponent.h
// //
// Animated busy indicator. // Animated busy indicator.
// //
#pragma once
#ifndef ES_CORE_COMPONENTS_BUSY_COMPONENT_H #ifndef ES_CORE_COMPONENTS_BUSY_COMPONENT_H
#define ES_CORE_COMPONENTS_BUSY_COMPONENT_H #define ES_CORE_COMPONENTS_BUSY_COMPONENT_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// ButtonComponent.cpp // ButtonComponent.cpp
// //
// Basic on/off button. // Basic on/off button.

View file

@ -1,10 +1,11 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// ButtonComponent.h // ButtonComponent.h
// //
// Basic on/off button. // Basic on/off button.
// //
#pragma once
#ifndef ES_CORE_COMPONENTS_BUTTON_COMPONENT_H #ifndef ES_CORE_COMPONENTS_BUTTON_COMPONENT_H
#define ES_CORE_COMPONENTS_BUTTON_COMPONENT_H #define ES_CORE_COMPONENTS_BUTTON_COMPONENT_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// ComponentGrid.cpp // ComponentGrid.cpp
// //
// Provides basic layout of components in an X*Y grid. // Provides basic layout of components in an X*Y grid.

View file

@ -1,10 +1,11 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// ComponentGrid.h // ComponentGrid.h
// //
// Provides basic layout of components in an X*Y grid. // Provides basic layout of components in an X*Y grid.
// //
#pragma once
#ifndef ES_CORE_COMPONENTS_COMPONENT_GRID_H #ifndef ES_CORE_COMPONENTS_COMPONENT_GRID_H
#define ES_CORE_COMPONENTS_COMPONENT_GRID_H #define ES_CORE_COMPONENTS_COMPONENT_GRID_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// ComponentList.cpp // ComponentList.cpp
// //
// Used to lay out and navigate lists in GUI menus. // Used to lay out and navigate lists in GUI menus.

View file

@ -1,10 +1,11 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// ComponentList.h // ComponentList.h
// //
// Used to lay out and navigate lists in GUI menus. // Used to lay out and navigate lists in GUI menus.
// //
#pragma once
#ifndef ES_CORE_COMPONENTS_COMPONENT_LIST_H #ifndef ES_CORE_COMPONENTS_COMPONENT_LIST_H
#define ES_CORE_COMPONENTS_COMPONENT_LIST_H #define ES_CORE_COMPONENTS_COMPONENT_LIST_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// DateTimeComponent.cpp // DateTimeComponent.cpp
// //
// Provides the date and time, in absolute (actual date) or relative // Provides the date and time, in absolute (actual date) or relative

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// DateTimeComponent.h // DateTimeComponent.h
// //
// Provides the date and time, in absolute (actual date) or relative // Provides the date and time, in absolute (actual date) or relative
@ -6,7 +8,6 @@
// Used by the gamelist views. // Used by the gamelist views.
// //
#pragma once
#ifndef ES_CORE_COMPONENTS_DATE_TIME_COMPONENT_H #ifndef ES_CORE_COMPONENTS_DATE_TIME_COMPONENT_H
#define ES_CORE_COMPONENTS_DATE_TIME_COMPONENT_H #define ES_CORE_COMPONENTS_DATE_TIME_COMPONENT_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// DateTimeEditComponent.cpp // DateTimeEditComponent.cpp
// //
// Date and time edit component. // Date and time edit component.

View file

@ -1,10 +1,11 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// DateTimeEditComponent.h // DateTimeEditComponent.h
// //
// Date and time edit component. // Date and time edit component.
// //
#pragma once
#ifndef ES_CORE_COMPONENTS_DATE_TIME_EDIT_COMPONENT_H #ifndef ES_CORE_COMPONENTS_DATE_TIME_EDIT_COMPONENT_H
#define ES_CORE_COMPONENTS_DATE_TIME_EDIT_COMPONENT_H #define ES_CORE_COMPONENTS_DATE_TIME_EDIT_COMPONENT_H

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GridTileComponent.cpp // GridTileComponent.cpp
// //
// X*Y grid. // X*Y grid.

View file

@ -1,15 +1,16 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// GridTileComponent.h // GridTileComponent.h
// //
// X*Y grid. // X*Y grid.
// //
#pragma once
#ifndef ES_CORE_COMPONENTS_GRID_TILE_COMPONENT_H #ifndef ES_CORE_COMPONENTS_GRID_TILE_COMPONENT_H
#define ES_CORE_COMPONENTS_GRID_TILE_COMPONENT_H #define ES_CORE_COMPONENTS_GRID_TILE_COMPONENT_H
#include "NinePatchComponent.h"
#include "ImageComponent.h" #include "ImageComponent.h"
#include "NinePatchComponent.h"
struct GridTileProperties { struct GridTileProperties {
Vector2f mSize; Vector2f mSize;

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
// //
// EmulationStation Desktop Edition
// HelpComponent.cpp // HelpComponent.cpp
// //
// Help information in icon and text pairs. // Help information in icon and text pairs.

Some files were not shown because too many files have changed in this diff Show more