/usr/include/thunderbird-11.0.1/nsIAutoCompleteInput.h is in thunderbird-dev 11.0.1+build1-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mozilla/toolkit/components/autocomplete/nsIAutoCompleteInput.idl
*/
#ifndef __gen_nsIAutoCompleteInput_h__
#define __gen_nsIAutoCompleteInput_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
#ifndef __gen_nsIAutoCompleteController_h__
#include "nsIAutoCompleteController.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIAutoCompletePopup; /* forward declaration */
/* starting interface: nsIAutoCompleteInput */
#define NS_IAUTOCOMPLETEINPUT_IID_STR "f5eddd39-f8e0-43b7-bc3d-03623f595e52"
#define NS_IAUTOCOMPLETEINPUT_IID \
{0xf5eddd39, 0xf8e0, 0x43b7, \
{ 0xbc, 0x3d, 0x03, 0x62, 0x3f, 0x59, 0x5e, 0x52 }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIAutoCompleteInput : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IAUTOCOMPLETEINPUT_IID)
/* readonly attribute nsIAutoCompletePopup popup; */
NS_SCRIPTABLE NS_IMETHOD GetPopup(nsIAutoCompletePopup * *aPopup) = 0;
/* readonly attribute nsIAutoCompleteController controller; */
NS_SCRIPTABLE NS_IMETHOD GetController(nsIAutoCompleteController * *aController) = 0;
/* attribute boolean popupOpen; */
NS_SCRIPTABLE NS_IMETHOD GetPopupOpen(bool *aPopupOpen) = 0;
NS_SCRIPTABLE NS_IMETHOD SetPopupOpen(bool aPopupOpen) = 0;
/* attribute boolean disableAutoComplete; */
NS_SCRIPTABLE NS_IMETHOD GetDisableAutoComplete(bool *aDisableAutoComplete) = 0;
NS_SCRIPTABLE NS_IMETHOD SetDisableAutoComplete(bool aDisableAutoComplete) = 0;
/* attribute boolean completeDefaultIndex; */
NS_SCRIPTABLE NS_IMETHOD GetCompleteDefaultIndex(bool *aCompleteDefaultIndex) = 0;
NS_SCRIPTABLE NS_IMETHOD SetCompleteDefaultIndex(bool aCompleteDefaultIndex) = 0;
/* attribute boolean completeSelectedIndex; */
NS_SCRIPTABLE NS_IMETHOD GetCompleteSelectedIndex(bool *aCompleteSelectedIndex) = 0;
NS_SCRIPTABLE NS_IMETHOD SetCompleteSelectedIndex(bool aCompleteSelectedIndex) = 0;
/* attribute boolean forceComplete; */
NS_SCRIPTABLE NS_IMETHOD GetForceComplete(bool *aForceComplete) = 0;
NS_SCRIPTABLE NS_IMETHOD SetForceComplete(bool aForceComplete) = 0;
/* attribute unsigned long minResultsForPopup; */
NS_SCRIPTABLE NS_IMETHOD GetMinResultsForPopup(PRUint32 *aMinResultsForPopup) = 0;
NS_SCRIPTABLE NS_IMETHOD SetMinResultsForPopup(PRUint32 aMinResultsForPopup) = 0;
/* attribute unsigned long maxRows; */
NS_SCRIPTABLE NS_IMETHOD GetMaxRows(PRUint32 *aMaxRows) = 0;
NS_SCRIPTABLE NS_IMETHOD SetMaxRows(PRUint32 aMaxRows) = 0;
/* attribute boolean showCommentColumn; */
NS_SCRIPTABLE NS_IMETHOD GetShowCommentColumn(bool *aShowCommentColumn) = 0;
NS_SCRIPTABLE NS_IMETHOD SetShowCommentColumn(bool aShowCommentColumn) = 0;
/* attribute boolean showImageColumn; */
NS_SCRIPTABLE NS_IMETHOD GetShowImageColumn(bool *aShowImageColumn) = 0;
NS_SCRIPTABLE NS_IMETHOD SetShowImageColumn(bool aShowImageColumn) = 0;
/* attribute unsigned long timeout; */
NS_SCRIPTABLE NS_IMETHOD GetTimeout(PRUint32 *aTimeout) = 0;
NS_SCRIPTABLE NS_IMETHOD SetTimeout(PRUint32 aTimeout) = 0;
/* attribute AString searchParam; */
NS_SCRIPTABLE NS_IMETHOD GetSearchParam(nsAString & aSearchParam) = 0;
NS_SCRIPTABLE NS_IMETHOD SetSearchParam(const nsAString & aSearchParam) = 0;
/* readonly attribute unsigned long searchCount; */
NS_SCRIPTABLE NS_IMETHOD GetSearchCount(PRUint32 *aSearchCount) = 0;
/* ACString getSearchAt (in unsigned long index); */
NS_SCRIPTABLE NS_IMETHOD GetSearchAt(PRUint32 index, nsACString & _retval NS_OUTPARAM) = 0;
/* attribute AString textValue; */
NS_SCRIPTABLE NS_IMETHOD GetTextValue(nsAString & aTextValue) = 0;
NS_SCRIPTABLE NS_IMETHOD SetTextValue(const nsAString & aTextValue) = 0;
/* readonly attribute long selectionStart; */
NS_SCRIPTABLE NS_IMETHOD GetSelectionStart(PRInt32 *aSelectionStart) = 0;
/* readonly attribute long selectionEnd; */
NS_SCRIPTABLE NS_IMETHOD GetSelectionEnd(PRInt32 *aSelectionEnd) = 0;
/* void selectTextRange (in long startIndex, in long endIndex); */
NS_SCRIPTABLE NS_IMETHOD SelectTextRange(PRInt32 startIndex, PRInt32 endIndex) = 0;
/* void onSearchBegin (); */
NS_SCRIPTABLE NS_IMETHOD OnSearchBegin(void) = 0;
/* void onSearchComplete (); */
NS_SCRIPTABLE NS_IMETHOD OnSearchComplete(void) = 0;
/* boolean onTextEntered (); */
NS_SCRIPTABLE NS_IMETHOD OnTextEntered(bool *_retval NS_OUTPARAM) = 0;
/* boolean onTextReverted (); */
NS_SCRIPTABLE NS_IMETHOD OnTextReverted(bool *_retval NS_OUTPARAM) = 0;
/* readonly attribute boolean consumeRollupEvent; */
NS_SCRIPTABLE NS_IMETHOD GetConsumeRollupEvent(bool *aConsumeRollupEvent) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIAutoCompleteInput, NS_IAUTOCOMPLETEINPUT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIAUTOCOMPLETEINPUT \
NS_SCRIPTABLE NS_IMETHOD GetPopup(nsIAutoCompletePopup * *aPopup); \
NS_SCRIPTABLE NS_IMETHOD GetController(nsIAutoCompleteController * *aController); \
NS_SCRIPTABLE NS_IMETHOD GetPopupOpen(bool *aPopupOpen); \
NS_SCRIPTABLE NS_IMETHOD SetPopupOpen(bool aPopupOpen); \
NS_SCRIPTABLE NS_IMETHOD GetDisableAutoComplete(bool *aDisableAutoComplete); \
NS_SCRIPTABLE NS_IMETHOD SetDisableAutoComplete(bool aDisableAutoComplete); \
NS_SCRIPTABLE NS_IMETHOD GetCompleteDefaultIndex(bool *aCompleteDefaultIndex); \
NS_SCRIPTABLE NS_IMETHOD SetCompleteDefaultIndex(bool aCompleteDefaultIndex); \
NS_SCRIPTABLE NS_IMETHOD GetCompleteSelectedIndex(bool *aCompleteSelectedIndex); \
NS_SCRIPTABLE NS_IMETHOD SetCompleteSelectedIndex(bool aCompleteSelectedIndex); \
NS_SCRIPTABLE NS_IMETHOD GetForceComplete(bool *aForceComplete); \
NS_SCRIPTABLE NS_IMETHOD SetForceComplete(bool aForceComplete); \
NS_SCRIPTABLE NS_IMETHOD GetMinResultsForPopup(PRUint32 *aMinResultsForPopup); \
NS_SCRIPTABLE NS_IMETHOD SetMinResultsForPopup(PRUint32 aMinResultsForPopup); \
NS_SCRIPTABLE NS_IMETHOD GetMaxRows(PRUint32 *aMaxRows); \
NS_SCRIPTABLE NS_IMETHOD SetMaxRows(PRUint32 aMaxRows); \
NS_SCRIPTABLE NS_IMETHOD GetShowCommentColumn(bool *aShowCommentColumn); \
NS_SCRIPTABLE NS_IMETHOD SetShowCommentColumn(bool aShowCommentColumn); \
NS_SCRIPTABLE NS_IMETHOD GetShowImageColumn(bool *aShowImageColumn); \
NS_SCRIPTABLE NS_IMETHOD SetShowImageColumn(bool aShowImageColumn); \
NS_SCRIPTABLE NS_IMETHOD GetTimeout(PRUint32 *aTimeout); \
NS_SCRIPTABLE NS_IMETHOD SetTimeout(PRUint32 aTimeout); \
NS_SCRIPTABLE NS_IMETHOD GetSearchParam(nsAString & aSearchParam); \
NS_SCRIPTABLE NS_IMETHOD SetSearchParam(const nsAString & aSearchParam); \
NS_SCRIPTABLE NS_IMETHOD GetSearchCount(PRUint32 *aSearchCount); \
NS_SCRIPTABLE NS_IMETHOD GetSearchAt(PRUint32 index, nsACString & _retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD GetTextValue(nsAString & aTextValue); \
NS_SCRIPTABLE NS_IMETHOD SetTextValue(const nsAString & aTextValue); \
NS_SCRIPTABLE NS_IMETHOD GetSelectionStart(PRInt32 *aSelectionStart); \
NS_SCRIPTABLE NS_IMETHOD GetSelectionEnd(PRInt32 *aSelectionEnd); \
NS_SCRIPTABLE NS_IMETHOD SelectTextRange(PRInt32 startIndex, PRInt32 endIndex); \
NS_SCRIPTABLE NS_IMETHOD OnSearchBegin(void); \
NS_SCRIPTABLE NS_IMETHOD OnSearchComplete(void); \
NS_SCRIPTABLE NS_IMETHOD OnTextEntered(bool *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD OnTextReverted(bool *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD GetConsumeRollupEvent(bool *aConsumeRollupEvent);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIAUTOCOMPLETEINPUT(_to) \
NS_SCRIPTABLE NS_IMETHOD GetPopup(nsIAutoCompletePopup * *aPopup) { return _to GetPopup(aPopup); } \
NS_SCRIPTABLE NS_IMETHOD GetController(nsIAutoCompleteController * *aController) { return _to GetController(aController); } \
NS_SCRIPTABLE NS_IMETHOD GetPopupOpen(bool *aPopupOpen) { return _to GetPopupOpen(aPopupOpen); } \
NS_SCRIPTABLE NS_IMETHOD SetPopupOpen(bool aPopupOpen) { return _to SetPopupOpen(aPopupOpen); } \
NS_SCRIPTABLE NS_IMETHOD GetDisableAutoComplete(bool *aDisableAutoComplete) { return _to GetDisableAutoComplete(aDisableAutoComplete); } \
NS_SCRIPTABLE NS_IMETHOD SetDisableAutoComplete(bool aDisableAutoComplete) { return _to SetDisableAutoComplete(aDisableAutoComplete); } \
NS_SCRIPTABLE NS_IMETHOD GetCompleteDefaultIndex(bool *aCompleteDefaultIndex) { return _to GetCompleteDefaultIndex(aCompleteDefaultIndex); } \
NS_SCRIPTABLE NS_IMETHOD SetCompleteDefaultIndex(bool aCompleteDefaultIndex) { return _to SetCompleteDefaultIndex(aCompleteDefaultIndex); } \
NS_SCRIPTABLE NS_IMETHOD GetCompleteSelectedIndex(bool *aCompleteSelectedIndex) { return _to GetCompleteSelectedIndex(aCompleteSelectedIndex); } \
NS_SCRIPTABLE NS_IMETHOD SetCompleteSelectedIndex(bool aCompleteSelectedIndex) { return _to SetCompleteSelectedIndex(aCompleteSelectedIndex); } \
NS_SCRIPTABLE NS_IMETHOD GetForceComplete(bool *aForceComplete) { return _to GetForceComplete(aForceComplete); } \
NS_SCRIPTABLE NS_IMETHOD SetForceComplete(bool aForceComplete) { return _to SetForceComplete(aForceComplete); } \
NS_SCRIPTABLE NS_IMETHOD GetMinResultsForPopup(PRUint32 *aMinResultsForPopup) { return _to GetMinResultsForPopup(aMinResultsForPopup); } \
NS_SCRIPTABLE NS_IMETHOD SetMinResultsForPopup(PRUint32 aMinResultsForPopup) { return _to SetMinResultsForPopup(aMinResultsForPopup); } \
NS_SCRIPTABLE NS_IMETHOD GetMaxRows(PRUint32 *aMaxRows) { return _to GetMaxRows(aMaxRows); } \
NS_SCRIPTABLE NS_IMETHOD SetMaxRows(PRUint32 aMaxRows) { return _to SetMaxRows(aMaxRows); } \
NS_SCRIPTABLE NS_IMETHOD GetShowCommentColumn(bool *aShowCommentColumn) { return _to GetShowCommentColumn(aShowCommentColumn); } \
NS_SCRIPTABLE NS_IMETHOD SetShowCommentColumn(bool aShowCommentColumn) { return _to SetShowCommentColumn(aShowCommentColumn); } \
NS_SCRIPTABLE NS_IMETHOD GetShowImageColumn(bool *aShowImageColumn) { return _to GetShowImageColumn(aShowImageColumn); } \
NS_SCRIPTABLE NS_IMETHOD SetShowImageColumn(bool aShowImageColumn) { return _to SetShowImageColumn(aShowImageColumn); } \
NS_SCRIPTABLE NS_IMETHOD GetTimeout(PRUint32 *aTimeout) { return _to GetTimeout(aTimeout); } \
NS_SCRIPTABLE NS_IMETHOD SetTimeout(PRUint32 aTimeout) { return _to SetTimeout(aTimeout); } \
NS_SCRIPTABLE NS_IMETHOD GetSearchParam(nsAString & aSearchParam) { return _to GetSearchParam(aSearchParam); } \
NS_SCRIPTABLE NS_IMETHOD SetSearchParam(const nsAString & aSearchParam) { return _to SetSearchParam(aSearchParam); } \
NS_SCRIPTABLE NS_IMETHOD GetSearchCount(PRUint32 *aSearchCount) { return _to GetSearchCount(aSearchCount); } \
NS_SCRIPTABLE NS_IMETHOD GetSearchAt(PRUint32 index, nsACString & _retval NS_OUTPARAM) { return _to GetSearchAt(index, _retval); } \
NS_SCRIPTABLE NS_IMETHOD GetTextValue(nsAString & aTextValue) { return _to GetTextValue(aTextValue); } \
NS_SCRIPTABLE NS_IMETHOD SetTextValue(const nsAString & aTextValue) { return _to SetTextValue(aTextValue); } \
NS_SCRIPTABLE NS_IMETHOD GetSelectionStart(PRInt32 *aSelectionStart) { return _to GetSelectionStart(aSelectionStart); } \
NS_SCRIPTABLE NS_IMETHOD GetSelectionEnd(PRInt32 *aSelectionEnd) { return _to GetSelectionEnd(aSelectionEnd); } \
NS_SCRIPTABLE NS_IMETHOD SelectTextRange(PRInt32 startIndex, PRInt32 endIndex) { return _to SelectTextRange(startIndex, endIndex); } \
NS_SCRIPTABLE NS_IMETHOD OnSearchBegin(void) { return _to OnSearchBegin(); } \
NS_SCRIPTABLE NS_IMETHOD OnSearchComplete(void) { return _to OnSearchComplete(); } \
NS_SCRIPTABLE NS_IMETHOD OnTextEntered(bool *_retval NS_OUTPARAM) { return _to OnTextEntered(_retval); } \
NS_SCRIPTABLE NS_IMETHOD OnTextReverted(bool *_retval NS_OUTPARAM) { return _to OnTextReverted(_retval); } \
NS_SCRIPTABLE NS_IMETHOD GetConsumeRollupEvent(bool *aConsumeRollupEvent) { return _to GetConsumeRollupEvent(aConsumeRollupEvent); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIAUTOCOMPLETEINPUT(_to) \
NS_SCRIPTABLE NS_IMETHOD GetPopup(nsIAutoCompletePopup * *aPopup) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPopup(aPopup); } \
NS_SCRIPTABLE NS_IMETHOD GetController(nsIAutoCompleteController * *aController) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetController(aController); } \
NS_SCRIPTABLE NS_IMETHOD GetPopupOpen(bool *aPopupOpen) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPopupOpen(aPopupOpen); } \
NS_SCRIPTABLE NS_IMETHOD SetPopupOpen(bool aPopupOpen) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPopupOpen(aPopupOpen); } \
NS_SCRIPTABLE NS_IMETHOD GetDisableAutoComplete(bool *aDisableAutoComplete) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisableAutoComplete(aDisableAutoComplete); } \
NS_SCRIPTABLE NS_IMETHOD SetDisableAutoComplete(bool aDisableAutoComplete) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisableAutoComplete(aDisableAutoComplete); } \
NS_SCRIPTABLE NS_IMETHOD GetCompleteDefaultIndex(bool *aCompleteDefaultIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCompleteDefaultIndex(aCompleteDefaultIndex); } \
NS_SCRIPTABLE NS_IMETHOD SetCompleteDefaultIndex(bool aCompleteDefaultIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCompleteDefaultIndex(aCompleteDefaultIndex); } \
NS_SCRIPTABLE NS_IMETHOD GetCompleteSelectedIndex(bool *aCompleteSelectedIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCompleteSelectedIndex(aCompleteSelectedIndex); } \
NS_SCRIPTABLE NS_IMETHOD SetCompleteSelectedIndex(bool aCompleteSelectedIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCompleteSelectedIndex(aCompleteSelectedIndex); } \
NS_SCRIPTABLE NS_IMETHOD GetForceComplete(bool *aForceComplete) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForceComplete(aForceComplete); } \
NS_SCRIPTABLE NS_IMETHOD SetForceComplete(bool aForceComplete) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetForceComplete(aForceComplete); } \
NS_SCRIPTABLE NS_IMETHOD GetMinResultsForPopup(PRUint32 *aMinResultsForPopup) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMinResultsForPopup(aMinResultsForPopup); } \
NS_SCRIPTABLE NS_IMETHOD SetMinResultsForPopup(PRUint32 aMinResultsForPopup) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMinResultsForPopup(aMinResultsForPopup); } \
NS_SCRIPTABLE NS_IMETHOD GetMaxRows(PRUint32 *aMaxRows) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMaxRows(aMaxRows); } \
NS_SCRIPTABLE NS_IMETHOD SetMaxRows(PRUint32 aMaxRows) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMaxRows(aMaxRows); } \
NS_SCRIPTABLE NS_IMETHOD GetShowCommentColumn(bool *aShowCommentColumn) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowCommentColumn(aShowCommentColumn); } \
NS_SCRIPTABLE NS_IMETHOD SetShowCommentColumn(bool aShowCommentColumn) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowCommentColumn(aShowCommentColumn); } \
NS_SCRIPTABLE NS_IMETHOD GetShowImageColumn(bool *aShowImageColumn) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowImageColumn(aShowImageColumn); } \
NS_SCRIPTABLE NS_IMETHOD SetShowImageColumn(bool aShowImageColumn) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowImageColumn(aShowImageColumn); } \
NS_SCRIPTABLE NS_IMETHOD GetTimeout(PRUint32 *aTimeout) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTimeout(aTimeout); } \
NS_SCRIPTABLE NS_IMETHOD SetTimeout(PRUint32 aTimeout) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTimeout(aTimeout); } \
NS_SCRIPTABLE NS_IMETHOD GetSearchParam(nsAString & aSearchParam) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSearchParam(aSearchParam); } \
NS_SCRIPTABLE NS_IMETHOD SetSearchParam(const nsAString & aSearchParam) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSearchParam(aSearchParam); } \
NS_SCRIPTABLE NS_IMETHOD GetSearchCount(PRUint32 *aSearchCount) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSearchCount(aSearchCount); } \
NS_SCRIPTABLE NS_IMETHOD GetSearchAt(PRUint32 index, nsACString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSearchAt(index, _retval); } \
NS_SCRIPTABLE NS_IMETHOD GetTextValue(nsAString & aTextValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTextValue(aTextValue); } \
NS_SCRIPTABLE NS_IMETHOD SetTextValue(const nsAString & aTextValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTextValue(aTextValue); } \
NS_SCRIPTABLE NS_IMETHOD GetSelectionStart(PRInt32 *aSelectionStart) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectionStart(aSelectionStart); } \
NS_SCRIPTABLE NS_IMETHOD GetSelectionEnd(PRInt32 *aSelectionEnd) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectionEnd(aSelectionEnd); } \
NS_SCRIPTABLE NS_IMETHOD SelectTextRange(PRInt32 startIndex, PRInt32 endIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectTextRange(startIndex, endIndex); } \
NS_SCRIPTABLE NS_IMETHOD OnSearchBegin(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnSearchBegin(); } \
NS_SCRIPTABLE NS_IMETHOD OnSearchComplete(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnSearchComplete(); } \
NS_SCRIPTABLE NS_IMETHOD OnTextEntered(bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnTextEntered(_retval); } \
NS_SCRIPTABLE NS_IMETHOD OnTextReverted(bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnTextReverted(_retval); } \
NS_SCRIPTABLE NS_IMETHOD GetConsumeRollupEvent(bool *aConsumeRollupEvent) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetConsumeRollupEvent(aConsumeRollupEvent); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsAutoCompleteInput : public nsIAutoCompleteInput
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIAUTOCOMPLETEINPUT
nsAutoCompleteInput();
private:
~nsAutoCompleteInput();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsAutoCompleteInput, nsIAutoCompleteInput)
nsAutoCompleteInput::nsAutoCompleteInput()
{
/* member initializers and constructor code */
}
nsAutoCompleteInput::~nsAutoCompleteInput()
{
/* destructor code */
}
/* readonly attribute nsIAutoCompletePopup popup; */
NS_IMETHODIMP nsAutoCompleteInput::GetPopup(nsIAutoCompletePopup * *aPopup)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIAutoCompleteController controller; */
NS_IMETHODIMP nsAutoCompleteInput::GetController(nsIAutoCompleteController * *aController)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean popupOpen; */
NS_IMETHODIMP nsAutoCompleteInput::GetPopupOpen(bool *aPopupOpen)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAutoCompleteInput::SetPopupOpen(bool aPopupOpen)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean disableAutoComplete; */
NS_IMETHODIMP nsAutoCompleteInput::GetDisableAutoComplete(bool *aDisableAutoComplete)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAutoCompleteInput::SetDisableAutoComplete(bool aDisableAutoComplete)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean completeDefaultIndex; */
NS_IMETHODIMP nsAutoCompleteInput::GetCompleteDefaultIndex(bool *aCompleteDefaultIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAutoCompleteInput::SetCompleteDefaultIndex(bool aCompleteDefaultIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean completeSelectedIndex; */
NS_IMETHODIMP nsAutoCompleteInput::GetCompleteSelectedIndex(bool *aCompleteSelectedIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAutoCompleteInput::SetCompleteSelectedIndex(bool aCompleteSelectedIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean forceComplete; */
NS_IMETHODIMP nsAutoCompleteInput::GetForceComplete(bool *aForceComplete)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAutoCompleteInput::SetForceComplete(bool aForceComplete)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute unsigned long minResultsForPopup; */
NS_IMETHODIMP nsAutoCompleteInput::GetMinResultsForPopup(PRUint32 *aMinResultsForPopup)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAutoCompleteInput::SetMinResultsForPopup(PRUint32 aMinResultsForPopup)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute unsigned long maxRows; */
NS_IMETHODIMP nsAutoCompleteInput::GetMaxRows(PRUint32 *aMaxRows)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAutoCompleteInput::SetMaxRows(PRUint32 aMaxRows)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean showCommentColumn; */
NS_IMETHODIMP nsAutoCompleteInput::GetShowCommentColumn(bool *aShowCommentColumn)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAutoCompleteInput::SetShowCommentColumn(bool aShowCommentColumn)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean showImageColumn; */
NS_IMETHODIMP nsAutoCompleteInput::GetShowImageColumn(bool *aShowImageColumn)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAutoCompleteInput::SetShowImageColumn(bool aShowImageColumn)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute unsigned long timeout; */
NS_IMETHODIMP nsAutoCompleteInput::GetTimeout(PRUint32 *aTimeout)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAutoCompleteInput::SetTimeout(PRUint32 aTimeout)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AString searchParam; */
NS_IMETHODIMP nsAutoCompleteInput::GetSearchParam(nsAString & aSearchParam)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAutoCompleteInput::SetSearchParam(const nsAString & aSearchParam)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned long searchCount; */
NS_IMETHODIMP nsAutoCompleteInput::GetSearchCount(PRUint32 *aSearchCount)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* ACString getSearchAt (in unsigned long index); */
NS_IMETHODIMP nsAutoCompleteInput::GetSearchAt(PRUint32 index, nsACString & _retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AString textValue; */
NS_IMETHODIMP nsAutoCompleteInput::GetTextValue(nsAString & aTextValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAutoCompleteInput::SetTextValue(const nsAString & aTextValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long selectionStart; */
NS_IMETHODIMP nsAutoCompleteInput::GetSelectionStart(PRInt32 *aSelectionStart)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long selectionEnd; */
NS_IMETHODIMP nsAutoCompleteInput::GetSelectionEnd(PRInt32 *aSelectionEnd)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void selectTextRange (in long startIndex, in long endIndex); */
NS_IMETHODIMP nsAutoCompleteInput::SelectTextRange(PRInt32 startIndex, PRInt32 endIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void onSearchBegin (); */
NS_IMETHODIMP nsAutoCompleteInput::OnSearchBegin()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void onSearchComplete (); */
NS_IMETHODIMP nsAutoCompleteInput::OnSearchComplete()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean onTextEntered (); */
NS_IMETHODIMP nsAutoCompleteInput::OnTextEntered(bool *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean onTextReverted (); */
NS_IMETHODIMP nsAutoCompleteInput::OnTextReverted(bool *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean consumeRollupEvent; */
NS_IMETHODIMP nsAutoCompleteInput::GetConsumeRollupEvent(bool *aConsumeRollupEvent)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIAutoCompleteInput_h__ */
|