Patch level : 10.0
Files correlati : Ricompilazione Demo : [ ] Commento : Aggiunta funzione cantaccess_box per segnalare mancanza di permessi di accesso git-svn-id: svn://10.65.10.50/branches/R_10_00@22435 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
a3f110a82f
commit
eb73ee0390
@ -183,6 +183,12 @@ bool cantwrite_box(const char* filename)
|
||||
return error_box(FR("Impossibile scrivere '%s'"), filename);
|
||||
}
|
||||
|
||||
bool cantaccess_box(const char* filename)
|
||||
{
|
||||
if (filename == NULL || *filename < ' ')
|
||||
filename = TR("questa funzione");
|
||||
return error_box(FR("L'utente %s non può accedere a %s"), (const char*)user(), filename);
|
||||
}
|
||||
|
||||
// @doc EXTERNAL
|
||||
// @msg __trace | Permette di mandare dei messaggi nel file trace.log
|
||||
|
@ -21,6 +21,7 @@ extern "C" {
|
||||
bool yesnofatal_box(const char* fmt, ...);
|
||||
bool cantread_box(const char* filename);
|
||||
bool cantwrite_box(const char* filename);
|
||||
bool cantaccess_box(const char* filename);
|
||||
bool __trace(const char* fmt, ...);
|
||||
bool __tracemem(const char* fmt);
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
x
Reference in New Issue
Block a user