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

+3 -3
View File
@@ -90,19 +90,19 @@ replaying a request**, so it can never run pacman as root.
The split is structural and not negotiable:
- **All logic lives in `AppCore`** (`include/app-core.h`, `src/app-core.cpp`):
- **All logic lives in `AppCore`** (`core/app-core.h`, `core/app-core.cpp`):
providers, worker threads, history, sudo, the pacman lock, self-update. This
layer depends on Qt Core only and **holds no widget** — which is what lets
`app-core-test` run it without a screen.
- **The interface lives in `pages/`**, one file per screen. `MainWindow`
(`src/main-window.cpp`) is only a frame: sidebar, status bar, dialogs. No
(`app/main-window.cpp`) is only a frame: sidebar, status bar, dialogs. No
business rule.
- **The conversation always goes the same way**: the view calls a core method,
which answers "started", "I need the sudo password" or "the database is
locked"; the view then asks the user for what is needed and replays the
request. Results come back through signals.
Adding a screen = a `Page` class (see `pages/page.h`) and an entry in the
Adding a screen = a `Page` class (see `pages/base/page.h`) and an entry in the
sidebar. Adding a package manager = a plugin implementing `IPackageManager` in
`plugins/` — **without touching the application** (see
[doc/plugins.md](doc/plugins.md)).