mozilla

Compare Revisions

AddonManager

Change Revisions

Revision 65138:

Revision 65138 by Erikgotts50 on

Revision 65139:

Revision 65139 by Mossop on

Title:
AddonManager
AddonManager
Slug:
Addons/Add-on_Manager/AddonManager
Addons/Add-on_Manager/AddonManager
Tags:
NeedsTechnicalReview, Add-ons, NeedsEditorialReview, Interfaces, Interfaces:Scriptable, "Add-on Manager"
NeedsTechnicalReview, Add-ons, NeedsEditorialReview, Interfaces, Interfaces:Scriptable, "Add-on Manager"
Content:

Revision 65138
Revision 65139
nn97        <tr>
98          <td>
99            <code>void <a href="#addTypeListener()">addTypeListen
 >er</a>(in {{ AMInterface("TypeListener") }} listener)</code>{{ ge
 >cko_minversion_inline("6") }}
100          </td>
101        </tr>
102        <tr>
103          <td>
104            <code>void <a href="#removeTypeListener()">removeType
 >Listener</a>(in {{ AMInterface("TypeListener") }} listener)</code
 >>{{ gecko_minversion_inline("6") }}
105          </td>
106        </tr>
nn397    </p>
398    <p>
387    </p>&lt;meta charset="utf-8"/&gt;399      &lt;meta charset="utf-8"/&gt;
400    </p>
tt1160    <h3>
1161      addTypeListener(){{ gecko_minversion_inline("6") }}
1162    </h3>
1163    <p>
1164      Adds a new {{ AMInterface("TypeListener") }} if the listene
 >r is not already registered.
1165    </p>
1166    <pre>
1167void addTypeListener(
1168  in {{AMInterface("TypeListener")}} listener
1169)
1170</pre>
1171    <h6>
1172      Parameters
1173    </h6>
1174    <dl>
1175      <dt>
1176        listener
1177      </dt>
1178      <dd>
1179        The {{ AMInterface("TypeListener") }} to add
1180      </dd>
1181    </dl>
1182    <h3>
1183      removeTypeListener(){{ gecko_minversion_inline("6") }}
1184    </h3>
1185    <p>
1186      Removes an {{ AMInterface("TypeListener") }} if the listene
 >r is registered.
1187    </p>
1188    <pre>
1189void removeTypeListener(
1190  in {{AMInterface("TypeListener")}} listener
1191)
1192</pre>
1193    <h6>
1194      Parameters
1195    </h6>
1196    <dl>
1197      <dt>
1198        listener
1199      </dt>
1200      <dd>
1201        The {{ AMInterface("TypeListener") }} to remove
1202      </dd>
1203    </dl>

Back to History