overlay.js File Reference

Go to the source code of this file.

Functions

 if (shouldAutoEnable &&gRemoteControlService.isSupported)
 
 catch (e)
 
 if (!gRemoteControlService.isSupported)
 
function ToggleAppleRemote ()
 
function onPrefPaneLoad ()
 

Variables

var Cc = Components.classes
 
var Ci = Components.interfaces
 
var isListening = false
 
var gRemoteControlService
 
var gPrefService
 
var shouldAutoEnable = false
 
 try
 

Function Documentation

catch (   e)

Definition at line 60 of file overlay.js.

if ( shouldAutoEnable &&gRemoteControlService.  isSupported)

Definition at line 45 of file overlay.js.

Here is the call graph for this function:

if ( !gRemoteControlService.  isSupported)

Definition at line 68 of file overlay.js.

Here is the call graph for this function:

function onPrefPaneLoad ( )

Definition at line 97 of file overlay.js.

function ToggleAppleRemote ( )

Definition at line 82 of file overlay.js.

Variable Documentation

var Cc = Components.classes

Definition at line 27 of file overlay.js.

Definition at line 28 of file overlay.js.

var gPrefService
Initial value:
= Cc["@mozilla.org/preferences-service;1"]
.getService(Ci.nsIPrefBranch2)
var Ci
Definition: overlay.js:28
var Cc
Definition: overlay.js:27

Definition at line 34 of file overlay.js.

var gRemoteControlService
Initial value:
= Cc["@songbirdnest.com/mac-remote-service;1"]
.getService(Ci.sbIAppleRemoteService)
var Ci
Definition: overlay.js:28
var Cc
Definition: overlay.js:27

Definition at line 32 of file overlay.js.

var isListening = false

Definition at line 30 of file overlay.js.

var shouldAutoEnable = false

Definition at line 40 of file overlay.js.

try
Initial value:
{
gPrefService.getBoolPref("extensions.apple-remote.autoenable")
var gPrefService
Definition: overlay.js:34
var shouldAutoEnable
Definition: overlay.js:40

Definition at line 41 of file overlay.js.