The style guide doesn't seem to address this:
When I have, say, a class in the global namespace called nsSVGUtils, what is
preferred:
class nsSVGUtils
{
public:
// blah blah
static mozilla::gfx::FillRule GetFillRule(mozilla::dom::Element* aElement);
// blah blah
};
or:
class nsSVGUtils
{
typedef mozilla::gfx::FillRule FillRule;
typedef mozilla::dom::Element Element;
public:
// blah blah
static FillRule GetFillRule(Element* aElement);
// blah blah
};
Or is either fine?
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform