Adding VoiceCall interface support to ofono-qt Bindings Signed-off-by: Arun Ravindran...
[profile/ivi/ofono-qt.git] / HACKING
1 The Qt coding style is defined at
2 http://qt.gitorious.org/qt/pages/QtCodingStyle
3 so let's follow that.
4
5 Overall, the basic rule is simple: follow the coding style, and the design and
6 functionality patterns that are already there. There are patterns for 
7 getting and setting oFono properties, calling methods and getting the 
8 method call result, setting the errors, and receiving out-of-band signals. 
9 Hopefully that should be enough for any remaining APIs which are currently 
10 missing.
11
12 For any new API that is added, there should also be a test case. Again, try to
13 imitate existing test cases. It is not necessary to thoroughly test the 
14 functionality; it is enough to go through all properties, methods and signals 
15 and check that they work, return sane values and match the actual oFono API. 
16 The tests should be written against Phonesim phone simulator and they should 
17 be able to run without manual intervention.