On 2/17/2014, 9:15 AM, David Rajchenbach-Teller wrote:
Do we have naming conventions for new xpcom interfaces?

I believe that I have seen all three forms on the tree. I need to pick
one for my new bug. Which one should I pick?

Avoid ISomething since that means something on Windows.

I think most people still name their interfaces nsISomething. The mozISomething naming convention seems to be specific to the storage code, some of places code, and things such as mozIApplication or mozIJSSubScriptLoader. The first two are generally written by the same people, and I can't find a lot of other examples other than the two names I mentioned.

Cheers,
Ehsan
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to