Closed Bug 3936 Opened 25 years ago Closed 25 years ago

nsCommandLineService needs to provide a way to get argv[]

Categories

(Core Graveyard :: Viewer App, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stuartp, Assigned: radha)

Details

(Whiteboard: awaiting information from pavlov@pavlov.net)

this is a follow up to bug #2898

nsCommandLineService does not provide a way to get all of the arguments that are
in argv from main() (or argc). this is needed to properly init GTK with all
command line options.
Status: NEW → ASSIGNED
Shall add methods in nsICommandLine Service for such a facility
wonderful.  thanks.
Target Milestone: M4
Set target milestone to M4.

Radha, do we need to fix this for M4?
Yeah. I would like to make this for M4 so that pavlov is not blocked
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Implemented methods GetArgc() and GetArgv() to nsICmdLineService. Please look at
the file for more info. Marking fixed. Please reopen if this doesn't satify the
gtk needs.
QA Contact: 3853
pavlov, could you verify with latest build ASAP please?
it looks ok, but i was having some stupid problems with it when i tried to
impliment it.  my only concern was if this would work with viewer since the
code for this is in apprunner?  i'll try and finish the stuff tonight.
QA Contact: 4193
Whiteboard: awaiting information from pavlov@pavlov.net
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.