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/root/usr/include/xulrunner-17.0.10/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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

#ifndef __gen_inISearchObserver_h__
#define __gen_inISearchObserver_h__


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

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


/* starting interface:    inISearchObserver */
#define INISEARCHOBSERVER_IID_STR "46226d9b-e398-4106-8d9b-225d4d0589f5"

#define INISEARCHOBSERVER_IID \
  {0x46226d9b, 0xe398, 0x4106, \
    { 0x8d, 0x9b, 0x22, 0x5d, 0x4d, 0x05, 0x89, 0xf5 }}

class NS_NO_VTABLE inISearchObserver : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(INISEARCHOBSERVER_IID)

  enum {
    IN_SUCCESS = 1,
    IN_INTERRUPTED = 2,
    IN_ERROR = 3
  };

  /* void onSearchStart (in inISearchProcess aModule); */
  NS_IMETHOD OnSearchStart(inISearchProcess *aModule) = 0;

  /* void onSearchResult (in inISearchProcess aModule); */
  NS_IMETHOD OnSearchResult(inISearchProcess *aModule) = 0;

  /* void onSearchEnd (in inISearchProcess aModule, in short aResult); */
  NS_IMETHOD OnSearchEnd(inISearchProcess *aModule, int16_t aResult) = 0;

  /* void onSearchError (in inISearchProcess aModule, in AString aMessage); */
  NS_IMETHOD OnSearchError(inISearchProcess *aModule, const nsAString & aMessage) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(inISearchObserver, INISEARCHOBSERVER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_INISEARCHOBSERVER \
  NS_IMETHOD OnSearchStart(inISearchProcess *aModule); \
  NS_IMETHOD OnSearchResult(inISearchProcess *aModule); \
  NS_IMETHOD OnSearchEnd(inISearchProcess *aModule, int16_t aResult); \
  NS_IMETHOD OnSearchError(inISearchProcess *aModule, const nsAString & aMessage); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_INISEARCHOBSERVER(_to) \
  NS_IMETHOD OnSearchStart(inISearchProcess *aModule) { return _to OnSearchStart(aModule); } \
  NS_IMETHOD OnSearchResult(inISearchProcess *aModule) { return _to OnSearchResult(aModule); } \
  NS_IMETHOD OnSearchEnd(inISearchProcess *aModule, int16_t aResult) { return _to OnSearchEnd(aModule, aResult); } \
  NS_IMETHOD OnSearchError(inISearchProcess *aModule, const nsAString & aMessage) { return _to OnSearchError(aModule, aMessage); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_INISEARCHOBSERVER(_to) \
  NS_IMETHOD OnSearchStart(inISearchProcess *aModule) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnSearchStart(aModule); } \
  NS_IMETHOD OnSearchResult(inISearchProcess *aModule) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnSearchResult(aModule); } \
  NS_IMETHOD OnSearchEnd(inISearchProcess *aModule, int16_t aResult) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnSearchEnd(aModule, aResult); } \
  NS_IMETHOD OnSearchError(inISearchProcess *aModule, const nsAString & aMessage) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnSearchError(aModule, aMessage); } 

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

/* Header file */
class inSearchObserver : public inISearchObserver
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_INISEARCHOBSERVER

  inSearchObserver();

private:
  ~inSearchObserver();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(inSearchObserver, inISearchObserver)

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

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

/* void onSearchStart (in inISearchProcess aModule); */
NS_IMETHODIMP inSearchObserver::OnSearchStart(inISearchProcess *aModule)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onSearchResult (in inISearchProcess aModule); */
NS_IMETHODIMP inSearchObserver::OnSearchResult(inISearchProcess *aModule)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onSearchEnd (in inISearchProcess aModule, in short aResult); */
NS_IMETHODIMP inSearchObserver::OnSearchEnd(inISearchProcess *aModule, int16_t aResult)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onSearchError (in inISearchProcess aModule, in AString aMessage); */
NS_IMETHODIMP inSearchObserver::OnSearchError(inISearchProcess *aModule, const nsAString & aMessage)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_inISearchObserver_h__ */

Anon7 - 2021