зеркало из https://github.com/mozilla/gecko-dev.git
Bug 656826 part.2 Rename nsPrefService.cpp and move nsPrefService.h to public r=roc+bsmedberg
--HG-- rename : modules/libpref/src/nsPrefService.h => modules/libpref/public/Preferences.h rename : modules/libpref/src/nsPrefService.cpp => modules/libpref/src/Preferences.cpp
This commit is contained in:
Родитель
fdf7ec7096
Коммит
f7fff3eea0
|
@ -45,6 +45,8 @@ include $(DEPTH)/config/autoconf.mk
|
|||
MODULE = pref
|
||||
GRE_MODULE = 1
|
||||
|
||||
EXPORTS_NAMESPACES = mozilla
|
||||
|
||||
SDK_XPIDLSRCS = \
|
||||
nsIPrefService.idl \
|
||||
nsIPrefBranch.idl \
|
||||
|
@ -59,7 +61,11 @@ XPIDLSRCS = \
|
|||
|
||||
EXPORTS = \
|
||||
PPrefTuple.h \
|
||||
PrefTuple.h
|
||||
PrefTuple.h \
|
||||
$(NULL)
|
||||
|
||||
EXPORTS_mozilla = \
|
||||
Preferences.h \
|
||||
$(NULL)
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
|
|
@ -37,8 +37,12 @@
|
|||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef nsPrefService_h__
|
||||
#define nsPrefService_h__
|
||||
#ifndef mozilla_Preferences_h
|
||||
#define mozilla_Preferences_h
|
||||
|
||||
#ifndef MOZILLA_INTERNAL_API
|
||||
#error "This header is only usable from within libxul (MOZILLA_INTERNAL_API)."
|
||||
#endif
|
||||
|
||||
#include "nsIPrefService.h"
|
||||
#include "nsIPrefBranch.h"
|
||||
|
@ -87,4 +91,4 @@ private:
|
|||
|
||||
} // namespace mozilla
|
||||
|
||||
#endif // nsPrefService_h__
|
||||
#endif // mozilla_Preferences_h
|
|
@ -55,10 +55,10 @@ LIBXUL_LIBRARY = 1
|
|||
|
||||
CPPSRCS = \
|
||||
nsPrefBranch.cpp \
|
||||
nsPrefService.cpp \
|
||||
nsPrefsFactory.cpp \
|
||||
prefapi.cpp \
|
||||
prefread.cpp \
|
||||
Preferences.cpp \
|
||||
$(NULL)
|
||||
|
||||
DEFINES += -DOS_ARCH=$(OS_ARCH) \
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
#include "mozilla/dom/ContentChild.h"
|
||||
#include "nsXULAppAPI.h"
|
||||
|
||||
#include "nsPrefService.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "nsAppDirectoryServiceDefs.h"
|
||||
#include "nsDirectoryServiceDefs.h"
|
||||
#include "nsICategoryManager.h"
|
|
@ -37,7 +37,7 @@
|
|||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#include "mozilla/ModuleUtils.h"
|
||||
#include "nsPrefService.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "nsPrefBranch.h"
|
||||
#include "prefapi.h"
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче