Closed
Bug 24870
Opened 25 years ago
Closed 25 years ago
notify arbitrary components at startup
Categories
(Core Graveyard :: Tracking, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
M15
People
(Reporter: alecf, Assigned: sspitzer)
References
Details
(Keywords: verifyme)
per #11185, we should allow an arbitrary component to get command line
arguments.
The functionality already exists for actually retrieving the command line (via
the nsICmdLineService, so what we need is a way for an application to be
notified at boot time that the app has started, so it can process any
startup-oriented command lines, such as -chatzilla or something
my proposal would be to use the category manager. During registration (using the
Generic Module reg/unreg hooks) components could register CIDs in the category
manager as "startup components" and then during startup, we'd enumerate all the
members of that category, and initialize them.
This is almost exactly how the appshell components work (mozilla/xpfe/appshell)
except that the appshell components are hardcoded to some wierd place in the
registry. Once this facility exists, we should convert the appshell components
as well.
Assignee | ||
Comment 3•25 years ago
|
||
I'm waiting for scc to land his new implementation of the category manager.
right now, I can't access it from C++.
but I'm getting all the pieces together in my local tree, so once he does land,
I'll be close to landing.
Target Milestone: M16 → M14
Assignee | ||
Comment 4•25 years ago
|
||
this works now. next step is to do the work for -chat and -aim and -remote
Assignee | ||
Comment 5•25 years ago
|
||
will do -aim and -chat and -remote in m15.
Target Milestone: M14 → M15
Assignee | ||
Comment 6•25 years ago
|
||
this is fixed, and got fixed a while ago.
I'll create new bugs for -chat.
a bug already exists for -remote.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•