Back to index

lightning-sunbird  0.9+nobinonly
Classes | Namespaces | Defines | Typedefs | Functions
calUtils.h File Reference
#include "nsMemory.h"
#include "nsCRTGlue.h"
#include "nsStringAPI.h"
#include "nsAutoPtr.h"
#include "nsVoidArray.h"
#include "nsIStringEnumerator.h"
#include "calITimezone.h"
#include "calITimezoneProvider.h"
#include "calIICSService.h"
#include "nsIConsoleService.h"
#include "nsCOMPtr.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  cal::XpcomBase
 Common base class for XPCOM object implementations: More...


namespace  cal


#define CAL_STRLEN_ARGS(x)   x, sizeof(x)-1


typedef struct _icaltimezone
typedef struct icaltimetype


nsresult cal::createUTF8StringEnumerator (nsAutoPtr< nsCStringArray > &takeOverArray, nsIUTF8StringEnumerator **ppRet)
 Creates a UTF8 string enumerator.
nsresult cal::logError (PRUnichar const *msg)
 Logs an error.
nsresult cal::logError (char const *msg)
nsresult cal::logError (nsACString const &msg)
nsresult cal::logWarning (PRUnichar const *msg)
 Logs a warning.
nsresult cal::logWarning (char const *msg)
nsresult cal::logWarning (nsACString const &msg)
nsresult cal::log (PRUnichar const *msg)
 Just logs.
nsresult cal::log (char const *msg)
nsresult cal::log (nsACString const &msg)
nsCOMPtr< nsIConsoleService >
cal::getConsoleService ()
 Gets the global console service.
nsCOMPtr< calIICSService > constcal::getICSService ()
 Gets the global ICS service.
nsCOMPtr< calITimezoneService >
cal::getTimezoneService ()
 Gets the global timezone service.
nsCOMPtr< calITimezone > constcal::floating ()
 Gets the "floating" timezone.
nsCOMPtr< calITimezone > constcal::UTC ()
 Gets the "UTC" timezone.
icaltimezone * cal::getIcalTimezone (calITimezone *tz)
 Returns the libical VTIMEZONE component, null if floating.
nsCOMPtr< calITimezonecal::detectTimezone (icaltimetype const &icalt, calITimezoneProvider *tzProvider)
 Detects the timezone icalt refers to, either using the passed timezone provider or the global timezone service.
void cal::logMissingTimezone (char const *tzid)
 Logs a missing timezone into the js console.

Define Documentation

Definition at line 60 of file calUtils.h.

#define CAL_STRLEN_ARGS (   x)    x, sizeof(x)-1

Definition at line 59 of file calUtils.h.

Typedef Documentation

typedef struct _icaltimezone

Definition at line 62 of file calUtils.h.

typedef struct icaltimetype

Definition at line 63 of file calUtils.h.