DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/imIUserStatusInfo.idl
 */

#ifndef __gen_imIUserStatusInfo_h__
#define __gen_imIUserStatusInfo_h__


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

#ifndef __gen_nsIObserver_h__
#include "nsIObserver.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIFile; /* forward declaration */

class nsIFileURL; /* forward declaration */


/* starting interface:    imIUserStatusInfo */
#define IMIUSERSTATUSINFO_IID_STR "817918fa-1f4b-4254-9cdb-f906da91c45d"

#define IMIUSERSTATUSINFO_IID \
  {0x817918fa, 0x1f4b, 0x4254, \
    { 0x9c, 0xdb, 0xf9, 0x06, 0xda, 0x91, 0xc4, 0x5d }}

class NS_NO_VTABLE imIUserStatusInfo : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(IMIUSERSTATUSINFO_IID)

  /* readonly attribute AUTF8String statusText; */
  NS_IMETHOD GetStatusText(nsACString & aStatusText) = 0;

  /* readonly attribute short statusType; */
  NS_IMETHOD GetStatusType(int16_t *aStatusType) = 0;

  /* void setStatus (in short aStatus, in AUTF8String aMessage); */
  NS_IMETHOD SetStatus(int16_t aStatus, const nsACString & aMessage) = 0;

  /* void setUserIcon (in nsIFile aIconFile); */
  NS_IMETHOD SetUserIcon(nsIFile *aIconFile) = 0;

  /* nsIFileURL getUserIcon (); */
  NS_IMETHOD GetUserIcon(nsIFileURL * *_retval) = 0;

  /* attribute AUTF8String displayName; */
  NS_IMETHOD GetDisplayName(nsACString & aDisplayName) = 0;
  NS_IMETHOD SetDisplayName(const nsACString & aDisplayName) = 0;

  /* void addObserver (in nsIObserver aObserver); */
  NS_IMETHOD AddObserver(nsIObserver *aObserver) = 0;

  /* void removeObserver (in nsIObserver aObserver); */
  NS_IMETHOD RemoveObserver(nsIObserver *aObserver) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(imIUserStatusInfo, IMIUSERSTATUSINFO_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_IMIUSERSTATUSINFO \
  NS_IMETHOD GetStatusText(nsACString & aStatusText) override; \
  NS_IMETHOD GetStatusType(int16_t *aStatusType) override; \
  NS_IMETHOD SetStatus(int16_t aStatus, const nsACString & aMessage) override; \
  NS_IMETHOD SetUserIcon(nsIFile *aIconFile) override; \
  NS_IMETHOD GetUserIcon(nsIFileURL * *_retval) override; \
  NS_IMETHOD GetDisplayName(nsACString & aDisplayName) override; \
  NS_IMETHOD SetDisplayName(const nsACString & aDisplayName) override; \
  NS_IMETHOD AddObserver(nsIObserver *aObserver) override; \
  NS_IMETHOD RemoveObserver(nsIObserver *aObserver) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_IMIUSERSTATUSINFO \
  nsresult GetStatusText(nsACString & aStatusText); \
  nsresult GetStatusType(int16_t *aStatusType); \
  nsresult SetStatus(int16_t aStatus, const nsACString & aMessage); \
  nsresult SetUserIcon(nsIFile *aIconFile); \
  nsresult GetUserIcon(nsIFileURL * *_retval); \
  nsresult GetDisplayName(nsACString & aDisplayName); \
  nsresult SetDisplayName(const nsACString & aDisplayName); \
  nsresult AddObserver(nsIObserver *aObserver); \
  nsresult RemoveObserver(nsIObserver *aObserver); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_IMIUSERSTATUSINFO(_to) \
  NS_IMETHOD GetStatusText(nsACString & aStatusText) override { return _to GetStatusText(aStatusText); } \
  NS_IMETHOD GetStatusType(int16_t *aStatusType) override { return _to GetStatusType(aStatusType); } \
  NS_IMETHOD SetStatus(int16_t aStatus, const nsACString & aMessage) override { return _to SetStatus(aStatus, aMessage); } \
  NS_IMETHOD SetUserIcon(nsIFile *aIconFile) override { return _to SetUserIcon(aIconFile); } \
  NS_IMETHOD GetUserIcon(nsIFileURL * *_retval) override { return _to GetUserIcon(_retval); } \
  NS_IMETHOD GetDisplayName(nsACString & aDisplayName) override { return _to GetDisplayName(aDisplayName); } \
  NS_IMETHOD SetDisplayName(const nsACString & aDisplayName) override { return _to SetDisplayName(aDisplayName); } \
  NS_IMETHOD AddObserver(nsIObserver *aObserver) override { return _to AddObserver(aObserver); } \
  NS_IMETHOD RemoveObserver(nsIObserver *aObserver) override { return _to RemoveObserver(aObserver); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_IMIUSERSTATUSINFO(_to) \
  NS_IMETHOD GetStatusText(nsACString & aStatusText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStatusText(aStatusText); } \
  NS_IMETHOD GetStatusType(int16_t *aStatusType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStatusType(aStatusType); } \
  NS_IMETHOD SetStatus(int16_t aStatus, const nsACString & aMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStatus(aStatus, aMessage); } \
  NS_IMETHOD SetUserIcon(nsIFile *aIconFile) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUserIcon(aIconFile); } \
  NS_IMETHOD GetUserIcon(nsIFileURL * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUserIcon(_retval); } \
  NS_IMETHOD GetDisplayName(nsACString & aDisplayName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisplayName(aDisplayName); } \
  NS_IMETHOD SetDisplayName(const nsACString & aDisplayName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisplayName(aDisplayName); } \
  NS_IMETHOD AddObserver(nsIObserver *aObserver) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddObserver(aObserver); } \
  NS_IMETHOD RemoveObserver(nsIObserver *aObserver) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveObserver(aObserver); } 

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

/* Header file */
class imUserStatusInfo : public imIUserStatusInfo
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_IMIUSERSTATUSINFO

  imUserStatusInfo();

private:
  ~imUserStatusInfo();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(imUserStatusInfo, imIUserStatusInfo)

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

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

/* readonly attribute AUTF8String statusText; */
NS_IMETHODIMP imUserStatusInfo::GetStatusText(nsACString & aStatusText)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute short statusType; */
NS_IMETHODIMP imUserStatusInfo::GetStatusType(int16_t *aStatusType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setStatus (in short aStatus, in AUTF8String aMessage); */
NS_IMETHODIMP imUserStatusInfo::SetStatus(int16_t aStatus, const nsACString & aMessage)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setUserIcon (in nsIFile aIconFile); */
NS_IMETHODIMP imUserStatusInfo::SetUserIcon(nsIFile *aIconFile)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIFileURL getUserIcon (); */
NS_IMETHODIMP imUserStatusInfo::GetUserIcon(nsIFileURL * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AUTF8String displayName; */
NS_IMETHODIMP imUserStatusInfo::GetDisplayName(nsACString & aDisplayName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP imUserStatusInfo::SetDisplayName(const nsACString & aDisplayName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void addObserver (in nsIObserver aObserver); */
NS_IMETHODIMP imUserStatusInfo::AddObserver(nsIObserver *aObserver)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void removeObserver (in nsIObserver aObserver); */
NS_IMETHODIMP imUserStatusInfo::RemoveObserver(nsIObserver *aObserver)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_imIUserStatusInfo_h__ */