#include <vector>
class Canvas;
+typedef boost::shared_ptr<Canvas> CanvasPtr;
class CanvasMgr:
public SGSubsystem,
SGPropertyNode_ptr _props;
/** The actual canvases */
- std::vector<Canvas> _canvases;
+ std::vector<CanvasPtr> _canvases;
void textureAdded(SGPropertyNode* node);
*/
void triggerChangeRecursive(SGPropertyNode* node);
- /**
- * Get the value of a property or throw an exception if it doesn't exist.
- */
- template<class T>
- T getParam(const SGPropertyNode* node, const char* prop);
-
};
#endif /* CANVAS_MGR_H_ */