view dwt/internal/mozilla/nsICategoryManager.d @ 341:942da4b6558a

Ongoing fixup for compile
author John Reimer <terminal.node@gmail.com>
date Sun, 26 Oct 2008 21:19:51 -0700
parents dd63eb078d7a
children 9a4d7706df52
line wrap: on
line source

module dwt.internal.mozilla.nsICategoryManager;

import dwt.internal.mozilla.Common;
import dwt.internal.mozilla.nsID;
import dwt.internal.mozilla.nsISupports;
import dwt.internal.mozilla.nsISimpleEnumerator;

const char[] NS_ICATEGORYMANAGER_IID_STR = "3275b2cd-af6d-429a-80d7-f0c5120342ac";

const nsIID NS_ICATEGORYMANAGER_IID= 
  {0x3275b2cd, 0xaf6d, 0x429a, 
    [ 0x80, 0xd7, 0xf0, 0xc5, 0x12, 0x03, 0x42, 0xac ]};

//extern(System)

interface nsICategoryManager : nsISupports {

  static const char[] IID_STR = NS_ICATEGORYMANAGER_IID_STR;
  static const nsIID IID = NS_ICATEGORYMANAGER_IID;

  nsresult GetCategoryEntry(char *aCategory, char *aEntry, char **_retval);
  nsresult AddCategoryEntry(char *aCategory, char *aEntry, char *aValue, PRBool aPersist, PRBool aReplace, char **_retval);
  nsresult DeleteCategoryEntry(char *aCategory, char *aEntry, PRBool aPersist);
  nsresult DeleteCategory(char *aCategory);
  nsresult EnumerateCategory(char *aCategory, nsISimpleEnumerator *_retval);
  nsresult EnumerateCategories(nsISimpleEnumerator *_retval);
}