forked from len0rd/rockbox
text_viewer: callback functions are changed to the function that returns int value.
And the text viewer quits when the problem occurs by callback functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27172 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7195f3a30c
commit
07d03729ff
13 changed files with 56 additions and 25 deletions
|
@ -73,6 +73,8 @@ enum plugin_status plugin_start(const void* file)
|
|||
done = true;
|
||||
if (res == TV_MENU_RESULT_ATTACHED_USB)
|
||||
return PLUGIN_USB_CONNECTED;
|
||||
else if (res == TV_MENU_RESULT_ERROR)
|
||||
return PLUGIN_ERROR;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue