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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21585/root/usr/include/xulrunner-17.0.10/nsIWapPushApplication.h
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builddir/build/BUILD/xulrunner-17.0.10/mozilla-esr17/dom/mms/interfaces/nsIWapPushApplication.idl
 */

#ifndef __gen_nsIWapPushApplication_h__
#define __gen_nsIWapPushApplication_h__


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

#include "jspubtd.h"

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif

/* starting interface:    nsIWapPushApplication */
#define NS_IWAPPUSHAPPLICATION_IID_STR "fd6f7f6b-a67e-4892-930d-fca864df8fe7"

#define NS_IWAPPUSHAPPLICATION_IID \
  {0xfd6f7f6b, 0xa67e, 0x4892, \
    { 0x93, 0x0d, 0xfc, 0xa8, 0x64, 0xdf, 0x8f, 0xe7 }}

class NS_NO_VTABLE nsIWapPushApplication : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IWAPPUSHAPPLICATION_IID)

  /* [implicit_jscontext] void receiveWapPush ([array, size_is (aLength)] in octet aData, in unsigned long aLength, in unsigned long aOffset, in jsval aOptions); */
  NS_IMETHOD ReceiveWapPush(uint8_t *aData, uint32_t aLength, uint32_t aOffset, const JS::Value & aOptions, JSContext* cx) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIWapPushApplication, NS_IWAPPUSHAPPLICATION_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIWAPPUSHAPPLICATION \
  NS_IMETHOD ReceiveWapPush(uint8_t *aData, uint32_t aLength, uint32_t aOffset, const JS::Value & aOptions, JSContext* cx); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIWAPPUSHAPPLICATION(_to) \
  NS_IMETHOD ReceiveWapPush(uint8_t *aData, uint32_t aLength, uint32_t aOffset, const JS::Value & aOptions, JSContext* cx) { return _to ReceiveWapPush(aData, aLength, aOffset, aOptions, cx); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIWAPPUSHAPPLICATION(_to) \
  NS_IMETHOD ReceiveWapPush(uint8_t *aData, uint32_t aLength, uint32_t aOffset, const JS::Value & aOptions, JSContext* cx) { return !_to ? NS_ERROR_NULL_POINTER : _to->ReceiveWapPush(aData, aLength, aOffset, aOptions, cx); } 

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

/* Header file */
class nsWapPushApplication : public nsIWapPushApplication
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIWAPPUSHAPPLICATION

  nsWapPushApplication();

private:
  ~nsWapPushApplication();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsWapPushApplication, nsIWapPushApplication)

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

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

/* [implicit_jscontext] void receiveWapPush ([array, size_is (aLength)] in octet aData, in unsigned long aLength, in unsigned long aOffset, in jsval aOptions); */
NS_IMETHODIMP nsWapPushApplication::ReceiveWapPush(uint8_t *aData, uint32_t aLength, uint32_t aOffset, const JS::Value & aOptions, JSContext* cx)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIWapPushApplication_h__ */

Anon7 - 2021