Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
nsITheme.h File Reference
#include "nsISupports.h"
#include "nsCOMPtr.h"
#include "nsColor.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsITheme

Defines

#define NS_ITHEME_IID   { 0x75220e36, 0xb77a, 0x464c, { 0xbd, 0x82, 0x98, 0x8c, 0xf8, 0x63, 0x91, 0xcc } }
#define NS_THEMERENDERER_CID   { 0xd930e29b, 0x6909, 0x44e5, { 0xab, 0x4b, 0xaf, 0x10, 0xd6, 0x92, 0x37, 0x5 } }

Functions

NS_METHOD NS_NewNativeTheme (nsISupports *aOuter, REFNSIID aIID, void **aResult)

Define Documentation

#define NS_ITHEME_IID   { 0x75220e36, 0xb77a, 0x464c, { 0xbd, 0x82, 0x98, 0x8c, 0xf8, 0x63, 0x91, 0xcc } }

Definition at line 59 of file nsITheme.h.

#define NS_THEMERENDERER_CID   { 0xd930e29b, 0x6909, 0x44e5, { 0xab, 0x4b, 0xaf, 0x10, 0xd6, 0x92, 0x37, 0x5 } }

Definition at line 63 of file nsITheme.h.


Function Documentation

NS_METHOD NS_NewNativeTheme ( nsISupports *  aOuter,
REFNSIID  aIID,
void **  aResult 
)

Definition at line 1699 of file nsNativeThemeWin.cpp.

{
  if (aOuter)
    return NS_ERROR_NO_AGGREGATION;

  nsNativeThemeWin* theme = new nsNativeThemeWin();
  if (!theme)
    return NS_ERROR_OUT_OF_MEMORY;
  return theme->QueryInterface(aIID, aResult);
}