cal Namespace Reference


Classes

class  UTF8StringEnumerator
class  XpcomBase
 Common base class for XPCOM object implementations:
  • disallows public deletion (virtual protected dtor)
  • disallows copy semantics (no assignment, no copy ctor).
More...

Functions

 NS_IMPL_ISUPPORTS1 (UTF8StringEnumerator, nsIUTF8StringEnumerator) NS_IMETHODIMP UTF8StringEnumerator
nsresult createUTF8StringEnumerator (nsAutoPtr< nsCStringArray > &takeOverArray, nsIUTF8StringEnumerator **ppRet)
 Creates a UTF8 string enumerator.
nsCOMPtr< calIICSService > constgetICSService ()
 Gets the global ICS service.
nsCOMPtr< calITimezoneService >
const
getTimezoneService ()
 Gets the global timezone service.
nsCOMPtr< calITimezone > constfloating ()
 Gets the "floating" timezone.
nsCOMPtr< calITimezone > constUTC ()
 Gets the "UTC" timezone.
nsCOMPtr< calITimezonedetectTimezone (icaltimetype const &icalt, calITimezoneProvider *tzProvider)
 Detects the timezone icalt refers to, either using the passed timezone provider or the global timezone service.
icaltimezonegetIcalTimezone (calITimezone *tz)
 Returns the libical VTIMEZONE component, null if floating.
NSCAP_BOOL sameXpcomObject (nsISupports *i1_, nsISupports *i2_)
 Tests whether two interface pointers refer to the same object.


Function Documentation

cal::NS_IMPL_ISUPPORTS1 ( UTF8StringEnumerator  ,
nsIUTF8StringEnumerator   
)

nsresult cal::createUTF8StringEnumerator ( nsAutoPtr< nsCStringArray > &  takeOverArray,
nsIUTF8StringEnumerator **  ppRet 
)

Parameters:
takeOverArray a C string array that is taken over by the resulting string enumerator object (nsAutoPtr passes over ownership)
ppRet returned enumerator object

nsCOMPtr< calIICSService > const & cal::getICSService (  ) 

nsCOMPtr< calITimezoneService > const & cal::getTimezoneService (  ) 

nsCOMPtr< calITimezone > const & cal::floating (  ) 

nsCOMPtr< calITimezone > const & cal::UTC (  ) 

nsCOMPtr< calITimezone > cal::detectTimezone ( icaltimetype const icalt,
calITimezoneProvider tzProvider 
)

Parameters:
icalt an icaltime
tzProvider timezone provider or null which defaults to the timezone service

icaltimezone * cal::getIcalTimezone ( calITimezone tz  ) 

Attention:
Every timezone provider needs to use calICSService for creating its timezone components since we need to stick to the same libical.

NSCAP_BOOL cal::sameXpcomObject ( nsISupports i1_,
nsISupports i2_ 
) [inline]


Generated Mozilla by doxygen 1.5.6