Skip to content
Browse files

Initial commit of the Cascades-Samples

  • Loading branch information...
1 parent 3fec7c7 commit e217191440fcba9e6235c1247e8d9091d896eb02 @jlarsby jlarsby committed Apr 20, 2012
Showing with 10,097 additions and 0 deletions.
  1. +198 −0 cascadescookbookcpp/.cproject
  2. +85 −0 cascadescookbookcpp/.project
  3. +177 −0 cascadescookbookcpp/LICENSE
  4. +34 −0 cascadescookbookcpp/Makefile
  5. +5 −0 cascadescookbookcpp/Notice
  6. +1 −0 cascadescookbookcpp/arm/README.txt
  7. BIN cascadescookbookcpp/assets/images/animation/egg_isolated.png
  8. BIN cascadescookbookcpp/assets/images/animation/egg_isolated_shadow.png
  9. BIN cascadescookbookcpp/assets/images/button/button_icon_orange_dust.png
  10. BIN cascadescookbookcpp/assets/images/button/button_icon_orange_green.png
  11. BIN cascadescookbookcpp/assets/images/button/button_icon_orange_mouldy.png
  12. BIN cascadescookbookcpp/assets/images/button/button_icon_orange_ripe.png
  13. BIN cascadescookbookcpp/assets/images/dark_background.png
  14. BIN cascadescookbookcpp/assets/images/docklayout/bean_centered.png
  15. BIN cascadescookbookcpp/assets/images/docklayout/bean_horizontal.png
  16. BIN cascadescookbookcpp/assets/images/docklayout/bean_vertical.png
  17. BIN cascadescookbookcpp/assets/images/docklayout/black_page.png
  18. BIN cascadescookbookcpp/assets/images/dropdown/beer1.png
  19. BIN cascadescookbookcpp/assets/images/dropdown/beer2.png
  20. BIN cascadescookbookcpp/assets/images/dropdown/beer3.png
  21. BIN cascadescookbookcpp/assets/images/dropdown/beer4.png
  22. BIN cascadescookbookcpp/assets/images/free_yellow_pepper.png
  23. BIN cascadescookbookcpp/assets/images/items/banana.png
  24. BIN cascadescookbookcpp/assets/images/items/bananapeeled.png
  25. BIN cascadescookbookcpp/assets/images/items/beer.png
  26. BIN cascadescookbookcpp/assets/images/items/broccoli.png
  27. BIN cascadescookbookcpp/assets/images/items/button.png
  28. BIN cascadescookbookcpp/assets/images/items/docklayout.png
  29. BIN cascadescookbookcpp/assets/images/items/egg.png
  30. BIN cascadescookbookcpp/assets/images/items/lasagna.png
  31. BIN cascadescookbookcpp/assets/images/items/leek.png
  32. BIN cascadescookbookcpp/assets/images/items/olives.png
  33. BIN cascadescookbookcpp/assets/images/items/orange.png
  34. BIN cascadescookbookcpp/assets/images/items/orange_sliced.png
  35. BIN cascadescookbookcpp/assets/images/items/peach.png
  36. BIN cascadescookbookcpp/assets/images/items/pear.png
  37. BIN cascadescookbookcpp/assets/images/items/pear_peach.png
  38. BIN cascadescookbookcpp/assets/images/items/peas_in_pod.png
  39. BIN cascadescookbookcpp/assets/images/items/strawberries.png
  40. BIN cascadescookbookcpp/assets/images/items/sugarcandy.png
  41. BIN cascadescookbookcpp/assets/images/items/yellow_pepper.png
  42. +1 −0 cascadescookbookcpp/assets/images/nineslice/border_image_Pasta.amd
  43. BIN cascadescookbookcpp/assets/images/nineslice/border_image_Pasta.png
  44. BIN cascadescookbookcpp/assets/images/peach_big.png
  45. BIN cascadescookbookcpp/assets/images/picker/banana_ancient.png
  46. BIN cascadescookbookcpp/assets/images/picker/banana_new.png
  47. BIN cascadescookbookcpp/assets/images/picker/banana_old.png
  48. BIN cascadescookbookcpp/assets/images/picker/banana_past.png
  49. BIN cascadescookbookcpp/assets/images/red_cloth_edge_bottom.png
  50. BIN cascadescookbookcpp/assets/images/red_cloth_edge_top.png
  51. BIN cascadescookbookcpp/assets/images/stockcurve/broken_egg.png
  52. BIN cascadescookbookcpp/assets/images/stockcurve/egg.png
  53. BIN cascadescookbookcpp/assets/images/stockcurve/icon_BackIn.png
  54. BIN cascadescookbookcpp/assets/images/stockcurve/icon_BackInOut.png
  55. BIN cascadescookbookcpp/assets/images/stockcurve/icon_BackOut.png
  56. BIN cascadescookbookcpp/assets/images/stockcurve/icon_BounceIn.png
  57. BIN cascadescookbookcpp/assets/images/stockcurve/icon_BounceInOut.png
  58. BIN cascadescookbookcpp/assets/images/stockcurve/icon_BounceOut.png
  59. BIN cascadescookbookcpp/assets/images/stockcurve/icon_CircularIn.png
  60. BIN cascadescookbookcpp/assets/images/stockcurve/icon_CircularInOut.png
  61. BIN cascadescookbookcpp/assets/images/stockcurve/icon_CircularOut.png
  62. BIN cascadescookbookcpp/assets/images/stockcurve/icon_CubicIn.png
  63. BIN cascadescookbookcpp/assets/images/stockcurve/icon_CubicInOut.png
  64. BIN cascadescookbookcpp/assets/images/stockcurve/icon_CubicOut.png
  65. BIN cascadescookbookcpp/assets/images/stockcurve/icon_DoubleBounceIn.png
  66. BIN cascadescookbookcpp/assets/images/stockcurve/icon_DoubleBounceInOut.png
  67. BIN cascadescookbookcpp/assets/images/stockcurve/icon_DoubleBounceOut.png
  68. BIN cascadescookbookcpp/assets/images/stockcurve/icon_DoubleElasticIn.png
  69. BIN cascadescookbookcpp/assets/images/stockcurve/icon_DoubleElasticInOut.png
  70. BIN cascadescookbookcpp/assets/images/stockcurve/icon_DoubleElasticOut.png
  71. BIN cascadescookbookcpp/assets/images/stockcurve/icon_ElasticIn.png
  72. BIN cascadescookbookcpp/assets/images/stockcurve/icon_ElasticInOut.png
  73. BIN cascadescookbookcpp/assets/images/stockcurve/icon_ElasticOut.png
  74. BIN cascadescookbookcpp/assets/images/stockcurve/icon_ExponentialIn.png
  75. BIN cascadescookbookcpp/assets/images/stockcurve/icon_ExponentialInOut.png
  76. BIN cascadescookbookcpp/assets/images/stockcurve/icon_ExponentialOut.png
  77. BIN cascadescookbookcpp/assets/images/stockcurve/icon_ImplicitOut.png
  78. BIN cascadescookbookcpp/assets/images/stockcurve/icon_Linear.png
  79. BIN cascadescookbookcpp/assets/images/stockcurve/icon_QuadraticIn.png
  80. BIN cascadescookbookcpp/assets/images/stockcurve/icon_QuadraticInOut.png
  81. BIN cascadescookbookcpp/assets/images/stockcurve/icon_QuadraticOut.png
  82. BIN cascadescookbookcpp/assets/images/stockcurve/icon_QuarticIn.png
  83. BIN cascadescookbookcpp/assets/images/stockcurve/icon_QuarticInOut.png
  84. BIN cascadescookbookcpp/assets/images/stockcurve/icon_QuarticOut.png
  85. BIN cascadescookbookcpp/assets/images/stockcurve/icon_QuinticIn.png
  86. BIN cascadescookbookcpp/assets/images/stockcurve/icon_QuinticInOut.png
  87. BIN cascadescookbookcpp/assets/images/stockcurve/icon_QuinticOut.png
  88. BIN cascadescookbookcpp/assets/images/stockcurve/icon_SineIn.png
  89. BIN cascadescookbookcpp/assets/images/stockcurve/icon_SineInOut.png
  90. BIN cascadescookbookcpp/assets/images/stockcurve/icon_SineOut.png
  91. BIN cascadescookbookcpp/assets/images/title_gui_buffet_empty_box.png
  92. BIN cascadescookbookcpp/assets/images/white_photo.png
  93. +1 −0 cascadescookbookcpp/assets/images/white_photo.png.amd
  94. +76 −0 cascadescookbookcpp/bar-descriptor.xml
  95. +35 −0 cascadescookbookcpp/cascadescookbookcpp.pro
  96. BIN cascadescookbookcpp/icon.png
  97. +55 −0 cascadescookbookcpp/readme.txt
  98. +112 −0 cascadescookbookcpp/recipes/activityindicatorrecipe.cpp
  99. +59 −0 cascadescookbookcpp/recipes/activityindicatorrecipe.h
  100. +332 −0 cascadescookbookcpp/recipes/animationrecipe.cpp
  101. +109 −0 cascadescookbookcpp/recipes/animationrecipe.h
  102. +118 −0 cascadescookbookcpp/recipes/buttonrecipe.cpp
  103. +58 −0 cascadescookbookcpp/recipes/buttonrecipe.h
  104. +95 −0 cascadescookbookcpp/recipes/colorrecipe.cpp
  105. +58 −0 cascadescookbookcpp/recipes/colorrecipe.h
  106. +84 −0 cascadescookbookcpp/recipes/datetimepickerrecipe.cpp
  107. +56 −0 cascadescookbookcpp/recipes/datetimepickerrecipe.h
  108. +116 −0 cascadescookbookcpp/recipes/docklayoutrecipe.cpp
  109. +58 −0 cascadescookbookcpp/recipes/docklayoutrecipe.h
  110. +143 −0 cascadescookbookcpp/recipes/dropdownrecipe.cpp
  111. +80 −0 cascadescookbookcpp/recipes/dropdownrecipe.h
  112. +31 −0 cascadescookbookcpp/recipes/imagerecipe.cpp
  113. +37 −0 cascadescookbookcpp/recipes/imagerecipe.h
  114. +94 −0 cascadescookbookcpp/recipes/inputrecipe.cpp
  115. +54 −0 cascadescookbookcpp/recipes/inputrecipe.h
  116. +132 −0 cascadescookbookcpp/recipes/intro.cpp
  117. +58 −0 cascadescookbookcpp/recipes/intro.h
  118. +106 −0 cascadescookbookcpp/recipes/labelrecipe.cpp
  119. +58 −0 cascadescookbookcpp/recipes/labelrecipe.h
  120. +147 −0 cascadescookbookcpp/recipes/nineslicerecipe.cpp
  121. +65 −0 cascadescookbookcpp/recipes/nineslicerecipe.h
  122. +107 −0 cascadescookbookcpp/recipes/progressindicatorrecipe.cpp
  123. +62 −0 cascadescookbookcpp/recipes/progressindicatorrecipe.h
  124. +125 −0 cascadescookbookcpp/recipes/selection.cpp
  125. +55 −0 cascadescookbookcpp/recipes/selection.h
  126. +167 −0 cascadescookbookcpp/recipes/selectioncheckbox.cpp
  127. +89 −0 cascadescookbookcpp/recipes/selectioncheckbox.h
  128. +64 −0 cascadescookbookcpp/recipes/sliderrecipe.cpp
  129. +57 −0 cascadescookbookcpp/recipes/sliderrecipe.h
  130. +281 −0 cascadescookbookcpp/recipes/stockcurverecipe.cpp
  131. +160 −0 cascadescookbookcpp/recipes/stockcurverecipe.h
  132. BIN cascadescookbookcpp/splash.png
  133. +274 −0 cascadescookbookcpp/src/cascadescookbookapp.cpp
  134. +94 −0 cascadescookbookcpp/src/cascadescookbookapp.h
  135. +30 −0 cascadescookbookcpp/src/main.cpp
  136. +121 −0 cascadescookbookcpp/src/recipeitem.cpp
  137. +88 −0 cascadescookbookcpp/src/recipeitem.h
  138. +45 −0 cascadescookbookcpp/src/recipeitemfactory.cpp
  139. +66 −0 cascadescookbookcpp/src/recipeitemfactory.h
  140. +1 −0 cascadescookbookcpp/x86/README.txt
  141. +198 −0 cascadescookbookqml/.cproject
  142. +85 −0 cascadescookbookqml/.project
  143. +177 −0 cascadescookbookqml/LICENSE
  144. +34 −0 cascadescookbookqml/Makefile
  145. +5 −0 cascadescookbookqml/Notice
  146. +1 −0 cascadescookbookqml/arm/README.txt
  147. +96 −0 cascadescookbookqml/assets/ActivityIndicator.qml
  148. +245 −0 cascadescookbookqml/assets/Animation.qml
  149. +77 −0 cascadescookbookqml/assets/AnimationEgg.qml
  150. +100 −0 cascadescookbookqml/assets/Button.qml
  151. +118 −0 cascadescookbookqml/assets/Color.qml
  152. +57 −0 cascadescookbookqml/assets/ColorHelper.qml
  153. +28 −0 cascadescookbookqml/assets/Common/RecipeContainer.qml
  154. +102 −0 cascadescookbookqml/assets/Common/RecipeItem.qml
  155. +93 −0 cascadescookbookqml/assets/DateTimePicker.qml
  156. +126 −0 cascadescookbookqml/assets/DockLayout.qml
  157. +127 −0 cascadescookbookqml/assets/DropDown.qml
  158. +32 −0 cascadescookbookqml/assets/Image.qml
  159. +100 −0 cascadescookbookqml/assets/Input.qml
  160. +61 −0 cascadescookbookqml/assets/Intro.qml
  161. +61 −0 cascadescookbookqml/assets/IntroExampleUI.qml
  162. +59 −0 cascadescookbookqml/assets/Javascript.qml
  163. +130 −0 cascadescookbookqml/assets/Label.qml
  164. +123 −0 cascadescookbookqml/assets/Nineslice.qml
  165. +84 −0 cascadescookbookqml/assets/ProgressIndicator.qml
  166. +116 −0 cascadescookbookqml/assets/Selection.qml
  167. +114 −0 cascadescookbookqml/assets/SelectionCheckBox.qml
  168. +53 −0 cascadescookbookqml/assets/Slider.qml
  169. +113 −0 cascadescookbookqml/assets/StockCurveRadioGroup.qml
  170. +84 −0 cascadescookbookqml/assets/StockCurveRadioGroupSmall.qml
  171. +268 −0 cascadescookbookqml/assets/Stockcurve.qml
  172. BIN cascadescookbookqml/assets/images/animation/egg_isolated.png
  173. BIN cascadescookbookqml/assets/images/animation/egg_isolated_shadow.png
  174. BIN cascadescookbookqml/assets/images/button/button_icon_orange_dust.png
  175. BIN cascadescookbookqml/assets/images/button/button_icon_orange_green.png
  176. BIN cascadescookbookqml/assets/images/button/button_icon_orange_mouldy.png
  177. BIN cascadescookbookqml/assets/images/button/button_icon_orange_ripe.png
  178. BIN cascadescookbookqml/assets/images/dark_background.png
  179. BIN cascadescookbookqml/assets/images/docklayout/bean_centered.png
  180. BIN cascadescookbookqml/assets/images/docklayout/bean_horizontal.png
  181. BIN cascadescookbookqml/assets/images/docklayout/bean_vertical.png
  182. BIN cascadescookbookqml/assets/images/docklayout/black_page.png
  183. BIN cascadescookbookqml/assets/images/dropdown/beer1.png
  184. BIN cascadescookbookqml/assets/images/dropdown/beer2.png
  185. BIN cascadescookbookqml/assets/images/dropdown/beer3.png
  186. BIN cascadescookbookqml/assets/images/dropdown/beer4.png
  187. BIN cascadescookbookqml/assets/images/free_yellow_pepper.png
  188. BIN cascadescookbookqml/assets/images/items/banana.png
  189. BIN cascadescookbookqml/assets/images/items/bananapeeled.png
  190. BIN cascadescookbookqml/assets/images/items/beer.png
  191. BIN cascadescookbookqml/assets/images/items/blackbeans.png
  192. BIN cascadescookbookqml/assets/images/items/broccoli.png
  193. BIN cascadescookbookqml/assets/images/items/button.png
  194. BIN cascadescookbookqml/assets/images/items/docklayout.png
  195. BIN cascadescookbookqml/assets/images/items/egg.png
  196. BIN cascadescookbookqml/assets/images/items/lasagna.png
  197. BIN cascadescookbookqml/assets/images/items/leek.png
  198. BIN cascadescookbookqml/assets/images/items/olives.png
  199. BIN cascadescookbookqml/assets/images/items/orange.png
  200. BIN cascadescookbookqml/assets/images/items/orange_sliced.png
  201. BIN cascadescookbookqml/assets/images/items/peach.png
  202. BIN cascadescookbookqml/assets/images/items/pear.png
  203. BIN cascadescookbookqml/assets/images/items/pear_peach.png
  204. BIN cascadescookbookqml/assets/images/items/peas_in_pod.png
  205. BIN cascadescookbookqml/assets/images/items/strawberries.png
  206. BIN cascadescookbookqml/assets/images/items/sugarcandy.png
  207. BIN cascadescookbookqml/assets/images/items/yellow_pepper.png
  208. +1 −0 cascadescookbookqml/assets/images/nineslice/border_image_Pasta.amd
  209. BIN cascadescookbookqml/assets/images/nineslice/border_image_Pasta.png
  210. BIN cascadescookbookqml/assets/images/peach_big.png
  211. BIN cascadescookbookqml/assets/images/picker/banana_ancient.png
  212. BIN cascadescookbookqml/assets/images/picker/banana_new.png
  213. BIN cascadescookbookqml/assets/images/picker/banana_old.png
  214. BIN cascadescookbookqml/assets/images/picker/banana_past.png
  215. BIN cascadescookbookqml/assets/images/red_cloth_edge_bottom.png
  216. BIN cascadescookbookqml/assets/images/red_cloth_edge_top.png
  217. BIN cascadescookbookqml/assets/images/stockcurve/broken_egg.png
  218. BIN cascadescookbookqml/assets/images/stockcurve/egg.png
  219. BIN cascadescookbookqml/assets/images/stockcurve/icon_BackIn.png
  220. BIN cascadescookbookqml/assets/images/stockcurve/icon_BackInOut.png
  221. BIN cascadescookbookqml/assets/images/stockcurve/icon_BackOut.png
  222. BIN cascadescookbookqml/assets/images/stockcurve/icon_BounceIn.png
  223. BIN cascadescookbookqml/assets/images/stockcurve/icon_BounceInOut.png
  224. BIN cascadescookbookqml/assets/images/stockcurve/icon_BounceOut.png
  225. BIN cascadescookbookqml/assets/images/stockcurve/icon_CircularIn.png
  226. BIN cascadescookbookqml/assets/images/stockcurve/icon_CircularInOut.png
  227. BIN cascadescookbookqml/assets/images/stockcurve/icon_CircularOut.png
  228. BIN cascadescookbookqml/assets/images/stockcurve/icon_CubicIn.png
  229. BIN cascadescookbookqml/assets/images/stockcurve/icon_CubicInOut.png
  230. BIN cascadescookbookqml/assets/images/stockcurve/icon_CubicOut.png
  231. BIN cascadescookbookqml/assets/images/stockcurve/icon_DoubleBounceIn.png
  232. BIN cascadescookbookqml/assets/images/stockcurve/icon_DoubleBounceInOut.png
  233. BIN cascadescookbookqml/assets/images/stockcurve/icon_DoubleBounceOut.png
  234. BIN cascadescookbookqml/assets/images/stockcurve/icon_DoubleElasticIn.png
  235. BIN cascadescookbookqml/assets/images/stockcurve/icon_DoubleElasticInOut.png
  236. BIN cascadescookbookqml/assets/images/stockcurve/icon_DoubleElasticOut.png
  237. BIN cascadescookbookqml/assets/images/stockcurve/icon_ElasticIn.png
  238. BIN cascadescookbookqml/assets/images/stockcurve/icon_ElasticInOut.png
  239. BIN cascadescookbookqml/assets/images/stockcurve/icon_ElasticOut.png
  240. BIN cascadescookbookqml/assets/images/stockcurve/icon_ExponentialIn.png
  241. BIN cascadescookbookqml/assets/images/stockcurve/icon_ExponentialInOut.png
  242. BIN cascadescookbookqml/assets/images/stockcurve/icon_ExponentialOut.png
  243. BIN cascadescookbookqml/assets/images/stockcurve/icon_ImplicitOut.png
  244. BIN cascadescookbookqml/assets/images/stockcurve/icon_Linear.png
  245. BIN cascadescookbookqml/assets/images/stockcurve/icon_QuadraticIn.png
  246. BIN cascadescookbookqml/assets/images/stockcurve/icon_QuadraticInOut.png
  247. BIN cascadescookbookqml/assets/images/stockcurve/icon_QuadraticOut.png
  248. BIN cascadescookbookqml/assets/images/stockcurve/icon_QuarticIn.png
  249. BIN cascadescookbookqml/assets/images/stockcurve/icon_QuarticInOut.png
  250. BIN cascadescookbookqml/assets/images/stockcurve/icon_QuarticOut.png
  251. BIN cascadescookbookqml/assets/images/stockcurve/icon_QuinticIn.png
  252. BIN cascadescookbookqml/assets/images/stockcurve/icon_QuinticInOut.png
  253. BIN cascadescookbookqml/assets/images/stockcurve/icon_QuinticOut.png
  254. BIN cascadescookbookqml/assets/images/stockcurve/icon_SineIn.png
  255. BIN cascadescookbookqml/assets/images/stockcurve/icon_SineInOut.png
  256. BIN cascadescookbookqml/assets/images/stockcurve/icon_SineOut.png
  257. BIN cascadescookbookqml/assets/images/title_gui_buffet_empty_box.png
  258. BIN cascadescookbookqml/assets/images/white_photo.png
  259. +1 −0 cascadescookbookqml/assets/images/white_photo.png.amd
  260. +84 −0 cascadescookbookqml/assets/main.qml
  261. +19 −0 cascadescookbookqml/assets/models/recipemodel.xml
  262. +10 −0 cascadescookbookqml/assets/mypowfile.js
  263. +77 −0 cascadescookbookqml/bar-descriptor.xml
  264. +32 −0 cascadescookbookqml/cascadescookbookqml.pro
  265. BIN cascadescookbookqml/icon.png
  266. +56 −0 cascadescookbookqml/readme.txt
  267. BIN cascadescookbookqml/splash.png
  268. +41 −0 cascadescookbookqml/src/cascadescookbookapp.cpp
  269. +38 −0 cascadescookbookqml/src/cascadescookbookapp.h
  270. +30 −0 cascadescookbookqml/src/main.cpp
  271. +1 −0 cascadescookbookqml/x86/README.txt
  272. +201 −0 cowbell/.cproject
  273. +85 −0 cowbell/.project
  274. +177 −0 cowbell/LICENSE
  275. +34 −0 cowbell/Makefile
  276. +5 −0 cowbell/Notice
  277. +1 −0 cowbell/arm/README.txt
  278. +156 −0 cowbell/assets/cowbell.qml
  279. BIN cowbell/assets/images/background.png
  280. BIN cowbell/assets/images/bell.png
  281. BIN cowbell/assets/sounds/cowbell.wav
  282. BIN cowbell/assets/sounds/moo.wav
  283. +77 −0 cowbell/bar-descriptor.xml
  284. +33 −0 cowbell/cowbell.pro
  285. BIN cowbell/icon.png
  286. +41 −0 cowbell/readme.txt
  287. +59 −0 cowbell/src/cowbellapp.cpp
  288. +53 −0 cowbell/src/cowbellapp.h
  289. +33 −0 cowbell/src/main.cpp
  290. +198 −0 cowbell/src/soundmanager.cpp
  291. +85 −0 cowbell/src/soundmanager.h
  292. +1 −0 cowbell/x86/README.txt
  293. +206 −0 hellocascades/.cproject
  294. +84 −0 hellocascades/.project
  295. +177 −0 hellocascades/LICENSE
  296. +34 −0 hellocascades/Makefile
  297. +5 −0 hellocascades/Notice
  298. +1 −0 hellocascades/arm/README.txt
  299. +80 −0 hellocascades/assets/hellocascades.qml
  300. BIN hellocascades/assets/images/background.png
Sorry, we could not display the entire diff because too many files (642) changed.
View
198 cascadescookbookcpp/.cproject
@@ -0,0 +1,198 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?fileVersion 4.0.0?>
+
+<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
+ <storageModule moduleId="org.eclipse.cdt.core.settings">
+ <cconfiguration id="com.qnx.qcc.toolChain.975306387">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.qnx.qcc.toolChain.975306387" moduleId="org.eclipse.cdt.core.settings" name="Default">
+ <externalSettings/>
+ <extensions>
+ <extension id="com.qnx.tools.ide.qde.core.QDEBynaryParser" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactName="${ProjName}" buildProperties="" id="com.qnx.qcc.toolChain.975306387" name="Default" parent="org.eclipse.cdt.build.core.emptycfg">
+ <folderInfo id="com.qnx.qcc.toolChain.975306387.636556513" name="/" resourcePath="">
+ <toolChain id="com.qnx.qcc.toolChain.1489363973" name="com.qnx.qcc.toolChain" superClass="com.qnx.qcc.toolChain">
+ <option id="com.qnx.qcc.option.os.1500413121" name="Target OS:" superClass="com.qnx.qcc.option.os"/>
+ <option id="com.qnx.qcc.option.cpu.12560703" name="Target CPU:" superClass="com.qnx.qcc.option.cpu" value="com.qnx.qcc.option.gen.cpu.armle-v7" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.1157473931" name="Compiler:" superClass="com.qnx.qcc.option.compiler"/>
+ <option id="com.qnx.qcc.option.runtime.1893288496" name="Runtime:" superClass="com.qnx.qcc.option.runtime"/>
+ <targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.1024218781" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
+ <builder id="com.qnx.qcc.toolChain.975306387.1866428808" managedBuildOn="false" name="Gnu Make Builder" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
+ <tool id="com.qnx.qcc.tool.compiler.1317950462" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
+ <option id="com.qnx.qcc.option.compiler.includePath.1023492646" superClass="com.qnx.qcc.option.compiler.includePath" valueType="includePath">
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/../target-override/usr/include"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/c"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/embedded"/>
+ </option>
+ <inputType id="com.qnx.qcc.inputType.compiler.1518041242" superClass="com.qnx.qcc.inputType.compiler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.assembler.63039382" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
+ <inputType id="com.qnx.qcc.inputType.assembler.1950652022" superClass="com.qnx.qcc.inputType.assembler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.linker.2035031819" name="QCC Linker" superClass="com.qnx.qcc.tool.linker"/>
+ <tool id="com.qnx.qcc.tool.archiver.1701459159" name="QCC Archiver" superClass="com.qnx.qcc.tool.archiver"/>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ <cconfiguration id="com.qnx.qcc.toolChain.551692508">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.qnx.qcc.toolChain.551692508" moduleId="org.eclipse.cdt.core.settings" name="Device-Debug">
+ <externalSettings/>
+ <extensions>
+ <extension id="com.qnx.tools.ide.qde.core.QDEBynaryParser" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactName="${ProjName}" buildProperties="" id="com.qnx.qcc.toolChain.551692508" name="Device-Debug" parent="org.eclipse.cdt.build.core.emptycfg">
+ <folderInfo id="com.qnx.qcc.toolChain.551692508.1018859945" name="/" resourcePath="">
+ <toolChain id="com.qnx.qcc.toolChain.2100423611" name="com.qnx.qcc.toolChain" superClass="com.qnx.qcc.toolChain">
+ <option id="com.qnx.qcc.option.os.442886834" name="Target OS:" superClass="com.qnx.qcc.option.os"/>
+ <option id="com.qnx.qcc.option.cpu.1022643713" name="Target CPU:" superClass="com.qnx.qcc.option.cpu" value="com.qnx.qcc.option.gen.cpu.armle-v7" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.794783815" name="Compiler:" superClass="com.qnx.qcc.option.compiler"/>
+ <option id="com.qnx.qcc.option.runtime.1775144269" name="Runtime:" superClass="com.qnx.qcc.option.runtime"/>
+ <targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.1757676822" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
+ <builder id="com.qnx.qcc.toolChain.551692508.298216435" managedBuildOn="false" name="Gnu Make Builder" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
+ <tool id="com.qnx.qcc.tool.compiler.1028021900" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
+ <option id="com.qnx.qcc.option.compiler.includePath.2088408729" superClass="com.qnx.qcc.option.compiler.includePath" valueType="includePath">
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/../target-override/usr/include"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/c"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/embedded"/>
+ </option>
+ <inputType id="com.qnx.qcc.inputType.compiler.515626120" superClass="com.qnx.qcc.inputType.compiler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.assembler.596487679" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
+ <inputType id="com.qnx.qcc.inputType.assembler.2124327876" superClass="com.qnx.qcc.inputType.assembler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.linker.1113408209" name="QCC Linker" superClass="com.qnx.qcc.tool.linker"/>
+ <tool id="com.qnx.qcc.tool.archiver.1830602034" name="QCC Archiver" superClass="com.qnx.qcc.tool.archiver"/>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ <cconfiguration id="com.qnx.qcc.toolChain.1910589982">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.qnx.qcc.toolChain.1910589982" moduleId="org.eclipse.cdt.core.settings" name="Device-Release">
+ <externalSettings/>
+ <extensions>
+ <extension id="com.qnx.tools.ide.qde.core.QDEBynaryParser" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactName="${ProjName}" buildProperties="" id="com.qnx.qcc.toolChain.1910589982" name="Device-Release" parent="org.eclipse.cdt.build.core.emptycfg">
+ <folderInfo id="com.qnx.qcc.toolChain.1910589982.279448014" name="/" resourcePath="">
+ <toolChain id="com.qnx.qcc.toolChain.15638319" name="com.qnx.qcc.toolChain" superClass="com.qnx.qcc.toolChain">
+ <option id="com.qnx.qcc.option.os.568087807" name="Target OS:" superClass="com.qnx.qcc.option.os"/>
+ <option id="com.qnx.qcc.option.cpu.161347804" name="Target CPU:" superClass="com.qnx.qcc.option.cpu" value="com.qnx.qcc.option.gen.cpu.armle-v7" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.1180134252" name="Compiler:" superClass="com.qnx.qcc.option.compiler"/>
+ <option id="com.qnx.qcc.option.runtime.1880252578" name="Runtime:" superClass="com.qnx.qcc.option.runtime"/>
+ <targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.1622936690" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
+ <builder id="com.qnx.qcc.toolChain.1910589982.1423202205" managedBuildOn="false" name="Gnu Make Builder" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
+ <tool id="com.qnx.qcc.tool.compiler.143196972" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
+ <option id="com.qnx.qcc.option.compiler.includePath.1765306485" superClass="com.qnx.qcc.option.compiler.includePath" valueType="includePath">
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/../target-override/usr/include"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/c"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/embedded"/>
+ </option>
+ <inputType id="com.qnx.qcc.inputType.compiler.801501493" superClass="com.qnx.qcc.inputType.compiler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.assembler.763662004" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
+ <inputType id="com.qnx.qcc.inputType.assembler.758561927" superClass="com.qnx.qcc.inputType.assembler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.linker.899683860" name="QCC Linker" superClass="com.qnx.qcc.tool.linker"/>
+ <tool id="com.qnx.qcc.tool.archiver.764450926" name="QCC Archiver" superClass="com.qnx.qcc.tool.archiver"/>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ <cconfiguration id="com.qnx.qcc.toolChain.907974349">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.qnx.qcc.toolChain.907974349" moduleId="org.eclipse.cdt.core.settings" name="Simulator-Debug">
+ <externalSettings/>
+ <extensions>
+ <extension id="com.qnx.tools.ide.qde.core.QDEBynaryParser" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactName="${ProjName}" buildProperties="" id="com.qnx.qcc.toolChain.907974349" name="Simulator-Debug" parent="org.eclipse.cdt.build.core.emptycfg">
+ <folderInfo id="com.qnx.qcc.toolChain.907974349.1562222201" name="/" resourcePath="">
+ <toolChain id="com.qnx.qcc.toolChain.1048650035" name="com.qnx.qcc.toolChain" superClass="com.qnx.qcc.toolChain">
+ <option id="com.qnx.qcc.option.os.1191723782" name="Target OS:" superClass="com.qnx.qcc.option.os"/>
+ <option id="com.qnx.qcc.option.cpu.91402931" name="Target CPU:" superClass="com.qnx.qcc.option.cpu"/>
+ <option id="com.qnx.qcc.option.compiler.1492899779" name="Compiler:" superClass="com.qnx.qcc.option.compiler"/>
+ <option id="com.qnx.qcc.option.runtime.1182261345" name="Runtime:" superClass="com.qnx.qcc.option.runtime"/>
+ <targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.769453678" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
+ <builder id="com.qnx.qcc.toolChain.907974349.220553002" managedBuildOn="false" name="Gnu Make Builder" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
+ <tool id="com.qnx.qcc.tool.compiler.269947952" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
+ <option id="com.qnx.qcc.option.compiler.includePath.1050784007" superClass="com.qnx.qcc.option.compiler.includePath" valueType="includePath">
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/../target-override/usr/include"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/c"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/cpp/embedded"/>
+ </option>
+ <inputType id="com.qnx.qcc.inputType.compiler.1760547088" superClass="com.qnx.qcc.inputType.compiler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.assembler.1942419419" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
+ <inputType id="com.qnx.qcc.inputType.assembler.1460478325" superClass="com.qnx.qcc.inputType.assembler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.linker.400938362" name="QCC Linker" superClass="com.qnx.qcc.tool.linker"/>
+ <tool id="com.qnx.qcc.tool.archiver.1374685887" name="QCC Archiver" superClass="com.qnx.qcc.tool.archiver"/>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <project id="cascadescookbookcpp.null.1110348819" name="cascadescookbookcpp"/>
+ </storageModule>
+ <storageModule moduleId="scannerConfiguration">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
+ <scannerConfigBuildInfo instanceId="com.qnx.qcc.toolChain.551692508">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
+ </scannerConfigBuildInfo>
+ <scannerConfigBuildInfo instanceId="com.qnx.qcc.toolChain.1910589982">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
+ </scannerConfigBuildInfo>
+ <scannerConfigBuildInfo instanceId="com.qnx.qcc.toolChain.975306387">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
+ </scannerConfigBuildInfo>
+ <scannerConfigBuildInfo instanceId="com.qnx.qcc.toolChain.907974349">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
+ </scannerConfigBuildInfo>
+ </storageModule>
+ <storageModule moduleId="refreshScope"/>
+</cproject>
View
85 cascadescookbookcpp/.project
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>cascadescookbookcpp</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
+ <triggers>clean,full,incremental,</triggers>
+ <arguments>
+ <dictionary>
+ <key>?name?</key>
+ <value></value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.append_environment</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.autoBuildTarget</key>
+ <value>all</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.buildArguments</key>
+ <value></value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.buildCommand</key>
+ <value>make</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
+ <value>clean</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.contents</key>
+ <value>org.eclipse.cdt.make.core.activeConfigSettings</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.enableAutoBuild</key>
+ <value>false</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.enableCleanBuild</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.enableFullBuild</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.fullBuildTarget</key>
+ <value>all</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.stopOnError</key>
+ <value>true</value>
+ </dictionary>
+ <dictionary>
+ <key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
+ <value>true</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.qnx.tools.bbt.xml.core.bbtXMLValidationBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.cdt.core.cnature</nature>
+ <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
+ <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
+ <nature>com.qnx.tools.ide.bbt.core.bbtnature</nature>
+ <nature>org.eclipse.cdt.core.ccnature</nature>
+ </natures>
+</projectDescription>
View
177 cascadescookbookcpp/LICENSE
@@ -0,0 +1,177 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
View
34 cascadescookbookcpp/Makefile
@@ -0,0 +1,34 @@
+QMAKE_TARGET = cascadescookbookcpp
+QMAKE = $(QNX_HOST)/usr/bin/qmake
+TARGET = $(QMAKE_TARGET)
+
+
+all: Makefile $(QMAKE_TARGET)
+
+clean:
+ $(MAKE) -C ./arm -f Makefile distclean
+ $(MAKE) -C ./x86 -f Makefile distclean
+
+
+Makefile: FORCE
+ $(QMAKE) -spec unsupported/blackberry-armv7le-g++ -o arm/Makefile $(QMAKE_TARGET).pro CONFIG+=device
+ $(QMAKE) -spec unsupported/blackberry-x86-g++ -o x86/Makefile $(QMAKE_TARGET).pro CONFIG+=simulator
+
+FORCE:
+
+$(QMAKE_TARGET): device simulator
+
+device:
+ $(MAKE) -C ./arm -f Makefile all
+
+Device-Debug: Makefile
+ $(MAKE) -C ./arm -f Makefile debug
+
+Device-Release: Makefile
+ $(MAKE) -C ./arm -f Makefile release
+
+simulator:
+ $(MAKE) -C ./x86 -f Makefile all
+
+Simulator-Debug: Makefile
+ $(MAKE) -C ./x86 -f Makefile debug
View
5 cascadescookbookcpp/Notice
@@ -0,0 +1,5 @@
+CascadesCookbook CPP
+Copyright (c) 2011 Research In Motion Limited (http://www.rim.com/)
+
+This product includes software developed at
+Research In Motion Limited (http://www.rim.com/).
View
1 cascadescookbookcpp/arm/README.txt
@@ -0,0 +1 @@
+Empty target directory for building.
View
BIN cascadescookbookcpp/assets/images/animation/egg_isolated.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/animation/egg_isolated_shadow.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/button/button_icon_orange_dust.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/button/button_icon_orange_green.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/button/button_icon_orange_mouldy.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/button/button_icon_orange_ripe.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/dark_background.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/docklayout/bean_centered.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/docklayout/bean_horizontal.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/docklayout/bean_vertical.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/docklayout/black_page.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/dropdown/beer1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/dropdown/beer2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/dropdown/beer3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/dropdown/beer4.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/free_yellow_pepper.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/items/banana.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/items/bananapeeled.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/items/beer.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/items/broccoli.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/items/button.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/items/docklayout.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/items/egg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/items/lasagna.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/items/leek.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN cascadescookbookcpp/assets/images/items/olives.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/items/orange.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/items/orange_sliced.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/items/peach.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/items/pear.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/items/pear_peach.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/items/peas_in_pod.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/items/strawberries.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/items/sugarcandy.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/items/yellow_pepper.png
Diff not rendered.
View
1 cascadescookbookcpp/assets/images/nineslice/border_image_Pasta.amd
@@ -0,0 +1 @@
+margins: 150 158 136 157
View
BIN cascadescookbookcpp/assets/images/nineslice/border_image_Pasta.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/peach_big.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/picker/banana_ancient.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/picker/banana_new.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/picker/banana_old.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/picker/banana_past.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/red_cloth_edge_bottom.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/red_cloth_edge_top.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/broken_egg.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/egg.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_BackIn.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_BackInOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_BackOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_BounceIn.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_BounceInOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_BounceOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_CircularIn.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_CircularInOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_CircularOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_CubicIn.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_CubicInOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_CubicOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_DoubleBounceIn.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_DoubleBounceInOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_DoubleBounceOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_DoubleElasticIn.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_DoubleElasticInOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_DoubleElasticOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_ElasticIn.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_ElasticInOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_ElasticOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_ExponentialIn.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_ExponentialInOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_ExponentialOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_ImplicitOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_Linear.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_QuadraticIn.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_QuadraticInOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_QuadraticOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_QuarticIn.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_QuarticInOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_QuarticOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_QuinticIn.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_QuinticInOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_QuinticOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_SineIn.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_SineInOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/stockcurve/icon_SineOut.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/title_gui_buffet_empty_box.png
Diff not rendered.
View
BIN cascadescookbookcpp/assets/images/white_photo.png
Diff not rendered.
View
1 cascadescookbookcpp/assets/images/white_photo.png.amd
@@ -0,0 +1 @@
+margins: 30 30 30 30
View
76 cascadescookbookcpp/bar-descriptor.xml
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<qnx xmlns="http://www.qnx.com/schemas/application/1.0">
+
+<!-- BlackBerry 10 application descriptor file.
+
+ Specifies parameters for identifying, installing, and launching native applications on BlackBerry 10.
+
+-->
+
+ <!-- A universally unique application identifier. Must be unique across all BlackBerry 10 applications.
+ Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
+ <id>com.example.cascadescookbookcpp</id>
+
+ <!-- The name that is displayed in the BlackBerry 10 application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <name>Cookbook</name>
+
+ <!-- A string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade.
+ Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
+ An updated version of application must have a versionNumber value higher than the previous version. Required. -->
+ <versionNumber>1.0.0</versionNumber>
+
+ <!-- Fourth digit segment of the package version. First three segments are taken from the
+ <versionNumber> element. Must be an integer from 0 to 2^16-1 -->
+ <buildId>1</buildId>
+
+ <!-- Description, displayed in the BlackBerry 10 application installer.
+ May have multiple values for each language. See samples or xsd schema file. Optional. -->
+ <description>The cascadescookbookcpp application</description>
+
+ <!-- Name of author which is used for signing. Must match the developer name of your development certificate. -->
+ <author>Example Inc.</author>
+
+ <!-- The splash screen that will appear when your application is launching. -->
+ <splashscreen>:splash.png</splashscreen>
+
+ <initialWindow>
+ <aspectRatio>portrait</aspectRatio>
+ <autoOrients>false</autoOrients>
+ <systemChrome>none</systemChrome>
+ <transparent>false</transparent>
+ </initialWindow>
+
+ <!-- The category where the application appears. Either core.games or core.media. -->
+ <category>core.games</category>
+ <configuration id="com.qnx.qcc.toolChain.975306387" name="Default">
+ <platformArchitecture>armle-v7</platformArchitecture>
+ <asset path="arm/o.le-v7-g/cascadescookbookcpp" entry="true" type="Qnx/Elf">cascadescookbookcpp</asset>
+ </configuration>
+ <configuration id="com.qnx.qcc.toolChain.551692508" name="Device-Debug">
+ <platformArchitecture>armle-v7</platformArchitecture>
+ <asset path="arm/o.le-v7-g/cascadescookbookcpp" entry="true" type="Qnx/Elf">cascadescookbookcpp</asset>
+ </configuration>
+ <configuration id="com.qnx.qcc.toolChain.1910589982" name="Device-Release">
+ <platformArchitecture>armle-v7</platformArchitecture>
+ <asset path="arm/o.le-v7/cascadescookbookcpp" entry="true" type="Qnx/Elf">cascadescookbookcpp</asset>
+ </configuration>
+ <configuration id="com.qnx.qcc.toolChain.907974349" name="Simulator-Debug">
+ <platformArchitecture>x86</platformArchitecture>
+ <asset path="x86/o-g/cascadescookbookcpp" entry="true" type="Qnx/Elf">cascadescookbookcpp</asset>
+ </configuration>
+
+ <!-- The icon for the application, which should be 86x86. -->
+ <icon>
+ <image>icon.png</image>
+ </icon>
+
+ <asset path="icon.png">icon.png</asset>
+ <asset path="assets">assets</asset>
+ <asset path="splash.png">splash.png</asset>
+
+ <!-- Request permission to execute native code. Required for native applications. -->
+ <action system="true">run_native</action>
+ <env var="LD_LIBRARY_PATH" value="app/native/lib:/usr/lib/qt4/lib"/>
+
+</qnx>
View
35 cascadescookbookcpp/cascadescookbookcpp.pro
@@ -0,0 +1,35 @@
+TEMPLATE = app
+TARGET = cascadescookbookcpp
+
+CONFIG += qt warn_on debug_and_release cascades
+
+INCLUDEPATH += ../src
+SOURCES += ../src/*.cpp
+SOURCES += ../recipes/*.cpp
+HEADERS += ../src/*.h
+HEADERS += ../recipes/*.h
+
+
+device {
+ CONFIG(release, debug|release) {
+ DESTDIR = o.le-v7
+ }
+ CONFIG(debug, debug|release) {
+ DESTDIR = o.le-v7-g
+ }
+}
+
+simulator {
+ CONFIG(release, debug|release) {
+ DESTDIR = o
+ }
+ CONFIG(debug, debug|release) {
+ DESTDIR = o-g
+ }
+}
+
+OBJECTS_DIR = $${DESTDIR}/.obj
+MOC_DIR = $${DESTDIR}/.moc
+RCC_DIR = $${DESTDIR}/.rcc
+UI_DIR = $${DESTDIR}/.ui
+
View
BIN cascadescookbookcpp/icon.png
Diff not rendered.
View
55 cascadescookbookcpp/readme.txt
@@ -0,0 +1,55 @@
+recipes/Cascades Cookbook - UI Controls
+
+========================================================================
+Sample Description.
+
+The Cascades Cookbook shows you various controls and demonstrates their look and feel.
+This sample features two downloads: one written with QML and one with C++.
+Each individual "recipe" is designed for reuse, should you want to use these in your own app.
+
+Controls summary:
+- ActivityIndicator
+- Adding images
+- Animations
+- Buttons
+- CheckBox
+- Colors
+- DateTimePicker
+- DropDown
+- Labels
+- ListView
+- Layouts (dockLayout)
+- Navigation
+- Ninesliced Images
+- ProgressIndicator
+- StockCurves
+- RadioGroup & RadioGroupOption
+- Slider
+- Text input
+
+========================================================================
+Requirements:
+
+BlackBerry 10 Native SDK Beta
+
+========================================================================
+Running the example:
+
+1. From the the Sample apps page, download and extract one of the sample applications.
+2. Launch BlackBerry 10 Native SDK Beta, and from the File menu, select Import.
+3. Expand General, and select Existing Projects into Workspace. Click Next.
+4. Browse to the location where you extracted the sample file, and then click OK.
+5. The sample project should display in the the Projects section.
+ Click Finish to import the project into your workspace.
+6. In the Project Explorer pane, Right-click the the project (for example hellocascades)
+ and select Build Project.
+7. In the Project Explorer pane, Right-click the the project (for example hellocascades)
+ and select Run As > BlackBerry C/C++ Application.
+8. The application will now install and launch on your playbook if not the following
+ might be necessary.
+ - Creating a debug token and target:
+ developer.blackberry.com/native/documentation/com.qnx.doc.native_sdk.quickstart/topic/configure_environment.html
+
+
+========================================================================
+Revision History:
View
112 cascadescookbookcpp/recipes/activityindicatorrecipe.cpp
@@ -0,0 +1,112 @@
+/* Copyright (c) 2012 Research In Motion Limited.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+#include "activityindicatorrecipe.h"
+
+#include <bb/cascades/Container>
+#include <bb/cascades/Textstyle>
+#include <bb/cascades/Systemdefaults>
+#include <bb/cascades/Label>
+#include <bb/cascades/TextArea>
+#include <bb/cascades/ActivityIndicator>
+#include <bb/cascades/StackLayout>
+#include <bb/cascades/Button>
+#include <bb/cascades/ImageView>
+#include <bb/cascades/DockLayout>
+#include <bb/cascades/DockLayoutProperties>
+
+using namespace bb::cascades;
+
+ActivityIndicatorRecipe::ActivityIndicatorRecipe(Container *parent) :
+CustomControl(parent)
+{
+ // The recipe Container.
+ Container *recipeContainer = new Container();
+ StackLayout *recipeLayout = new StackLayout();
+ recipeLayout->setLeftPadding(20.0);
+ recipeLayout->setRightPadding(20.0);
+ recipeContainer->setLayout(recipeLayout);
+
+ // The introduction text.
+ TextArea *introText = new TextArea();
+ introText->setText((const QString) "This is a milk boiling simulator recepie");
+ introText->setEditable(false);
+ introText->textStyle()->setColor(Color::Gray);
+ introText->textStyle()->setBase(SystemDefaults::TextStyles::bodyText());
+ introText->setBottomMargin(100);
+
+ Container* smashContainer = new Container();
+ smashContainer->setLayout(new DockLayout());
+
+
+ // This the big image that was taking during the night
+ // it's at the same position as the day one, but further from the viewer.
+ mUnbroken = ImageView::create("asset:///images/stockcurve/egg.png");
+
+ // Center it using dock layout info.
+ mUnbroken->setLayoutProperties( DockLayoutProperties::create()
+ .horizontal(HorizontalAlignment::Center)
+ .vertical(VerticalAlignment::Center));
+
+ // Since this image is on top of the night one, we can hide the
+ // night image with changing the opacity value of this image.
+ mBroken = ImageView::create("asset:///images/stockcurve/broken_egg.png").opacity(0.0);
+
+ // Center it using dock layout info.
+ mBroken->setLayoutProperties( DockLayoutProperties::create()
+ .horizontal(HorizontalAlignment::Center)
+ .vertical(VerticalAlignment::Center));
+
+ mActivityIndicator = new ActivityIndicator();
+ mActivityIndicator->setPreferredSize(130, 130);
+
+ smashContainer->add(mUnbroken);
+ smashContainer->add(mActivityIndicator);
+ smashContainer->add(mBroken);
+
+ mButton = new Button();
+ mButton->setTopMargin(100);
+ mButton->setText((const QString) "start cooking");
+ connect(mButton, SIGNAL(clicked()), this, SLOT(onClicked()));
+
+
+ // Add the controls to the recipe Container and set it as root.
+ recipeContainer->add(introText);
+ recipeContainer->add(smashContainer);
+
+ recipeContainer->add(mButton);
+
+ setRoot(recipeContainer);
+
+
+}
+void ActivityIndicatorRecipe::onClicked()
+{
+
+ if(mButton->text() == "start cooking")
+ {
+ mActivityIndicator->start();
+ mButton->setText((const QString) "look away");
+ }
+ else
+ {
+ mActivityIndicator->stop();
+ mButton->setEnabled(false);
+ mButton->setText((const QString) "clean up");
+ mUnbroken->setOpacity(0.0);
+ mBroken->setOpacity(1.0);
+ }
+
+}
+
View
59 cascadescookbookcpp/recipes/activityindicatorrecipe.h
@@ -0,0 +1,59 @@
+/* Copyright (c) 2012 Research In Motion Limited.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+#ifndef _ACTIVITYINDICATORRECIPE_H_
+#define _ACTIVITYINDICATORRECIPE_H_
+
+#include <bb/cascades/CustomControl>
+
+using namespace bb::cascades;
+
+namespace bb
+{
+ namespace cascades
+ {
+ class ActivityIndicator;
+ class Button;
+ class ImageView;
+ }
+}
+
+/* ActivityIndicatorRecipe
+ *
+ * Simple ActivityIndicator recipe shows how a ActivityIndicator control can used.
+ *
+ */
+class ActivityIndicatorRecipe: public bb::cascades::CustomControl
+{
+Q_OBJECT
+
+public:
+ ActivityIndicatorRecipe(Container *parent = 0);
+public slots:
+
+/**
+ * Slot function to listen to the button
+ *
+ */
+void onClicked();
+
+private:
+ ActivityIndicator *mActivityIndicator;
+ Button *mButton;
+ ImageView* mUnbroken;
+ ImageView* mBroken;
+};
+
+#endif // ifndef _ACTIVITYINDICATORRECIPE_H_
View
332 cascadescookbookcpp/recipes/animationrecipe.cpp
@@ -0,0 +1,332 @@
+/* Copyright (c) 2012 Research In Motion Limited.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+#include "animationrecipe.h"
+
+#include <bb/cascades/AbsoluteLayout>
+#include <bb/cascades/AbsoluteLayoutProperties>
+#include <bb/cascades/Button>
+#include <bb/cascades/Color>
+#include <bb/cascades/Container>
+#include <bb/cascades/DockLayout>
+#include <bb/cascades/DockLayoutProperties>
+#include <bb/cascades/Textstyle>
+#include <bb/cascades/Systemdefaults>
+#include <bb/cascades/ImageView>
+#include <bb/cascades/Label>
+#include <bb/cascades/RotateTransition>
+#include <bb/cascades/SequentialAnimation>
+#include <bb/cascades/StackLayout>
+#include <bb/cascades/StackLayoutProperties>
+#include <bb/cascades/TextArea>
+#include <bb/cascades/ToggleButton>
+#include <bb/cascades/TranslateTransition>
+
+using namespace bb::cascades;
+
+#define CONTENT_WIDTH 768.0f
+
+AnimationRecipe::AnimationRecipe() :
+ CustomControl()
+{
+ Container *recipeContainer = new Container();
+ DockLayout *recipeLayout = new DockLayout();
+ recipeContainer->setLayout(recipeLayout);
+ recipeContainer->setPreferredSize(CONTENT_WIDTH, 1280);
+
+ // Create the top Container containing objects that animates.
+ Container *animationContainer = setUpAnimationContainer();
+
+ // Create the bottom Container that controls animations and dock it to the
+ // bottom of the screen.
+ Container *controllerContainer = setUpControllerContainer();
+ controllerContainer->setLayoutProperties(
+ DockLayoutProperties::create().vertical(VerticalAlignment::Bottom));
+
+ // Add the two Containers to the main CustomControl Container.
+ recipeContainer->add(animationContainer);
+ recipeContainer->add(controllerContainer);
+
+ setRoot(recipeContainer);
+
+ mHideAnimStopped = false;
+ mShowAnimStopped = false;
+}
+
+void AnimationRecipe::setUpAnimations(Container *animatedEgg)
+{
+ // The show animation translates the egg into screen.
+ mShowMoreEgg = TranslateTransition::create(animatedEgg).toX(430).duration(600);
+
+ // The hide animation translates the off the screen.
+ mHideMoreEgg = TranslateTransition::create(animatedEgg).toX(CONTENT_WIDTH).duration(600);
+
+ // Connect to on end signal of the hide animation, after it is over
+ // an implicit animation to scale the super eggs back will be run.
+ connect(mHideMoreEgg, SIGNAL(ended()), this, SLOT(onHideAnimEnded()));
+
+ // To avoid conflicting animations we have to stop ongoing animations before
+ // starting them again, this can not be done in the same function call.
+ // So we attach to the stop signal in order to start animations that was
+ // just stopped.
+ connect(mHideMoreEgg, SIGNAL(stopped()), this, SLOT(playStoppedAnimations()));
+ connect(mShowMoreEgg, SIGNAL(stopped()), this, SLOT(playStoppedAnimations()));
+
+ // For the extra egg we also add a tilt animation which will wiggle the
+ // egg when it comes to an end. We need two animations to achieve this.
+ // One for the eggImage and one for its shadow, they run in opposite directions.
+ ImageView *eggImage = animatedEgg->findChild<ImageView*>("eggImage");
+
+ mTiltEgg = SequentialAnimation::create(eggImage).add(
+ RotateTransition::create(eggImage).toAngleZ(-15).duration(700 * 0.4f).delay(350)).add(
+ RotateTransition::create(eggImage).toAngleZ(5).duration(700 * 0.3f)).add(
+ RotateTransition::create(eggImage).toAngleZ(0).duration(700 * 0.3f));
+
+ ImageView *shadowImage = animatedEgg->findChild<ImageView*>("shadowImage");
+
+ mTiltShadow = SequentialAnimation::create(shadowImage).add(
+ RotateTransition::create(shadowImage).toAngleZ(15).duration(700 * 0.4f).delay(350)).add(
+ RotateTransition::create(shadowImage).toAngleZ(-5).duration(700 * 0.3f)).add(
+ RotateTransition::create(shadowImage).toAngleZ(0).duration(700 * 0.3f));
+
+}
+
+Container *AnimationRecipe::setUpAnimationContainer()
+{
+ Container *animationContainer = new Container();
+ animationContainer->setLayout(new AbsoluteLayout());
+
+ // The background image.
+ ImageView *backgroundImage = ImageView::create("asset:///images/dark_background.png");
+ backgroundImage->setPreferredSize(768.0f, 780.0f);
+
+ // The two "super" eggs, two big eggs stacked side by side.
+ // This entire Container i scaled by an implicit animation when the toggle is switched.
+ mSuperEggs = new Container();
+ mSuperEggs->setLayout(StackLayout::create().direction(LayoutDirection::LeftToRight));
+ mSuperEggs->setLayoutProperties(AbsoluteLayoutProperties::create().y(460.0f));
+
+ // When scaling the entire Container down it should be done on a point corresponding to left edge.
+ mSuperEggs->setPivotX(-351);
+
+ // Add the two initial eggs to the super egg Container.
+ mSuperEggs->add(setUpAnimationEgg());
+ mSuperEggs->add(setUpAnimationEgg());
+
+ // A third egg will be animated in from the side after the super eggs
+ // have been scaled down.
+ Container *moreEgg = setUpAnimationEgg();
+ moreEgg->setLayoutProperties(AbsoluteLayoutProperties::create().y(460.0f));
+ moreEgg->setScale(0.7f);
+ moreEgg->setTranslationX(CONTENT_WIDTH);
+
+ setUpAnimations(moreEgg);
+
+ // Add controls to the animation Container.
+ animationContainer->add(backgroundImage);
+ animationContainer->add(mSuperEggs);
+ animationContainer->add(moreEgg);
+
+ return animationContainer;
+}
+
+Container *AnimationRecipe::setUpAnimationEgg()
+{
+ Container *animationEggContainer = new Container();
+ animationEggContainer->setLayoutProperties(AbsoluteLayoutProperties::create().y(10));
+ animationEggContainer->setLayout(new AbsoluteLayout());
+
+ // The egg image.
+ ImageView *eggImage = ImageView::create("asset:///images/animation/egg_isolated.png");
+ eggImage->setPreferredSize(259, 203);
+ eggImage->setPivotY(eggImage->preferredHeight() / 2);
+ eggImage->setLayoutProperties(AbsoluteLayoutProperties::create().x(40));
+ eggImage->setObjectName("eggImage");
+
+ // The egg shadow put beneath the egg in Y direction.
+ ImageView *shadowImage = ImageView::create("asset:///images/animation/egg_isolated_shadow.png");
+ shadowImage->setPreferredSize(351, 297);
+ shadowImage->setPivotY(-shadowImage->preferredHeight() / 2);
+ shadowImage->setLayoutProperties(AbsoluteLayoutProperties::create().y(150));
+ shadowImage->setObjectName("shadowImage");
+
+ // Add the images.
+ animationEggContainer->add(shadowImage);
+ animationEggContainer->add(eggImage);
+
+ return animationEggContainer;
+}
+
+Container *AnimationRecipe::setUpControllerContainer()
+{
+ // The Controller Container is the bottom part of the animation recipe.
+ // It is where the descriptive text and a toggle button for triggering the
+ // animations is kept.
+ Container *controllerContainer = new Container();
+ DockLayout *controllerLayout = new DockLayout();
+ controllerLayout->setLeftPadding(30.0f);
+ controllerContainer->setLayout(controllerLayout);
+ controllerContainer->setBackground(Color::fromRGBA(0.84f, 0.84f, 0.84f));
+ controllerContainer->setPreferredSize(768.0f, 360.0f);
+ controllerContainer->setLayoutProperties(
+ DockLayoutProperties::create().vertical(VerticalAlignment::Bottom));
+
+ // A recipe text.
+ Container *descriptionContainer = new Container();
+ StackLayout *descriptionLayout = new StackLayout();
+ descriptionLayout->setTopPadding(42.0f);
+ descriptionContainer->setLayout(descriptionLayout);
+ descriptionContainer->setLayoutProperties(
+ DockLayoutProperties::create().vertical(VerticalAlignment::Top).horizontal(
+ HorizontalAlignment::Left));
+
+ // A Label is used for the header and a text area for the descriptive text.
+ Label *descriptionHeader = new Label();
+ descriptionHeader->textStyle()->setBase(SystemDefaults::TextStyles::bigText());
+ descriptionHeader->textStyle()->setColor(Color::Black);
+ descriptionHeader->setText("Scrambled eggs");
+ descriptionHeader->setBottomMargin(32.0f);
+
+ // Three labels for describing how to scramble the eggs.
+ Label *line1 = new Label();
+ line1->textStyle()->setBase(SystemDefaults::TextStyles::bodyText());
+ line1->setText("1. Take two eggs.");
+ line1->textStyle()->setColor(Color::Black);
+
+ Label *line2 = new Label();
+ line2->textStyle()->setBase(SystemDefaults::TextStyles::bodyText());
+ line2->setText("2. Scramble them.");
+ line2->textStyle()->setColor(Color::Black);
+
+ Label *line3 = new Label();
+ line3->textStyle()->setBase(SystemDefaults::TextStyles::bodyText());
+ line3->setText("3. Done.");
+ line3->textStyle()->setColor(Color::Black);
+
+ // Add the texts to the description Container.
+ descriptionContainer->add(descriptionHeader);
+ descriptionContainer->add(line1);
+ descriptionContainer->add(line2);
+ descriptionContainer->add(line3);
+
+ // The Controller is a toggle Button and it has a descriptive Label.
+ // They are stacked in a Container that is aligned to the bottom right corner.
+ Container *toggleContainer = new Container();
+ StackLayout *toggleLayout = new StackLayout();
+ toggleLayout->setBottomPadding(45.0f);
+ toggleLayout->setRightPadding(30.0f);
+ toggleContainer->setLayout(toggleLayout);
+ toggleContainer->setLayoutProperties(
+ DockLayoutProperties::create().vertical(VerticalAlignment::Bottom).horizontal(
+ HorizontalAlignment::Right));
+
+ // Set up of a Label with a descriptive text.
+ Label *actionLabel = new Label();
+ actionLabel->setLayoutProperties(
+ StackLayoutProperties::create().horizontal(HorizontalAlignment::Right));
+ actionLabel->textStyle()->setBase(SystemDefaults::TextStyles::bodyText());
+ actionLabel->setText("Super size");
+ actionLabel->textStyle()->setColor(Color::Black);
+
+ // Set up of a toggle Button and connect to its onChanged signal, its in
+ // the slot function onToggleChanged were animations are triggered.
+ ToggleButton *toggle = new ToggleButton();
+ toggle->setLayoutProperties(
+ StackLayoutProperties::create().horizontal(HorizontalAlignment::Right));
+ connect(toggle, SIGNAL(checkedChanged(bool)), this, SLOT(onToggleChanged(bool)));
+
+ // Add the Label and the toggle Button to the toggle Container then add
+ // that Container to the main controller Container.
+ toggleContainer->add(toggle);
+ toggleContainer->add(actionLabel);
+
+ // Add the description and the toggle button Container.
+ controllerContainer->add(descriptionContainer);
+ controllerContainer->add(toggleContainer);
+
+ return controllerContainer;
+}
+
+void AnimationRecipe::onToggleChanged(bool on)
+{
+ if (on == true) {
+ // Scale down the super eggs to make room for a third egg.
+ mSuperEggs->setScale(0.7f);
+
+ // Stop ongoing animations, to avoid conflicts.
+ mShowAnimStopped = checkPlayingAnimations();
+
+ if (mShowAnimStopped == false) {
+ // Show the extra egg.
+ mShowMoreEgg->play();
+ mTiltShadow->play();
+ mTiltEgg->play();
+ }
+ } else {
+ // Stop ongoing animations, to avoid conflicts.
+ mHideAnimStopped = checkPlayingAnimations();
+
+ if (mHideAnimStopped == false) {
+ // Hide the extra egg.
+ mHideMoreEgg->play();
+ }
+ }
+}
+
+void AnimationRecipe::onHideAnimEnded()
+{
+ // When the third egg is hidden (its animation has come to and end).
+ // Scale the super eggs back to their initial size.
+ mSuperEggs->setScale(1.0);
+}
+
+bool AnimationRecipe::checkPlayingAnimations()
+{
+ bool animationWasStopped = false;
+
+ // This function checks if any of the animations are running. If that is the
+ // case the animation is stopped and true is returned to notify the caller.
+ if (mShowMoreEgg->isPlaying()) {
+ mShowMoreEgg->stop();
+ animationWasStopped = true;
+ }
+ if (mHideMoreEgg->isPlaying()) {
+ mHideMoreEgg->stop();
+ animationWasStopped = true;
+ }
+
+ return animationWasStopped;
+}
+
+void AnimationRecipe::playStoppedAnimations()
+{
+ // This is the slot function for the hide and show animations onStopped signal.
+ // Since it is not possible to stop and start the same animation in the same
+ // function call we have to set a variable and wait for onStopped to be called
+ // before we can trigger the animation.
+ if (mShowAnimStopped == true) {
+
+ // Show the extra egg.
+ mShowMoreEgg->play();
+ mTiltShadow->play();
+ mTiltEgg->play();
+ } else if (mHideAnimStopped == true) {
+
+ // Hide the extra egg.
+ mHideMoreEgg->play();
+ }
+
+ mShowAnimStopped = false;
+ mHideAnimStopped = false;
+}
View
109 cascadescookbookcpp/recipes/animationrecipe.h
@@ -0,0 +1,109 @@
+/* Copyright (c) 2012 Research In Motion Limited.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+
+#ifndef _ANIMATIONRECIPE_H_
+#define _ANIMATIONRECIPE_H_
+
+#include <bb/cascades/CustomControl>
+
+using namespace bb::cascades;
+
+namespace bb
+{
+