⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nsiprofileinternalold.h

📁 JDesktop Integration Components (JDIC)
💻 H
📖 第 1 页 / 共 2 页
字号:
  NS_IMETHOD GetDefaultProfileParentDir(nsIFile * *aDefaultProfileParentDir) { return _to GetDefaultProfileParentDir(aDefaultProfileParentDir); } \  NS_IMETHOD GetFirstProfile(PRUnichar * *aFirstProfile) { return _to GetFirstProfile(aFirstProfile); } \  NS_IMETHOD GetStartWithLastUsedProfile(PRBool *aStartWithLastUsedProfile) { return _to GetStartWithLastUsedProfile(aStartWithLastUsedProfile); } \  NS_IMETHOD SetStartWithLastUsedProfile(PRBool aStartWithLastUsedProfile) { return _to SetStartWithLastUsedProfile(aStartWithLastUsedProfile); } \  NS_IMETHOD UpdateRegistry(nsIFile *regName) { return _to UpdateRegistry(regName); } \  NS_IMETHOD GetRegStrings(const PRUnichar *profileName, PRUnichar **regString, PRUnichar **regName, PRUnichar **regEmail, PRUnichar **regOption) { return _to GetRegStrings(profileName, regString, regName, regEmail, regOption); } \  NS_IMETHOD SetRegStrings(const PRUnichar *profileName, const PRUnichar *regString, const PRUnichar *regName, const PRUnichar *regEmail, const PRUnichar *regOption) { return _to SetRegStrings(profileName, regString, regName, regEmail, regOption); } \  NS_IMETHOD IsRegStringSet(const PRUnichar *profileName, char **_retval) { return _to IsRegStringSet(profileName, _retval); } \  NS_IMETHOD CreateNewProfileWithLocales(const PRUnichar *profileName, const PRUnichar *nativeProfileDir, const PRUnichar *UILocale, const PRUnichar *contentLocale, PRBool useExistingDir) { return _to CreateNewProfileWithLocales(profileName, nativeProfileDir, UILocale, contentLocale, useExistingDir); } \  NS_IMETHOD IsCurrentProfileAvailable(PRBool *_retval) { return _to IsCurrentProfileAvailable(_retval); } \  NS_IMETHOD GetCurrentProfileDir(nsIFile **profileDir) { return _to GetCurrentProfileDir(profileDir); } /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */#define NS_FORWARD_SAFE_NSIPROFILEINTERNAL(_to) \  NS_IMETHOD StartupWithArgs(nsICmdLineService *cmdLine, PRBool canInteract) { return !_to ? NS_ERROR_NULL_POINTER : _to->StartupWithArgs(cmdLine, canInteract); } \  NS_IMETHOD GetIsStartingUp(PRBool *aIsStartingUp) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsStartingUp(aIsStartingUp); } \  NS_IMETHOD Get4xProfileCount(PRInt32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->Get4xProfileCount(_retval); } \  NS_IMETHOD GetProfileListX(PRUint32 which, PRUint32 *length, PRUnichar ***profileNames) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProfileListX(which, length, profileNames); } \  NS_IMETHOD MigrateProfileInfo(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->MigrateProfileInfo(); } \  NS_IMETHOD MigrateAllProfiles(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->MigrateAllProfiles(); } \  NS_IMETHOD MigrateProfile(const PRUnichar *profileName) { return !_to ? NS_ERROR_NULL_POINTER : _to->MigrateProfile(profileName); } \  NS_IMETHOD RemigrateProfile(const PRUnichar *profileName) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemigrateProfile(profileName); } \  NS_IMETHOD ForgetCurrentProfile(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ForgetCurrentProfile(); } \  NS_IMETHOD GetProfileDir(const PRUnichar *profileName, nsIFile **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProfileDir(profileName, _retval); } \  NS_IMETHOD GetProfilePath(const PRUnichar *profileName, PRUnichar **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProfilePath(profileName, _retval); } \  NS_IMETHOD GetOriginalProfileDir(const PRUnichar *profileName, nsILocalFile **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOriginalProfileDir(profileName, _retval); } \  NS_IMETHOD GetProfileLastModTime(const PRUnichar *profileName, PRInt64 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProfileLastModTime(profileName, _retval); } \  NS_IMETHOD GetAutomigrate(PRBool *aAutomigrate) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutomigrate(aAutomigrate); } \  NS_IMETHOD SetAutomigrate(PRBool aAutomigrate) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAutomigrate(aAutomigrate); } \  NS_IMETHOD GetDefaultProfileParentDir(nsIFile * *aDefaultProfileParentDir) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultProfileParentDir(aDefaultProfileParentDir); } \  NS_IMETHOD GetFirstProfile(PRUnichar * *aFirstProfile) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFirstProfile(aFirstProfile); } \  NS_IMETHOD GetStartWithLastUsedProfile(PRBool *aStartWithLastUsedProfile) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStartWithLastUsedProfile(aStartWithLastUsedProfile); } \  NS_IMETHOD SetStartWithLastUsedProfile(PRBool aStartWithLastUsedProfile) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStartWithLastUsedProfile(aStartWithLastUsedProfile); } \  NS_IMETHOD UpdateRegistry(nsIFile *regName) { return !_to ? NS_ERROR_NULL_POINTER : _to->UpdateRegistry(regName); } \  NS_IMETHOD GetRegStrings(const PRUnichar *profileName, PRUnichar **regString, PRUnichar **regName, PRUnichar **regEmail, PRUnichar **regOption) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRegStrings(profileName, regString, regName, regEmail, regOption); } \  NS_IMETHOD SetRegStrings(const PRUnichar *profileName, const PRUnichar *regString, const PRUnichar *regName, const PRUnichar *regEmail, const PRUnichar *regOption) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRegStrings(profileName, regString, regName, regEmail, regOption); } \  NS_IMETHOD IsRegStringSet(const PRUnichar *profileName, char **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsRegStringSet(profileName, _retval); } \  NS_IMETHOD CreateNewProfileWithLocales(const PRUnichar *profileName, const PRUnichar *nativeProfileDir, const PRUnichar *UILocale, const PRUnichar *contentLocale, PRBool useExistingDir) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateNewProfileWithLocales(profileName, nativeProfileDir, UILocale, contentLocale, useExistingDir); } \  NS_IMETHOD IsCurrentProfileAvailable(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsCurrentProfileAvailable(_retval); } \  NS_IMETHOD GetCurrentProfileDir(nsIFile **profileDir) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentProfileDir(profileDir); } #if 0/* Use the code below as a template for the implementation class for this interface. *//* Header file */class nsProfileInternal : public nsIProfileInternalOld{public:  NS_DECL_ISUPPORTS  NS_DECL_NSIPROFILEINTERNAL  nsProfileInternal();  virtual ~nsProfileInternal();  /* additional members */};/* Implementation file */NS_IMPL_ISUPPORTS1(nsProfileInternal, nsIProfileInternalOld)nsProfileInternal::nsProfileInternal(){  /* member initializers and constructor code */}nsProfileInternal::~nsProfileInternal(){  /* destructor code */}/* [noscript] void startupWithArgs (in nsICmdLineService cmdLine, in boolean canInteract); */NS_IMETHODIMP nsProfileInternal::StartupWithArgs(nsICmdLineService *cmdLine, PRBool canInteract){    return NS_ERROR_NOT_IMPLEMENTED;}/* [noscript] readonly attribute boolean isStartingUp; */NS_IMETHODIMP nsProfileInternal::GetIsStartingUp(PRBool *aIsStartingUp){    return NS_ERROR_NOT_IMPLEMENTED;}/* long get4xProfileCount (); */NS_IMETHODIMP nsProfileInternal::Get4xProfileCount(PRInt32 *_retval){    return NS_ERROR_NOT_IMPLEMENTED;}/* void getProfileListX (in unsigned long which, out unsigned long length, [array, size_is (length), retval] out wstring profileNames); */NS_IMETHODIMP nsProfileInternal::GetProfileListX(PRUint32 which, PRUint32 *length, PRUnichar ***profileNames){    return NS_ERROR_NOT_IMPLEMENTED;}/* void migrateProfileInfo (); */NS_IMETHODIMP nsProfileInternal::MigrateProfileInfo(){    return NS_ERROR_NOT_IMPLEMENTED;}/* void migrateAllProfiles (); */NS_IMETHODIMP nsProfileInternal::MigrateAllProfiles(){    return NS_ERROR_NOT_IMPLEMENTED;}/* void migrateProfile (in wstring profileName); */NS_IMETHODIMP nsProfileInternal::MigrateProfile(const PRUnichar *profileName){    return NS_ERROR_NOT_IMPLEMENTED;}/* void remigrateProfile (in wstring profileName); */NS_IMETHODIMP nsProfileInternal::RemigrateProfile(const PRUnichar *profileName){    return NS_ERROR_NOT_IMPLEMENTED;}/* void forgetCurrentProfile (); */NS_IMETHODIMP nsProfileInternal::ForgetCurrentProfile(){    return NS_ERROR_NOT_IMPLEMENTED;}/* nsIFile getProfileDir (in wstring profileName); */NS_IMETHODIMP nsProfileInternal::GetProfileDir(const PRUnichar *profileName, nsIFile **_retval){    return NS_ERROR_NOT_IMPLEMENTED;}/* wstring getProfilePath (in wstring profileName); */NS_IMETHODIMP nsProfileInternal::GetProfilePath(const PRUnichar *profileName, PRUnichar **_retval){    return NS_ERROR_NOT_IMPLEMENTED;}/* nsILocalFile getOriginalProfileDir (in wstring profileName); */NS_IMETHODIMP nsProfileInternal::GetOriginalProfileDir(const PRUnichar *profileName, nsILocalFile **_retval){    return NS_ERROR_NOT_IMPLEMENTED;}/* PRInt64 getProfileLastModTime (in wstring profileName); */NS_IMETHODIMP nsProfileInternal::GetProfileLastModTime(const PRUnichar *profileName, PRInt64 *_retval){    return NS_ERROR_NOT_IMPLEMENTED;}/* attribute boolean automigrate; */NS_IMETHODIMP nsProfileInternal::GetAutomigrate(PRBool *aAutomigrate){    return NS_ERROR_NOT_IMPLEMENTED;}NS_IMETHODIMP nsProfileInternal::SetAutomigrate(PRBool aAutomigrate){    return NS_ERROR_NOT_IMPLEMENTED;}/* readonly attribute nsIFile defaultProfileParentDir; */NS_IMETHODIMP nsProfileInternal::GetDefaultProfileParentDir(nsIFile * *aDefaultProfileParentDir){    return NS_ERROR_NOT_IMPLEMENTED;}/* readonly attribute wstring firstProfile; */NS_IMETHODIMP nsProfileInternal::GetFirstProfile(PRUnichar * *aFirstProfile){    return NS_ERROR_NOT_IMPLEMENTED;}/* attribute boolean startWithLastUsedProfile; */NS_IMETHODIMP nsProfileInternal::GetStartWithLastUsedProfile(PRBool *aStartWithLastUsedProfile){    return NS_ERROR_NOT_IMPLEMENTED;}NS_IMETHODIMP nsProfileInternal::SetStartWithLastUsedProfile(PRBool aStartWithLastUsedProfile){    return NS_ERROR_NOT_IMPLEMENTED;}/* [noscript] void updateRegistry (in nsIFile regName); */NS_IMETHODIMP nsProfileInternal::UpdateRegistry(nsIFile *regName){    return NS_ERROR_NOT_IMPLEMENTED;}/* [noscript] void getRegStrings (in wstring profileName, out wstring regString, out wstring regName, out wstring regEmail, out wstring regOption); */NS_IMETHODIMP nsProfileInternal::GetRegStrings(const PRUnichar *profileName, PRUnichar **regString, PRUnichar **regName, PRUnichar **regEmail, PRUnichar **regOption){    return NS_ERROR_NOT_IMPLEMENTED;}/* [noscript] void setRegStrings (in wstring profileName, in wstring regString, in wstring regName, in wstring regEmail, in wstring regOption); */NS_IMETHODIMP nsProfileInternal::SetRegStrings(const PRUnichar *profileName, const PRUnichar *regString, const PRUnichar *regName, const PRUnichar *regEmail, const PRUnichar *regOption){    return NS_ERROR_NOT_IMPLEMENTED;}/* [noscript] string isRegStringSet (in wstring profileName); */NS_IMETHODIMP nsProfileInternal::IsRegStringSet(const PRUnichar *profileName, char **_retval){    return NS_ERROR_NOT_IMPLEMENTED;}/* void createNewProfileWithLocales (in wstring profileName, in wstring nativeProfileDir, in wstring UILocale, in wstring contentLocale, in boolean useExistingDir); */NS_IMETHODIMP nsProfileInternal::CreateNewProfileWithLocales(const PRUnichar *profileName, const PRUnichar *nativeProfileDir, const PRUnichar *UILocale, const PRUnichar *contentLocale, PRBool useExistingDir){    return NS_ERROR_NOT_IMPLEMENTED;}/* boolean isCurrentProfileAvailable (); */NS_IMETHODIMP nsProfileInternal::IsCurrentProfileAvailable(PRBool *_retval){    return NS_ERROR_NOT_IMPLEMENTED;}/* [noscript] void getCurrentProfileDir (out nsIFile profileDir); */NS_IMETHODIMP nsProfileInternal::GetCurrentProfileDir(nsIFile **profileDir){    return NS_ERROR_NOT_IMPLEMENTED;}/* End of implementation class template. */#endif#endif /* __gen_nsIProfileInternalOld_h__ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -