Add some functions

Discuss building things with or for the Mozilla Platform.
Post Reply
aniyan.rajan
Posts: 37
Joined: May 27th, 2012, 9:58 am

Add some functions

Post by aniyan.rajan »

Hello,

I have downloaded the firefox source code from mozilla-central repository. I am a C++ programmer. I want to write some functions in the firefox code, so that my Extension can call them. So in which file I have to write the functions to expose to the extension ?

The functions make the graphical changes suggested by the Extension - like underline the errors, display the Optional Corrections in the context menu etc. I am new to the LowLevel Design of Firefox. So please suggest.

Thanks.
User avatar
LoudNoise
New Member
Posts: 39900
Joined: October 18th, 2007, 1:45 pm
Location: Next door to the west

Re: Add some functions

Post by LoudNoise »

I am not entirely certain what you are trying to achieve here. Were would the "graphical changes" suggestions come from? Also, unless you are developing something for a specific company, requiring your version of Firefox to use the extension does not make much sense.
Post wrangler
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."
Post Reply