mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
update readme
This commit is contained in:
parent
4fea2ce729
commit
a689a09927
1 changed files with 5 additions and 3 deletions
|
|
@ -38,13 +38,15 @@ This guide in process
|
||||||
|
|
||||||
##### Codebase
|
##### Codebase
|
||||||
|
|
||||||
* The codebase of module must be as minimal as possible: separate different tasks to submodules
|
* The codebase of module must be as minimal as possible: separate different tasks to sub-modules
|
||||||
* Every module must:
|
* Every module must:
|
||||||
|
* access 1 level of child API, never parents (e.g.`super`)
|
||||||
* implement only one `struct` (same as one file for one class)
|
* implement only one `struct` (same as one file for one class)
|
||||||
* provide at least:
|
* `struct` is public, where members - private
|
||||||
|
* contain `struct` implementation:
|
||||||
* one constructor that must:
|
* one constructor that must:
|
||||||
* return raw `struct` without cover to any kind of smart `std` or `glib` pointers
|
* return raw `struct` without cover to any kind of smart `std` or `glib` pointers
|
||||||
* access 1 level of child API, never parents (e.g.`super`)
|
* one link getter for widget implementation (`widget -> &Gtk`) because it's private
|
||||||
|
|
||||||
### Contribution
|
### Contribution
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue