Cppcheck
Functions
addoninfo.cpp File Reference
#include "addoninfo.h"
#include "path.h"
#include "utils.h"
#include <fstream>
#include <string>
#include <vector>
#include "json.h"

Go to the source code of this file.

Functions

static std::string getFullPath (const std::string &fileName, const std::string &exename)
 
static std::string parseAddonInfo (AddonInfo &addoninfo, const picojson::value &json, const std::string &fileName, const std::string &exename)
 

Function Documentation

◆ getFullPath()

static std::string getFullPath ( const std::string &  fileName,
const std::string &  exename 
)
static

Definition at line 30 of file addoninfo.cpp.

References Path::getPathFromFilename(), and Path::isFile().

Referenced by AddonInfo::getAddonInfo(), and parseAddonInfo().

◆ parseAddonInfo()

static std::string parseAddonInfo ( AddonInfo addoninfo,
const picojson::value &  json,
const std::string &  fileName,
const std::string &  exename 
)
static