docs(tree): point the documentation at the new folders

Every path the documentation named had moved, and the source tree diagram
still showed the two flat folders. The diagram now shows a folder per
domain, and each file is cited where it now lives.

The paths that did not move are left alone on purpose: plugins/ next to the
executable and under ~/.local/share/PacManager/ are where PacManager looks
for plugins at run time, not folders in this repository. The plugin build
command in plugins.md is the one exception, and it is updated to the SDK's
new in-tree location — checked, it still compiles.
This commit is contained in:
BlackAngelTV committed 2026-09-29 21:28:31 +02:00
1 parent 3e85db87b2
commit 63ad81ef23
11 files changed
+79 -60

No files matched your search

+5 -5
View File
@@ -56,7 +56,7 @@ fws_plugin_install_hint() optionnel : paquet OS qui fournit l'outil
```
Deux macros écrivent tout cela pour vous
(`include/provider-plugin.h`) :
(`include/sdk/provider-plugin.h`) :
```cpp
#include "provider-plugin.h"
@@ -80,7 +80,7 @@ l'outil »** : le plugin dit par exemple `"flatpak"`, et l'application lance
## Écrire un fournisseur
Un fournisseur implémente `IPackageManager` (`include/package-manager.h`).
Un fournisseur implémente `IPackageManager` (`include/sdk/package-manager.h`).
Copiez `plugins/example-provider/example-provider.cpp` comme point de départ.
| Méthode | Obligatoire | Rôle |
@@ -160,7 +160,7 @@ affiché une fois, avec les deux origines.
## Écrire une extension (addon)
Une extension implémente `IPlugin` (`include/plugin.h`) :
Une extension implémente `IPlugin` (`include/sdk/plugin.h`) :
| Membre | Quand | À quoi ça sert |
| --- | --- | --- |
@@ -184,8 +184,8 @@ cmake --build build
Pour un plugin hors du dépôt :
```bash
g++ -std=c++17 -fPIC -shared -I<PacManager>/include \
-I<PacManager>/plugins/flatpak-provider \
g++ -std=c++17 -fPIC -shared -I<PacManager>/include/sdk \
-I<PacManager>/providers/flatpak-provider \
my-provider.cpp -o libmy-provider.so
# La façon de le distribuer : un paquet que l'utilisateur dépose sur la fenêtre.