Commit cf269641 authored by Aloshi's avatar Aloshi

Renamed XMLReader.h/.cpp to Gamelist.h/.cpp.

Since it does more than, yknow, read XML.
parent eac8a077
......@@ -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
......
#include "XMLReader.h"
#include "Gamelist.h"
#include "SystemData.h"
#include "pugiXML/pugixml.hpp"
#include <boost/filesystem.hpp>
......
#ifndef _XMLREADER_H_
#define _XMLREADER_H_
#pragma once
#include <string>
class SystemData;
//Loads gamelist.xml data into a SystemData.
// Loads gamelist.xml data into a SystemData.
void parseGamelist(SystemData* system);
//Writes changes to SystemData back to a previously loaded gamelist.xml.
// Writes currently loaded metadata for a SystemData to gamelist.xml.
void updateGamelist(SystemData* system);
#endif
#include "SystemData.h"
#include "XMLReader.h"
#include "Gamelist.h"
#include <boost/filesystem.hpp>
#include <fstream>
#include <stdlib.h>
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment