You've already forked emulationstation-next
mirror of
https://github.com/archr-linux/emulationstation-next.git
synced 2026-07-13 03:19:12 -07:00
Renamed XMLReader.h/.cpp to Gamelist.h/.cpp.
Since it does more than, yknow, read XML.
This commit is contained in:
+2
-2
@@ -160,7 +160,7 @@ set(ES_HEADERS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/Util.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/VolumeControl.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/Window.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/XMLReader.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/Gamelist.h
|
||||
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/AnimatedImageComponent.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/AsyncReqComponent.h
|
||||
@@ -255,7 +255,7 @@ set(ES_SOURCES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/Util.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/VolumeControl.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/Window.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/XMLReader.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/Gamelist.cpp
|
||||
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/AnimatedImageComponent.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/components/AsyncReqComponent.cpp
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "XMLReader.h"
|
||||
#include "Gamelist.h"
|
||||
#include "SystemData.h"
|
||||
#include "pugiXML/pugixml.hpp"
|
||||
#include <boost/filesystem.hpp>
|
||||
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
class SystemData;
|
||||
|
||||
// Loads gamelist.xml data into a SystemData.
|
||||
void parseGamelist(SystemData* system);
|
||||
|
||||
// Writes currently loaded metadata for a SystemData to gamelist.xml.
|
||||
void updateGamelist(SystemData* system);
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#include "SystemData.h"
|
||||
#include "XMLReader.h"
|
||||
#include "Gamelist.h"
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <fstream>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
#ifndef _XMLREADER_H_
|
||||
#define _XMLREADER_H_
|
||||
|
||||
#include <string>
|
||||
class SystemData;
|
||||
|
||||
//Loads gamelist.xml data into a SystemData.
|
||||
void parseGamelist(SystemData* system);
|
||||
|
||||
//Writes changes to SystemData back to a previously loaded gamelist.xml.
|
||||
void updateGamelist(SystemData* system);
|
||||
|
||||
#endif
|
||||
@@ -2,7 +2,7 @@
|
||||
#include "../Renderer.h"
|
||||
#include "../Log.h"
|
||||
#include "../views/ViewController.h"
|
||||
#include "../XMLReader.h"
|
||||
#include "../Gamelist.h"
|
||||
|
||||
#include "../components/TextComponent.h"
|
||||
#include "../components/ButtonComponent.h"
|
||||
|
||||
Reference in New Issue
Block a user