2009-07-29 19:18:04 +02:00
|
|
|
/****************************************************************************
|
|
|
|
* language update
|
|
|
|
* for USB Loader GX *giantpune*
|
|
|
|
***************************************************************************/
|
|
|
|
#ifndef ___UPDATELANGUAGE_H_
|
|
|
|
#define ___UPDATELANGUAGE_H_
|
|
|
|
|
|
|
|
#define MAXLANGUAGEFILES 30
|
|
|
|
|
|
|
|
//! 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
|
|
|
|
|
2009-07-30 07:41:12 +02:00
|
|
|
//! returns the number of files successfully updated
|
2009-07-29 19:18:04 +02:00
|
|
|
//! returns -2 if it can't find any .lang files in the path
|
|
|
|
//! return -1 if there is no network connection
|
|
|
|
int updateLanguageFiles();
|
|
|
|
|
|
|
|
#endif
|