Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines
IHTMLLocationImpl.h File Reference
#include "nsIDOMLocation.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  IHTMLLocationImpl< T >


#define IHTMLLOCATION_PUT_IMPL(prop)   return E_NOTIMPL;

Define Documentation

if (!p) return E_INVALIDARG; \
    nsCOMPtr<nsIDOMLocation> location; \
    if (NS_FAILED(GetDOMLocation(getter_AddRefs(location))) || !location) \
        return E_UNEXPECTED; \
    nsAutoString value; \
    NS_ENSURE_SUCCESS(location->Get ## prop(value), E_UNEXPECTED); \
    *p = ::SysAllocString(value.get()); \
    return (*p) ? S_OK : E_OUTOFMEMORY;

Definition at line 44 of file IHTMLLocationImpl.h.

#define IHTMLLOCATION_PUT_IMPL (   prop)    return E_NOTIMPL;

Definition at line 54 of file IHTMLLocationImpl.h.