Back to index

lightning-sunbird  0.9+nobinonly
Namespaces | Classes | Functions
Mozilla::Embedding Namespace Reference

Namespaces

namespace  Networking
namespace  WebBrowser
namespace  XPCOM_IO

Classes

class  Gecko
class  ProfileManager

Functions

void ThrowIfFailed (nsresult rv)
StringCopyString (const nsAFlatString &aStr)
StringCopyString (const nsAFlatCString &aStr)
nsAFlatStringCopyString (String *aSrc, nsAFlatString &aDest)
nsAFlatCStringCopyString (String *aSrc, nsAFlatCString &aDest)

Function Documentation

Definition at line 84 of file DotNETEmbed.h.

    {
      return new String(aStr.get(), 0, aStr.Length());
    }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 64 of file DotNETEmbed.cpp.

{
  return new String(aStr.get(), 0, aStr.Length(),
                    UTF8EncodingHolder::sUTF8Encoding);
}

Here is the call graph for this function:

Definition at line 75 of file DotNETEmbed.cpp.

{
  const wchar_t __pin * strbuf = PtrToStringChars(aSrc);

  aDest.Assign(strbuf, aSrc->Length);

  return aDest;
}

Definition at line 85 of file DotNETEmbed.cpp.

{
  const wchar_t __pin * strbuf = PtrToStringChars(aSrc);

  CopyUTF16toUTF8(nsDependentString(strbuf, aSrc->Length), aDest);

  return aDest;
}

Here is the call graph for this function:

Definition at line 95 of file DotNETEmbed.cpp.

{
  if (NS_FAILED(rv)) {
    // XXX: Throw some useful exception here!

    throw "rv is an error code!";
  }
}