view dwt/internal/mozilla/nsICategoryManager.d @ 327:b0d7eb5bd76c

Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
author John Reimer <terminal.node@gmail.com>
date Fri, 02 Jan 2009 17:45:10 -0800
parents
children
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 ]};

interface nsICategoryManager : nsISupports {

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

extern(System):
  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);
}