LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIAutoCompleteInput.h (source / functions) Found Hit Coverage
Test: app.info Lines: 1 0 0.0 %
Date: 2012-06-02 Functions: 1 0 0.0 %

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/toolkit/components/autocomplete/nsIAutoCompleteInput.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIAutoCompleteInput_h__
       6                 : #define __gen_nsIAutoCompleteInput_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : #ifndef __gen_nsIAutoCompleteController_h__
      14                 : #include "nsIAutoCompleteController.h"
      15                 : #endif
      16                 : 
      17                 : /* For IDL files that don't want to include root IDL files. */
      18                 : #ifndef NS_NO_VTABLE
      19                 : #define NS_NO_VTABLE
      20                 : #endif
      21                 : class nsIAutoCompletePopup; /* forward declaration */
      22                 : 
      23                 : 
      24                 : /* starting interface:    nsIAutoCompleteInput */
      25                 : #define NS_IAUTOCOMPLETEINPUT_IID_STR "f5eddd39-f8e0-43b7-bc3d-03623f595e52"
      26                 : 
      27                 : #define NS_IAUTOCOMPLETEINPUT_IID \
      28                 :   {0xf5eddd39, 0xf8e0, 0x43b7, \
      29                 :     { 0xbc, 0x3d, 0x03, 0x62, 0x3f, 0x59, 0x5e, 0x52 }}
      30                 : 
      31               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIAutoCompleteInput : public nsISupports {
      32                 :  public: 
      33                 : 
      34                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IAUTOCOMPLETEINPUT_IID)
      35                 : 
      36                 :   /* readonly attribute nsIAutoCompletePopup popup; */
      37                 :   NS_SCRIPTABLE NS_IMETHOD GetPopup(nsIAutoCompletePopup * *aPopup) = 0;
      38                 : 
      39                 :   /* readonly attribute nsIAutoCompleteController controller; */
      40                 :   NS_SCRIPTABLE NS_IMETHOD GetController(nsIAutoCompleteController * *aController) = 0;
      41                 : 
      42                 :   /* attribute boolean popupOpen; */
      43                 :   NS_SCRIPTABLE NS_IMETHOD GetPopupOpen(bool *aPopupOpen) = 0;
      44                 :   NS_SCRIPTABLE NS_IMETHOD SetPopupOpen(bool aPopupOpen) = 0;
      45                 : 
      46                 :   /* attribute boolean disableAutoComplete; */
      47                 :   NS_SCRIPTABLE NS_IMETHOD GetDisableAutoComplete(bool *aDisableAutoComplete) = 0;
      48                 :   NS_SCRIPTABLE NS_IMETHOD SetDisableAutoComplete(bool aDisableAutoComplete) = 0;
      49                 : 
      50                 :   /* attribute boolean completeDefaultIndex; */
      51                 :   NS_SCRIPTABLE NS_IMETHOD GetCompleteDefaultIndex(bool *aCompleteDefaultIndex) = 0;
      52                 :   NS_SCRIPTABLE NS_IMETHOD SetCompleteDefaultIndex(bool aCompleteDefaultIndex) = 0;
      53                 : 
      54                 :   /* attribute boolean completeSelectedIndex; */
      55                 :   NS_SCRIPTABLE NS_IMETHOD GetCompleteSelectedIndex(bool *aCompleteSelectedIndex) = 0;
      56                 :   NS_SCRIPTABLE NS_IMETHOD SetCompleteSelectedIndex(bool aCompleteSelectedIndex) = 0;
      57                 : 
      58                 :   /* attribute boolean forceComplete; */
      59                 :   NS_SCRIPTABLE NS_IMETHOD GetForceComplete(bool *aForceComplete) = 0;
      60                 :   NS_SCRIPTABLE NS_IMETHOD SetForceComplete(bool aForceComplete) = 0;
      61                 : 
      62                 :   /* attribute unsigned long minResultsForPopup; */
      63                 :   NS_SCRIPTABLE NS_IMETHOD GetMinResultsForPopup(PRUint32 *aMinResultsForPopup) = 0;
      64                 :   NS_SCRIPTABLE NS_IMETHOD SetMinResultsForPopup(PRUint32 aMinResultsForPopup) = 0;
      65                 : 
      66                 :   /* attribute unsigned long maxRows; */
      67                 :   NS_SCRIPTABLE NS_IMETHOD GetMaxRows(PRUint32 *aMaxRows) = 0;
      68                 :   NS_SCRIPTABLE NS_IMETHOD SetMaxRows(PRUint32 aMaxRows) = 0;
      69                 : 
      70                 :   /* attribute boolean showCommentColumn; */
      71                 :   NS_SCRIPTABLE NS_IMETHOD GetShowCommentColumn(bool *aShowCommentColumn) = 0;
      72                 :   NS_SCRIPTABLE NS_IMETHOD SetShowCommentColumn(bool aShowCommentColumn) = 0;
      73                 : 
      74                 :   /* attribute boolean showImageColumn; */
      75                 :   NS_SCRIPTABLE NS_IMETHOD GetShowImageColumn(bool *aShowImageColumn) = 0;
      76                 :   NS_SCRIPTABLE NS_IMETHOD SetShowImageColumn(bool aShowImageColumn) = 0;
      77                 : 
      78                 :   /* attribute unsigned long timeout; */
      79                 :   NS_SCRIPTABLE NS_IMETHOD GetTimeout(PRUint32 *aTimeout) = 0;
      80                 :   NS_SCRIPTABLE NS_IMETHOD SetTimeout(PRUint32 aTimeout) = 0;
      81                 : 
      82                 :   /* attribute AString searchParam; */
      83                 :   NS_SCRIPTABLE NS_IMETHOD GetSearchParam(nsAString & aSearchParam) = 0;
      84                 :   NS_SCRIPTABLE NS_IMETHOD SetSearchParam(const nsAString & aSearchParam) = 0;
      85                 : 
      86                 :   /* readonly attribute unsigned long searchCount; */
      87                 :   NS_SCRIPTABLE NS_IMETHOD GetSearchCount(PRUint32 *aSearchCount) = 0;
      88                 : 
      89                 :   /* ACString getSearchAt (in unsigned long index); */
      90                 :   NS_SCRIPTABLE NS_IMETHOD GetSearchAt(PRUint32 index, nsACString & _retval NS_OUTPARAM) = 0;
      91                 : 
      92                 :   /* attribute AString textValue; */
      93                 :   NS_SCRIPTABLE NS_IMETHOD GetTextValue(nsAString & aTextValue) = 0;
      94                 :   NS_SCRIPTABLE NS_IMETHOD SetTextValue(const nsAString & aTextValue) = 0;
      95                 : 
      96                 :   /* readonly attribute long selectionStart; */
      97                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectionStart(PRInt32 *aSelectionStart) = 0;
      98                 : 
      99                 :   /* readonly attribute long selectionEnd; */
     100                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectionEnd(PRInt32 *aSelectionEnd) = 0;
     101                 : 
     102                 :   /* void selectTextRange (in long startIndex, in long endIndex); */
     103                 :   NS_SCRIPTABLE NS_IMETHOD SelectTextRange(PRInt32 startIndex, PRInt32 endIndex) = 0;
     104                 : 
     105                 :   /* void onSearchBegin (); */
     106                 :   NS_SCRIPTABLE NS_IMETHOD OnSearchBegin(void) = 0;
     107                 : 
     108                 :   /* void onSearchComplete (); */
     109                 :   NS_SCRIPTABLE NS_IMETHOD OnSearchComplete(void) = 0;
     110                 : 
     111                 :   /* boolean onTextEntered (); */
     112                 :   NS_SCRIPTABLE NS_IMETHOD OnTextEntered(bool *_retval NS_OUTPARAM) = 0;
     113                 : 
     114                 :   /* boolean onTextReverted (); */
     115                 :   NS_SCRIPTABLE NS_IMETHOD OnTextReverted(bool *_retval NS_OUTPARAM) = 0;
     116                 : 
     117                 :   /* readonly attribute boolean consumeRollupEvent; */
     118                 :   NS_SCRIPTABLE NS_IMETHOD GetConsumeRollupEvent(bool *aConsumeRollupEvent) = 0;
     119                 : 
     120                 : };
     121                 : 
     122                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIAutoCompleteInput, NS_IAUTOCOMPLETEINPUT_IID)
     123                 : 
     124                 : /* Use this macro when declaring classes that implement this interface. */
     125                 : #define NS_DECL_NSIAUTOCOMPLETEINPUT \
     126                 :   NS_SCRIPTABLE NS_IMETHOD GetPopup(nsIAutoCompletePopup * *aPopup); \
     127                 :   NS_SCRIPTABLE NS_IMETHOD GetController(nsIAutoCompleteController * *aController); \
     128                 :   NS_SCRIPTABLE NS_IMETHOD GetPopupOpen(bool *aPopupOpen); \
     129                 :   NS_SCRIPTABLE NS_IMETHOD SetPopupOpen(bool aPopupOpen); \
     130                 :   NS_SCRIPTABLE NS_IMETHOD GetDisableAutoComplete(bool *aDisableAutoComplete); \
     131                 :   NS_SCRIPTABLE NS_IMETHOD SetDisableAutoComplete(bool aDisableAutoComplete); \
     132                 :   NS_SCRIPTABLE NS_IMETHOD GetCompleteDefaultIndex(bool *aCompleteDefaultIndex); \
     133                 :   NS_SCRIPTABLE NS_IMETHOD SetCompleteDefaultIndex(bool aCompleteDefaultIndex); \
     134                 :   NS_SCRIPTABLE NS_IMETHOD GetCompleteSelectedIndex(bool *aCompleteSelectedIndex); \
     135                 :   NS_SCRIPTABLE NS_IMETHOD SetCompleteSelectedIndex(bool aCompleteSelectedIndex); \
     136                 :   NS_SCRIPTABLE NS_IMETHOD GetForceComplete(bool *aForceComplete); \
     137                 :   NS_SCRIPTABLE NS_IMETHOD SetForceComplete(bool aForceComplete); \
     138                 :   NS_SCRIPTABLE NS_IMETHOD GetMinResultsForPopup(PRUint32 *aMinResultsForPopup); \
     139                 :   NS_SCRIPTABLE NS_IMETHOD SetMinResultsForPopup(PRUint32 aMinResultsForPopup); \
     140                 :   NS_SCRIPTABLE NS_IMETHOD GetMaxRows(PRUint32 *aMaxRows); \
     141                 :   NS_SCRIPTABLE NS_IMETHOD SetMaxRows(PRUint32 aMaxRows); \
     142                 :   NS_SCRIPTABLE NS_IMETHOD GetShowCommentColumn(bool *aShowCommentColumn); \
     143                 :   NS_SCRIPTABLE NS_IMETHOD SetShowCommentColumn(bool aShowCommentColumn); \
     144                 :   NS_SCRIPTABLE NS_IMETHOD GetShowImageColumn(bool *aShowImageColumn); \
     145                 :   NS_SCRIPTABLE NS_IMETHOD SetShowImageColumn(bool aShowImageColumn); \
     146                 :   NS_SCRIPTABLE NS_IMETHOD GetTimeout(PRUint32 *aTimeout); \
     147                 :   NS_SCRIPTABLE NS_IMETHOD SetTimeout(PRUint32 aTimeout); \
     148                 :   NS_SCRIPTABLE NS_IMETHOD GetSearchParam(nsAString & aSearchParam); \
     149                 :   NS_SCRIPTABLE NS_IMETHOD SetSearchParam(const nsAString & aSearchParam); \
     150                 :   NS_SCRIPTABLE NS_IMETHOD GetSearchCount(PRUint32 *aSearchCount); \
     151                 :   NS_SCRIPTABLE NS_IMETHOD GetSearchAt(PRUint32 index, nsACString & _retval NS_OUTPARAM); \
     152                 :   NS_SCRIPTABLE NS_IMETHOD GetTextValue(nsAString & aTextValue); \
     153                 :   NS_SCRIPTABLE NS_IMETHOD SetTextValue(const nsAString & aTextValue); \
     154                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectionStart(PRInt32 *aSelectionStart); \
     155                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectionEnd(PRInt32 *aSelectionEnd); \
     156                 :   NS_SCRIPTABLE NS_IMETHOD SelectTextRange(PRInt32 startIndex, PRInt32 endIndex); \
     157                 :   NS_SCRIPTABLE NS_IMETHOD OnSearchBegin(void); \
     158                 :   NS_SCRIPTABLE NS_IMETHOD OnSearchComplete(void); \
     159                 :   NS_SCRIPTABLE NS_IMETHOD OnTextEntered(bool *_retval NS_OUTPARAM); \
     160                 :   NS_SCRIPTABLE NS_IMETHOD OnTextReverted(bool *_retval NS_OUTPARAM); \
     161                 :   NS_SCRIPTABLE NS_IMETHOD GetConsumeRollupEvent(bool *aConsumeRollupEvent); 
     162                 : 
     163                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     164                 : #define NS_FORWARD_NSIAUTOCOMPLETEINPUT(_to) \
     165                 :   NS_SCRIPTABLE NS_IMETHOD GetPopup(nsIAutoCompletePopup * *aPopup) { return _to GetPopup(aPopup); } \
     166                 :   NS_SCRIPTABLE NS_IMETHOD GetController(nsIAutoCompleteController * *aController) { return _to GetController(aController); } \
     167                 :   NS_SCRIPTABLE NS_IMETHOD GetPopupOpen(bool *aPopupOpen) { return _to GetPopupOpen(aPopupOpen); } \
     168                 :   NS_SCRIPTABLE NS_IMETHOD SetPopupOpen(bool aPopupOpen) { return _to SetPopupOpen(aPopupOpen); } \
     169                 :   NS_SCRIPTABLE NS_IMETHOD GetDisableAutoComplete(bool *aDisableAutoComplete) { return _to GetDisableAutoComplete(aDisableAutoComplete); } \
     170                 :   NS_SCRIPTABLE NS_IMETHOD SetDisableAutoComplete(bool aDisableAutoComplete) { return _to SetDisableAutoComplete(aDisableAutoComplete); } \
     171                 :   NS_SCRIPTABLE NS_IMETHOD GetCompleteDefaultIndex(bool *aCompleteDefaultIndex) { return _to GetCompleteDefaultIndex(aCompleteDefaultIndex); } \
     172                 :   NS_SCRIPTABLE NS_IMETHOD SetCompleteDefaultIndex(bool aCompleteDefaultIndex) { return _to SetCompleteDefaultIndex(aCompleteDefaultIndex); } \
     173                 :   NS_SCRIPTABLE NS_IMETHOD GetCompleteSelectedIndex(bool *aCompleteSelectedIndex) { return _to GetCompleteSelectedIndex(aCompleteSelectedIndex); } \
     174                 :   NS_SCRIPTABLE NS_IMETHOD SetCompleteSelectedIndex(bool aCompleteSelectedIndex) { return _to SetCompleteSelectedIndex(aCompleteSelectedIndex); } \
     175                 :   NS_SCRIPTABLE NS_IMETHOD GetForceComplete(bool *aForceComplete) { return _to GetForceComplete(aForceComplete); } \
     176                 :   NS_SCRIPTABLE NS_IMETHOD SetForceComplete(bool aForceComplete) { return _to SetForceComplete(aForceComplete); } \
     177                 :   NS_SCRIPTABLE NS_IMETHOD GetMinResultsForPopup(PRUint32 *aMinResultsForPopup) { return _to GetMinResultsForPopup(aMinResultsForPopup); } \
     178                 :   NS_SCRIPTABLE NS_IMETHOD SetMinResultsForPopup(PRUint32 aMinResultsForPopup) { return _to SetMinResultsForPopup(aMinResultsForPopup); } \
     179                 :   NS_SCRIPTABLE NS_IMETHOD GetMaxRows(PRUint32 *aMaxRows) { return _to GetMaxRows(aMaxRows); } \
     180                 :   NS_SCRIPTABLE NS_IMETHOD SetMaxRows(PRUint32 aMaxRows) { return _to SetMaxRows(aMaxRows); } \
     181                 :   NS_SCRIPTABLE NS_IMETHOD GetShowCommentColumn(bool *aShowCommentColumn) { return _to GetShowCommentColumn(aShowCommentColumn); } \
     182                 :   NS_SCRIPTABLE NS_IMETHOD SetShowCommentColumn(bool aShowCommentColumn) { return _to SetShowCommentColumn(aShowCommentColumn); } \
     183                 :   NS_SCRIPTABLE NS_IMETHOD GetShowImageColumn(bool *aShowImageColumn) { return _to GetShowImageColumn(aShowImageColumn); } \
     184                 :   NS_SCRIPTABLE NS_IMETHOD SetShowImageColumn(bool aShowImageColumn) { return _to SetShowImageColumn(aShowImageColumn); } \
     185                 :   NS_SCRIPTABLE NS_IMETHOD GetTimeout(PRUint32 *aTimeout) { return _to GetTimeout(aTimeout); } \
     186                 :   NS_SCRIPTABLE NS_IMETHOD SetTimeout(PRUint32 aTimeout) { return _to SetTimeout(aTimeout); } \
     187                 :   NS_SCRIPTABLE NS_IMETHOD GetSearchParam(nsAString & aSearchParam) { return _to GetSearchParam(aSearchParam); } \
     188                 :   NS_SCRIPTABLE NS_IMETHOD SetSearchParam(const nsAString & aSearchParam) { return _to SetSearchParam(aSearchParam); } \
     189                 :   NS_SCRIPTABLE NS_IMETHOD GetSearchCount(PRUint32 *aSearchCount) { return _to GetSearchCount(aSearchCount); } \
     190                 :   NS_SCRIPTABLE NS_IMETHOD GetSearchAt(PRUint32 index, nsACString & _retval NS_OUTPARAM) { return _to GetSearchAt(index, _retval); } \
     191                 :   NS_SCRIPTABLE NS_IMETHOD GetTextValue(nsAString & aTextValue) { return _to GetTextValue(aTextValue); } \
     192                 :   NS_SCRIPTABLE NS_IMETHOD SetTextValue(const nsAString & aTextValue) { return _to SetTextValue(aTextValue); } \
     193                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectionStart(PRInt32 *aSelectionStart) { return _to GetSelectionStart(aSelectionStart); } \
     194                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectionEnd(PRInt32 *aSelectionEnd) { return _to GetSelectionEnd(aSelectionEnd); } \
     195                 :   NS_SCRIPTABLE NS_IMETHOD SelectTextRange(PRInt32 startIndex, PRInt32 endIndex) { return _to SelectTextRange(startIndex, endIndex); } \
     196                 :   NS_SCRIPTABLE NS_IMETHOD OnSearchBegin(void) { return _to OnSearchBegin(); } \
     197                 :   NS_SCRIPTABLE NS_IMETHOD OnSearchComplete(void) { return _to OnSearchComplete(); } \
     198                 :   NS_SCRIPTABLE NS_IMETHOD OnTextEntered(bool *_retval NS_OUTPARAM) { return _to OnTextEntered(_retval); } \
     199                 :   NS_SCRIPTABLE NS_IMETHOD OnTextReverted(bool *_retval NS_OUTPARAM) { return _to OnTextReverted(_retval); } \
     200                 :   NS_SCRIPTABLE NS_IMETHOD GetConsumeRollupEvent(bool *aConsumeRollupEvent) { return _to GetConsumeRollupEvent(aConsumeRollupEvent); } 
     201                 : 
     202                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     203                 : #define NS_FORWARD_SAFE_NSIAUTOCOMPLETEINPUT(_to) \
     204                 :   NS_SCRIPTABLE NS_IMETHOD GetPopup(nsIAutoCompletePopup * *aPopup) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPopup(aPopup); } \
     205                 :   NS_SCRIPTABLE NS_IMETHOD GetController(nsIAutoCompleteController * *aController) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetController(aController); } \
     206                 :   NS_SCRIPTABLE NS_IMETHOD GetPopupOpen(bool *aPopupOpen) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPopupOpen(aPopupOpen); } \
     207                 :   NS_SCRIPTABLE NS_IMETHOD SetPopupOpen(bool aPopupOpen) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPopupOpen(aPopupOpen); } \
     208                 :   NS_SCRIPTABLE NS_IMETHOD GetDisableAutoComplete(bool *aDisableAutoComplete) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisableAutoComplete(aDisableAutoComplete); } \
     209                 :   NS_SCRIPTABLE NS_IMETHOD SetDisableAutoComplete(bool aDisableAutoComplete) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisableAutoComplete(aDisableAutoComplete); } \
     210                 :   NS_SCRIPTABLE NS_IMETHOD GetCompleteDefaultIndex(bool *aCompleteDefaultIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCompleteDefaultIndex(aCompleteDefaultIndex); } \
     211                 :   NS_SCRIPTABLE NS_IMETHOD SetCompleteDefaultIndex(bool aCompleteDefaultIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCompleteDefaultIndex(aCompleteDefaultIndex); } \
     212                 :   NS_SCRIPTABLE NS_IMETHOD GetCompleteSelectedIndex(bool *aCompleteSelectedIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCompleteSelectedIndex(aCompleteSelectedIndex); } \
     213                 :   NS_SCRIPTABLE NS_IMETHOD SetCompleteSelectedIndex(bool aCompleteSelectedIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCompleteSelectedIndex(aCompleteSelectedIndex); } \
     214                 :   NS_SCRIPTABLE NS_IMETHOD GetForceComplete(bool *aForceComplete) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForceComplete(aForceComplete); } \
     215                 :   NS_SCRIPTABLE NS_IMETHOD SetForceComplete(bool aForceComplete) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetForceComplete(aForceComplete); } \
     216                 :   NS_SCRIPTABLE NS_IMETHOD GetMinResultsForPopup(PRUint32 *aMinResultsForPopup) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMinResultsForPopup(aMinResultsForPopup); } \
     217                 :   NS_SCRIPTABLE NS_IMETHOD SetMinResultsForPopup(PRUint32 aMinResultsForPopup) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMinResultsForPopup(aMinResultsForPopup); } \
     218                 :   NS_SCRIPTABLE NS_IMETHOD GetMaxRows(PRUint32 *aMaxRows) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMaxRows(aMaxRows); } \
     219                 :   NS_SCRIPTABLE NS_IMETHOD SetMaxRows(PRUint32 aMaxRows) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMaxRows(aMaxRows); } \
     220                 :   NS_SCRIPTABLE NS_IMETHOD GetShowCommentColumn(bool *aShowCommentColumn) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowCommentColumn(aShowCommentColumn); } \
     221                 :   NS_SCRIPTABLE NS_IMETHOD SetShowCommentColumn(bool aShowCommentColumn) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowCommentColumn(aShowCommentColumn); } \
     222                 :   NS_SCRIPTABLE NS_IMETHOD GetShowImageColumn(bool *aShowImageColumn) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowImageColumn(aShowImageColumn); } \
     223                 :   NS_SCRIPTABLE NS_IMETHOD SetShowImageColumn(bool aShowImageColumn) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowImageColumn(aShowImageColumn); } \
     224                 :   NS_SCRIPTABLE NS_IMETHOD GetTimeout(PRUint32 *aTimeout) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTimeout(aTimeout); } \
     225                 :   NS_SCRIPTABLE NS_IMETHOD SetTimeout(PRUint32 aTimeout) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTimeout(aTimeout); } \
     226                 :   NS_SCRIPTABLE NS_IMETHOD GetSearchParam(nsAString & aSearchParam) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSearchParam(aSearchParam); } \
     227                 :   NS_SCRIPTABLE NS_IMETHOD SetSearchParam(const nsAString & aSearchParam) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSearchParam(aSearchParam); } \
     228                 :   NS_SCRIPTABLE NS_IMETHOD GetSearchCount(PRUint32 *aSearchCount) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSearchCount(aSearchCount); } \
     229                 :   NS_SCRIPTABLE NS_IMETHOD GetSearchAt(PRUint32 index, nsACString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSearchAt(index, _retval); } \
     230                 :   NS_SCRIPTABLE NS_IMETHOD GetTextValue(nsAString & aTextValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTextValue(aTextValue); } \
     231                 :   NS_SCRIPTABLE NS_IMETHOD SetTextValue(const nsAString & aTextValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTextValue(aTextValue); } \
     232                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectionStart(PRInt32 *aSelectionStart) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectionStart(aSelectionStart); } \
     233                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectionEnd(PRInt32 *aSelectionEnd) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectionEnd(aSelectionEnd); } \
     234                 :   NS_SCRIPTABLE NS_IMETHOD SelectTextRange(PRInt32 startIndex, PRInt32 endIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectTextRange(startIndex, endIndex); } \
     235                 :   NS_SCRIPTABLE NS_IMETHOD OnSearchBegin(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnSearchBegin(); } \
     236                 :   NS_SCRIPTABLE NS_IMETHOD OnSearchComplete(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnSearchComplete(); } \
     237                 :   NS_SCRIPTABLE NS_IMETHOD OnTextEntered(bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnTextEntered(_retval); } \
     238                 :   NS_SCRIPTABLE NS_IMETHOD OnTextReverted(bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnTextReverted(_retval); } \
     239                 :   NS_SCRIPTABLE NS_IMETHOD GetConsumeRollupEvent(bool *aConsumeRollupEvent) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetConsumeRollupEvent(aConsumeRollupEvent); } 
     240                 : 
     241                 : #if 0
     242                 : /* Use the code below as a template for the implementation class for this interface. */
     243                 : 
     244                 : /* Header file */
     245                 : class nsAutoCompleteInput : public nsIAutoCompleteInput
     246                 : {
     247                 : public:
     248                 :   NS_DECL_ISUPPORTS
     249                 :   NS_DECL_NSIAUTOCOMPLETEINPUT
     250                 : 
     251                 :   nsAutoCompleteInput();
     252                 : 
     253                 : private:
     254                 :   ~nsAutoCompleteInput();
     255                 : 
     256                 : protected:
     257                 :   /* additional members */
     258                 : };
     259                 : 
     260                 : /* Implementation file */
     261                 : NS_IMPL_ISUPPORTS1(nsAutoCompleteInput, nsIAutoCompleteInput)
     262                 : 
     263                 : nsAutoCompleteInput::nsAutoCompleteInput()
     264                 : {
     265                 :   /* member initializers and constructor code */
     266                 : }
     267                 : 
     268                 : nsAutoCompleteInput::~nsAutoCompleteInput()
     269                 : {
     270                 :   /* destructor code */
     271                 : }
     272                 : 
     273                 : /* readonly attribute nsIAutoCompletePopup popup; */
     274                 : NS_IMETHODIMP nsAutoCompleteInput::GetPopup(nsIAutoCompletePopup * *aPopup)
     275                 : {
     276                 :     return NS_ERROR_NOT_IMPLEMENTED;
     277                 : }
     278                 : 
     279                 : /* readonly attribute nsIAutoCompleteController controller; */
     280                 : NS_IMETHODIMP nsAutoCompleteInput::GetController(nsIAutoCompleteController * *aController)
     281                 : {
     282                 :     return NS_ERROR_NOT_IMPLEMENTED;
     283                 : }
     284                 : 
     285                 : /* attribute boolean popupOpen; */
     286                 : NS_IMETHODIMP nsAutoCompleteInput::GetPopupOpen(bool *aPopupOpen)
     287                 : {
     288                 :     return NS_ERROR_NOT_IMPLEMENTED;
     289                 : }
     290                 : NS_IMETHODIMP nsAutoCompleteInput::SetPopupOpen(bool aPopupOpen)
     291                 : {
     292                 :     return NS_ERROR_NOT_IMPLEMENTED;
     293                 : }
     294                 : 
     295                 : /* attribute boolean disableAutoComplete; */
     296                 : NS_IMETHODIMP nsAutoCompleteInput::GetDisableAutoComplete(bool *aDisableAutoComplete)
     297                 : {
     298                 :     return NS_ERROR_NOT_IMPLEMENTED;
     299                 : }
     300                 : NS_IMETHODIMP nsAutoCompleteInput::SetDisableAutoComplete(bool aDisableAutoComplete)
     301                 : {
     302                 :     return NS_ERROR_NOT_IMPLEMENTED;
     303                 : }
     304                 : 
     305                 : /* attribute boolean completeDefaultIndex; */
     306                 : NS_IMETHODIMP nsAutoCompleteInput::GetCompleteDefaultIndex(bool *aCompleteDefaultIndex)
     307                 : {
     308                 :     return NS_ERROR_NOT_IMPLEMENTED;
     309                 : }
     310                 : NS_IMETHODIMP nsAutoCompleteInput::SetCompleteDefaultIndex(bool aCompleteDefaultIndex)
     311                 : {
     312                 :     return NS_ERROR_NOT_IMPLEMENTED;
     313                 : }
     314                 : 
     315                 : /* attribute boolean completeSelectedIndex; */
     316                 : NS_IMETHODIMP nsAutoCompleteInput::GetCompleteSelectedIndex(bool *aCompleteSelectedIndex)
     317                 : {
     318                 :     return NS_ERROR_NOT_IMPLEMENTED;
     319                 : }
     320                 : NS_IMETHODIMP nsAutoCompleteInput::SetCompleteSelectedIndex(bool aCompleteSelectedIndex)
     321                 : {
     322                 :     return NS_ERROR_NOT_IMPLEMENTED;
     323                 : }
     324                 : 
     325                 : /* attribute boolean forceComplete; */
     326                 : NS_IMETHODIMP nsAutoCompleteInput::GetForceComplete(bool *aForceComplete)
     327                 : {
     328                 :     return NS_ERROR_NOT_IMPLEMENTED;
     329                 : }
     330                 : NS_IMETHODIMP nsAutoCompleteInput::SetForceComplete(bool aForceComplete)
     331                 : {
     332                 :     return NS_ERROR_NOT_IMPLEMENTED;
     333                 : }
     334                 : 
     335                 : /* attribute unsigned long minResultsForPopup; */
     336                 : NS_IMETHODIMP nsAutoCompleteInput::GetMinResultsForPopup(PRUint32 *aMinResultsForPopup)
     337                 : {
     338                 :     return NS_ERROR_NOT_IMPLEMENTED;
     339                 : }
     340                 : NS_IMETHODIMP nsAutoCompleteInput::SetMinResultsForPopup(PRUint32 aMinResultsForPopup)
     341                 : {
     342                 :     return NS_ERROR_NOT_IMPLEMENTED;
     343                 : }
     344                 : 
     345                 : /* attribute unsigned long maxRows; */
     346                 : NS_IMETHODIMP nsAutoCompleteInput::GetMaxRows(PRUint32 *aMaxRows)
     347                 : {
     348                 :     return NS_ERROR_NOT_IMPLEMENTED;
     349                 : }
     350                 : NS_IMETHODIMP nsAutoCompleteInput::SetMaxRows(PRUint32 aMaxRows)
     351                 : {
     352                 :     return NS_ERROR_NOT_IMPLEMENTED;
     353                 : }
     354                 : 
     355                 : /* attribute boolean showCommentColumn; */
     356                 : NS_IMETHODIMP nsAutoCompleteInput::GetShowCommentColumn(bool *aShowCommentColumn)
     357                 : {
     358                 :     return NS_ERROR_NOT_IMPLEMENTED;
     359                 : }
     360                 : NS_IMETHODIMP nsAutoCompleteInput::SetShowCommentColumn(bool aShowCommentColumn)
     361                 : {
     362                 :     return NS_ERROR_NOT_IMPLEMENTED;
     363                 : }
     364                 : 
     365                 : /* attribute boolean showImageColumn; */
     366                 : NS_IMETHODIMP nsAutoCompleteInput::GetShowImageColumn(bool *aShowImageColumn)
     367                 : {
     368                 :     return NS_ERROR_NOT_IMPLEMENTED;
     369                 : }
     370                 : NS_IMETHODIMP nsAutoCompleteInput::SetShowImageColumn(bool aShowImageColumn)
     371                 : {
     372                 :     return NS_ERROR_NOT_IMPLEMENTED;
     373                 : }
     374                 : 
     375                 : /* attribute unsigned long timeout; */
     376                 : NS_IMETHODIMP nsAutoCompleteInput::GetTimeout(PRUint32 *aTimeout)
     377                 : {
     378                 :     return NS_ERROR_NOT_IMPLEMENTED;
     379                 : }
     380                 : NS_IMETHODIMP nsAutoCompleteInput::SetTimeout(PRUint32 aTimeout)
     381                 : {
     382                 :     return NS_ERROR_NOT_IMPLEMENTED;
     383                 : }
     384                 : 
     385                 : /* attribute AString searchParam; */
     386                 : NS_IMETHODIMP nsAutoCompleteInput::GetSearchParam(nsAString & aSearchParam)
     387                 : {
     388                 :     return NS_ERROR_NOT_IMPLEMENTED;
     389                 : }
     390                 : NS_IMETHODIMP nsAutoCompleteInput::SetSearchParam(const nsAString & aSearchParam)
     391                 : {
     392                 :     return NS_ERROR_NOT_IMPLEMENTED;
     393                 : }
     394                 : 
     395                 : /* readonly attribute unsigned long searchCount; */
     396                 : NS_IMETHODIMP nsAutoCompleteInput::GetSearchCount(PRUint32 *aSearchCount)
     397                 : {
     398                 :     return NS_ERROR_NOT_IMPLEMENTED;
     399                 : }
     400                 : 
     401                 : /* ACString getSearchAt (in unsigned long index); */
     402                 : NS_IMETHODIMP nsAutoCompleteInput::GetSearchAt(PRUint32 index, nsACString & _retval NS_OUTPARAM)
     403                 : {
     404                 :     return NS_ERROR_NOT_IMPLEMENTED;
     405                 : }
     406                 : 
     407                 : /* attribute AString textValue; */
     408                 : NS_IMETHODIMP nsAutoCompleteInput::GetTextValue(nsAString & aTextValue)
     409                 : {
     410                 :     return NS_ERROR_NOT_IMPLEMENTED;
     411                 : }
     412                 : NS_IMETHODIMP nsAutoCompleteInput::SetTextValue(const nsAString & aTextValue)
     413                 : {
     414                 :     return NS_ERROR_NOT_IMPLEMENTED;
     415                 : }
     416                 : 
     417                 : /* readonly attribute long selectionStart; */
     418                 : NS_IMETHODIMP nsAutoCompleteInput::GetSelectionStart(PRInt32 *aSelectionStart)
     419                 : {
     420                 :     return NS_ERROR_NOT_IMPLEMENTED;
     421                 : }
     422                 : 
     423                 : /* readonly attribute long selectionEnd; */
     424                 : NS_IMETHODIMP nsAutoCompleteInput::GetSelectionEnd(PRInt32 *aSelectionEnd)
     425                 : {
     426                 :     return NS_ERROR_NOT_IMPLEMENTED;
     427                 : }
     428                 : 
     429                 : /* void selectTextRange (in long startIndex, in long endIndex); */
     430                 : NS_IMETHODIMP nsAutoCompleteInput::SelectTextRange(PRInt32 startIndex, PRInt32 endIndex)
     431                 : {
     432                 :     return NS_ERROR_NOT_IMPLEMENTED;
     433                 : }
     434                 : 
     435                 : /* void onSearchBegin (); */
     436                 : NS_IMETHODIMP nsAutoCompleteInput::OnSearchBegin()
     437                 : {
     438                 :     return NS_ERROR_NOT_IMPLEMENTED;
     439                 : }
     440                 : 
     441                 : /* void onSearchComplete (); */
     442                 : NS_IMETHODIMP nsAutoCompleteInput::OnSearchComplete()
     443                 : {
     444                 :     return NS_ERROR_NOT_IMPLEMENTED;
     445                 : }
     446                 : 
     447                 : /* boolean onTextEntered (); */
     448                 : NS_IMETHODIMP nsAutoCompleteInput::OnTextEntered(bool *_retval NS_OUTPARAM)
     449                 : {
     450                 :     return NS_ERROR_NOT_IMPLEMENTED;
     451                 : }
     452                 : 
     453                 : /* boolean onTextReverted (); */
     454                 : NS_IMETHODIMP nsAutoCompleteInput::OnTextReverted(bool *_retval NS_OUTPARAM)
     455                 : {
     456                 :     return NS_ERROR_NOT_IMPLEMENTED;
     457                 : }
     458                 : 
     459                 : /* readonly attribute boolean consumeRollupEvent; */
     460                 : NS_IMETHODIMP nsAutoCompleteInput::GetConsumeRollupEvent(bool *aConsumeRollupEvent)
     461                 : {
     462                 :     return NS_ERROR_NOT_IMPLEMENTED;
     463                 : }
     464                 : 
     465                 : /* End of implementation class template. */
     466                 : #endif
     467                 : 
     468                 : 
     469                 : #endif /* __gen_nsIAutoCompleteInput_h__ */

Generated by: LCOV version 1.7