2009-09-30 23:10:58 +00:00
|
|
|
/****************************************************************************
|
|
|
|
* language update
|
|
|
|
* for USB Loader GX *giantpune*
|
|
|
|
***************************************************************************/
|
|
|
|
#ifndef ___UPDATELANGUAGE_H_
|
|
|
|
#define ___UPDATELANGUAGE_H_
|
|
|
|
|
2011-07-25 22:28:22 +00:00
|
|
|
#define MAXLANGUAGEFILES 50
|
2009-09-30 23:10:58 +00:00
|
|
|
|
|
|
|
//! Checks the language path for files ending in .lang and updates them (up to MAXLANGUAGEFILES)
|
|
|
|
//! This function expects that the network is already init before it is called
|
|
|
|
|
|
|
|
//! returns the number of files successfully updated
|
|
|
|
//! returns -2 if it can't find any .lang files in the path
|
|
|
|
//! return -1 if there is no network connection
|
2010-12-18 13:20:45 +00:00
|
|
|
int UpdateLanguageFiles();
|
2023-01-01 17:00:29 +00:00
|
|
|
int DownloadAllLanguageFiles();
|
2009-09-30 23:10:58 +00:00
|
|
|
|
|
|
|
#endif
|