mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-13 06:01:21 +00:00
update readme
This commit is contained in:
parent
4fea2ce729
commit
a689a09927
@ -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…
x
Reference in New Issue
Block a user