Mana
Loading...
Searching...
No Matches
Functions | Variables
updaterwindow.cpp File Reference
#include "gui/updaterwindow.h"
#include "client.h"
#include "configuration.h"
#include "log.h"
#include "gui/sdlinput.h"
#include "gui/widgets/browserbox.h"
#include "gui/widgets/button.h"
#include "gui/widgets/label.h"
#include "gui/widgets/layout.h"
#include "gui/widgets/progressbar.h"
#include "gui/widgets/scrollarea.h"
#include "gui/widgets/itemlinkhandler.h"
#include "net/download.h"
#include "resources/resourcemanager.h"
#include "utils/gettext.h"
#include "utils/stringutils.h"
#include "utils/xml.h"
#include <iostream>
#include <fstream>

Go to the source code of this file.

Functions

std::vector< UpdateFileloadXMLFile (const std::string &fileName)
 Load the given file into a vector of updateFiles.
 
std::vector< UpdateFileloadTxtFile (const std::string &fileName)
 

Variables

constexpr char xmlUpdateFile [] = "resources.xml"
 
constexpr char txtUpdateFile [] = "resources2.txt"
 

Function Documentation

◆ loadTxtFile()

std::vector< UpdateFile > loadTxtFile ( const std::string &  fileName)

Definition at line 86 of file updaterwindow.cpp.

◆ loadXMLFile()

std::vector< UpdateFile > loadXMLFile ( const std::string &  fileName)

Load the given file into a vector of updateFiles.

Definition at line 55 of file updaterwindow.cpp.

Variable Documentation

◆ txtUpdateFile

constexpr char txtUpdateFile[] = "resources2.txt"
constexpr

Definition at line 50 of file updaterwindow.cpp.

◆ xmlUpdateFile

constexpr char xmlUpdateFile[] = "resources.xml"
constexpr

Definition at line 49 of file updaterwindow.cpp.