Bug 354330 - nsIPref should have @status DEPRECATED
patch by Magnus Melin <mkmelin+mozilla@iki.fi> r=timeless, sr=biesi git-svn-id: svn://10.0.0.236/trunk@219528 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
82cc2200b9
commit
f7f5613b85
@ -44,14 +44,8 @@ interface nsIFileSpec;
|
||||
#include "nsIPrefService.idl"
|
||||
#include "nsIPrefBranch.idl"
|
||||
|
||||
/*
|
||||
* This entire interface is deprecated and should not be used.
|
||||
* See nsIPrefService and nsIPrefBranch for the new implementations.
|
||||
*/
|
||||
|
||||
%{C++
|
||||
|
||||
|
||||
#ifndef have_PrefChangedFunc_typedef
|
||||
typedef int (*PR_CALLBACK PrefChangedFunc)(const char *, void *);
|
||||
#define have_PrefChangedFunc_typedef
|
||||
@ -76,7 +70,12 @@ typedef void (*PrefEnumerationFunc)(const char *, void *);
|
||||
native PrefChangedFunc(PrefChangedFunc);
|
||||
native PrefEnumerationFunc(PrefEnumerationFunc);
|
||||
|
||||
|
||||
/**
|
||||
* This entire interface is deprecated and should not be used.
|
||||
* See nsIPrefService and nsIPrefBranch for the new implementations.
|
||||
*
|
||||
* @status DEPRECATED Replaced by nsIPrefService and nsIPrefBranch
|
||||
*/
|
||||
[scriptable, uuid(a22ad7b0-ca86-11d1-a9a4-00805f8a7ac4)]
|
||||
interface nsIPref : nsISupports {
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user