Each component has its own text file. I merge everything together with simple dependency resolution so I can figure out implementation order easier. Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
22 lines
399 B
Plaintext
22 lines
399 B
Plaintext
== Files ==
|
|
ocarina/include/
|
|
prefs.h
|
|
ocarina/lib/
|
|
prefs.cpp
|
|
|
|
== Depends ==
|
|
idle file
|
|
|
|
Preferences: (lib/prefs.cpp)
|
|
Preferences make use of a special index where the set<int> is always
|
|
size 1. Preferences will be in the prefs namespace.
|
|
|
|
- Index:
|
|
Index prefs(prefs.idx);
|
|
|
|
- API:
|
|
prefs :: set(string, val);
|
|
prefs.replace(string, val);
|
|
prefs :: get(string)
|
|
return prefs[string].begin()
|