Now everything gets compiled and linked (many thanks to linuxstb). Viewer works. But the appender doesn't get loaded. On the sim, I get error message "Incompatible version". And have no idea about the reason. Linking problem?

Now everything works as in the original, i.e. selecting a file entry places the cursor at the file in the file browser. Selecting a dir entry enters that dir and places the cursor at the first file inside it.

Since I was one of the initiators for the creation of the plugin and am one of its very few users (if not the only one :-) could you please commit it asap.

@petur: after the splitting, each part has its own little but well defined task. Before splitting, if you selected a .link file and wanted to add it to the shortcuts, it was shown instead -> not the principle of the least surprise IMHO. Another thing was that the association of the plugin with .link files was hard coded in the plugin. IMHO it should be done in viewers.config only.

some remarks:
1) the opening braces of a function should be on a new line (this is not yet in CONTRIBUTING but it will be soon)
2) I do not understand how the shortcuts to shortcuts works. With your patch you can add it but afterwards it doesn't look like you can do much with it (I thought it would open the shortcut file)

to 2) Shortcuts are just a way to quickly go to a certaint dir/file. It doesn't dictate what you should do with it then, just takes you there in the file browser. Just a shortcut. It doesn't "play" the file. So you could put a reference to a link file into another link file and quickly jump from dir to dir :-)

1. Corrected braces
2. Removed malloc, work with an array instead
3. After deleting an entry, stay in the list
4. If an item with no more existing path/file is selected, display a splash but stay in the list
5. Properly handle connecting to USB