KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21573/task/21573/root/proc/21572/root/usr/include/xulrunner-17.0.10/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21573/task/21573/root/proc/21572/root/usr/include/xulrunner-17.0.10/nsIProfile.h
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builddir/build/BUILD/xulrunner-17.0.10/mozilla-esr17/profile/public/nsIProfile.idl
 */

#ifndef __gen_nsIProfile_h__
#define __gen_nsIProfile_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

#ifndef __gen_nsIFile_h__
#include "nsIFile.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
      
#define NS_PROFILE_CID                                 \
  { /* {02b0625b-e7f3-11d2-9f5a-006008a6efe9} */       \
    0x02b0625b,                                        \
    0xe7f3,                                            \
    0x11d2,                                            \
    { 0x9f, 0x5a, 0x00, 0x60, 0x08, 0xa6, 0xef, 0xe9 } \
  }
#define NS_PROFILE_CONTRACTID	\
	"@mozilla.org/profile/manager;1"
#define NS_PROFILE_STARTUP_CATEGORY \
        "profile-startup-category"

/* starting interface:    nsIProfile */
#define NS_IPROFILE_IID_STR "02b0625a-e7f3-11d2-9f5a-006008a6efe9"

#define NS_IPROFILE_IID \
  {0x02b0625a, 0xe7f3, 0x11d2, \
    { 0x9f, 0x5a, 0x00, 0x60, 0x08, 0xa6, 0xef, 0xe9 }}

class NS_NO_VTABLE nsIProfile : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPROFILE_IID)

  /* readonly attribute long profileCount; */
  NS_IMETHOD GetProfileCount(int32_t *aProfileCount) = 0;

  /* void getProfileList (out unsigned long length, [array, size_is (length), retval] out wstring profileNames); */
  NS_IMETHOD GetProfileList(uint32_t *length, PRUnichar * **profileNames) = 0;

  /* boolean profileExists (in wstring profileName); */
  NS_IMETHOD ProfileExists(const PRUnichar * profileName, bool *_retval) = 0;

  /* attribute wstring currentProfile; */
  NS_IMETHOD GetCurrentProfile(PRUnichar * *aCurrentProfile) = 0;
  NS_IMETHOD SetCurrentProfile(const PRUnichar * aCurrentProfile) = 0;

  enum {
    SHUTDOWN_PERSIST = 1U,
    SHUTDOWN_CLEANSE = 2U
  };

  /* void shutDownCurrentProfile (in unsigned long shutDownType); */
  NS_IMETHOD ShutDownCurrentProfile(uint32_t shutDownType) = 0;

  /* void createNewProfile (in wstring profileName, in wstring nativeProfileDir, in wstring langcode, in boolean useExistingDir); */
  NS_IMETHOD CreateNewProfile(const PRUnichar * profileName, const PRUnichar * nativeProfileDir, const PRUnichar * langcode, bool useExistingDir) = 0;

  /* void renameProfile (in wstring oldName, in wstring newName); */
  NS_IMETHOD RenameProfile(const PRUnichar * oldName, const PRUnichar * newName) = 0;

  /* void deleteProfile (in wstring name, in boolean canDeleteFiles); */
  NS_IMETHOD DeleteProfile(const PRUnichar * name, bool canDeleteFiles) = 0;

  /* void cloneProfile (in wstring profileName); */
  NS_IMETHOD CloneProfile(const PRUnichar * profileName) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIProfile, NS_IPROFILE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIPROFILE \
  NS_IMETHOD GetProfileCount(int32_t *aProfileCount); \
  NS_IMETHOD GetProfileList(uint32_t *length, PRUnichar * **profileNames); \
  NS_IMETHOD ProfileExists(const PRUnichar * profileName, bool *_retval); \
  NS_IMETHOD GetCurrentProfile(PRUnichar * *aCurrentProfile); \
  NS_IMETHOD SetCurrentProfile(const PRUnichar * aCurrentProfile); \
  NS_IMETHOD ShutDownCurrentProfile(uint32_t shutDownType); \
  NS_IMETHOD CreateNewProfile(const PRUnichar * profileName, const PRUnichar * nativeProfileDir, const PRUnichar * langcode, bool useExistingDir); \
  NS_IMETHOD RenameProfile(const PRUnichar * oldName, const PRUnichar * newName); \
  NS_IMETHOD DeleteProfile(const PRUnichar * name, bool canDeleteFiles); \
  NS_IMETHOD CloneProfile(const PRUnichar * profileName); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIPROFILE(_to) \
  NS_IMETHOD GetProfileCount(int32_t *aProfileCount) { return _to GetProfileCount(aProfileCount); } \
  NS_IMETHOD GetProfileList(uint32_t *length, PRUnichar * **profileNames) { return _to GetProfileList(length, profileNames); } \
  NS_IMETHOD ProfileExists(const PRUnichar * profileName, bool *_retval) { return _to ProfileExists(profileName, _retval); } \
  NS_IMETHOD GetCurrentProfile(PRUnichar * *aCurrentProfile) { return _to GetCurrentProfile(aCurrentProfile); } \
  NS_IMETHOD SetCurrentProfile(const PRUnichar * aCurrentProfile) { return _to SetCurrentProfile(aCurrentProfile); } \
  NS_IMETHOD ShutDownCurrentProfile(uint32_t shutDownType) { return _to ShutDownCurrentProfile(shutDownType); } \
  NS_IMETHOD CreateNewProfile(const PRUnichar * profileName, const PRUnichar * nativeProfileDir, const PRUnichar * langcode, bool useExistingDir) { return _to CreateNewProfile(profileName, nativeProfileDir, langcode, useExistingDir); } \
  NS_IMETHOD RenameProfile(const PRUnichar * oldName, const PRUnichar * newName) { return _to RenameProfile(oldName, newName); } \
  NS_IMETHOD DeleteProfile(const PRUnichar * name, bool canDeleteFiles) { return _to DeleteProfile(name, canDeleteFiles); } \
  NS_IMETHOD CloneProfile(const PRUnichar * profileName) { return _to CloneProfile(profileName); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIPROFILE(_to) \
  NS_IMETHOD GetProfileCount(int32_t *aProfileCount) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProfileCount(aProfileCount); } \
  NS_IMETHOD GetProfileList(uint32_t *length, PRUnichar * **profileNames) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProfileList(length, profileNames); } \
  NS_IMETHOD ProfileExists(const PRUnichar * profileName, bool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->ProfileExists(profileName, _retval); } \
  NS_IMETHOD GetCurrentProfile(PRUnichar * *aCurrentProfile) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentProfile(aCurrentProfile); } \
  NS_IMETHOD SetCurrentProfile(const PRUnichar * aCurrentProfile) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCurrentProfile(aCurrentProfile); } \
  NS_IMETHOD ShutDownCurrentProfile(uint32_t shutDownType) { return !_to ? NS_ERROR_NULL_POINTER : _to->ShutDownCurrentProfile(shutDownType); } \
  NS_IMETHOD CreateNewProfile(const PRUnichar * profileName, const PRUnichar * nativeProfileDir, const PRUnichar * langcode, bool useExistingDir) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateNewProfile(profileName, nativeProfileDir, langcode, useExistingDir); } \
  NS_IMETHOD RenameProfile(const PRUnichar * oldName, const PRUnichar * newName) { return !_to ? NS_ERROR_NULL_POINTER : _to->RenameProfile(oldName, newName); } \
  NS_IMETHOD DeleteProfile(const PRUnichar * name, bool canDeleteFiles) { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteProfile(name, canDeleteFiles); } \
  NS_IMETHOD CloneProfile(const PRUnichar * profileName) { return !_to ? NS_ERROR_NULL_POINTER : _to->CloneProfile(profileName); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsProfile : public nsIProfile
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIPROFILE

  nsProfile();

private:
  ~nsProfile();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsProfile, nsIProfile)

nsProfile::nsProfile()
{
  /* member initializers and constructor code */
}

nsProfile::~nsProfile()
{
  /* destructor code */
}

/* readonly attribute long profileCount; */
NS_IMETHODIMP nsProfile::GetProfileCount(int32_t *aProfileCount)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getProfileList (out unsigned long length, [array, size_is (length), retval] out wstring profileNames); */
NS_IMETHODIMP nsProfile::GetProfileList(uint32_t *length, PRUnichar * **profileNames)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean profileExists (in wstring profileName); */
NS_IMETHODIMP nsProfile::ProfileExists(const PRUnichar * profileName, bool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute wstring currentProfile; */
NS_IMETHODIMP nsProfile::GetCurrentProfile(PRUnichar * *aCurrentProfile)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsProfile::SetCurrentProfile(const PRUnichar * aCurrentProfile)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void shutDownCurrentProfile (in unsigned long shutDownType); */
NS_IMETHODIMP nsProfile::ShutDownCurrentProfile(uint32_t shutDownType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void createNewProfile (in wstring profileName, in wstring nativeProfileDir, in wstring langcode, in boolean useExistingDir); */
NS_IMETHODIMP nsProfile::CreateNewProfile(const PRUnichar * profileName, const PRUnichar * nativeProfileDir, const PRUnichar * langcode, bool useExistingDir)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void renameProfile (in wstring oldName, in wstring newName); */
NS_IMETHODIMP nsProfile::RenameProfile(const PRUnichar * oldName, const PRUnichar * newName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void deleteProfile (in wstring name, in boolean canDeleteFiles); */
NS_IMETHODIMP nsProfile::DeleteProfile(const PRUnichar * name, bool canDeleteFiles)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void cloneProfile (in wstring profileName); */
NS_IMETHODIMP nsProfile::CloneProfile(const PRUnichar * profileName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_nsIProfile_h__ */

Anon7 - 2021