Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions | Variables
nsMinimoDesktop.cpp File Reference
#include "nsGenericFactory.h"
#include "nsIMinimoDesktop.h"
#include "nsString.h"
#include "nsIFile.h"

Go to the source code of this file.

Classes

class  MinimoDesktop
class  device_connection

Defines

#define MinimoDesktop_CID
#define MinimoDesktop_ContractID   "@mozilla.org/minimoDesktop;1"

Functions

PRBool device_connect ()
void device_disconnect ()

Variables

static const nsModuleComponentInfo components []

Define Documentation

Value:
{ 0x178e2513, 0x957c, 0x4e1b, \
{ 0x81, 0xf4, 0x11, 0x18, 0x35, 0x49, 0xc3, 0xd2 } }

Definition at line 351 of file nsMinimoDesktop.cpp.

#define MinimoDesktop_ContractID   "@mozilla.org/minimoDesktop;1"

Definition at line 355 of file nsMinimoDesktop.cpp.


Function Documentation

Definition at line 62 of file nsMinimoDesktop.cpp.

{
#ifdef WIN32
  HRESULT hRapiResult = CeRapiInit();
  if (hRapiResult == E_FAIL)
    return PR_FALSE;
  return PR_TRUE;
#else
  return PR_FALSE;
#endif
}

Here is the caller graph for this function:

Definition at line 74 of file nsMinimoDesktop.cpp.

{
  CeRapiUninit();
}

Here is the caller graph for this function:


Variable Documentation

Initial value:
{
  { "MinimoDesktop", 
    MinimoDesktop_CID, 
    MinimoDesktop_ContractID,
    MinimoDesktopConstructor,
    nsnull,
    nsnull
  }
  
}

Definition at line 361 of file nsMinimoDesktop.cpp.