pjs/mailnews/base/public/nsIMsgHost.h

56 строки
1.4 KiB
C
Исходник Обычный вид История

1999-01-15 02:51:32 +03:00
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM nsIMsgHost.idl
*/
#ifndef __gen_nsIMsgHost_h__
#define __gen_nsIMsgHost_h__
#include "nsISupports.h" /* interface nsISupports */
#include "nsID.h" /* interface nsID */
#ifdef XPIDL_JS_STUBS
#include "jsapi.h"
#endif
#include "nsDebug.h"
#include "nsTraceRefcnt.h"
#include "nsID.h"
#include "nsIID.h"
#include "nsError.h"
#include "nsISupportsUtils.h"
1999-01-15 02:51:32 +03:00
/* starting interface nsIMsgHost */
/* {ADFB3740-AA57-11d2-B7ED-00805F05FFA5} */
#define NS_IMSGHOST_IID_STR "ADFB3740-AA57-11d2-B7ED-00805F05FFA5"
#define NS_IMSGHOST_IID \
{0xADFB3740, 0xAA57, 0x11d2, \
{ 0xB7, 0xED, 0x00, 0x80, 0x5F, 0x05, 0xFF, 0xA5 }}
class nsIMsgHost : public nsISupports {
public:
static const nsIID& GetIID() {
1999-01-15 02:51:32 +03:00
static nsIID iid = NS_IMSGHOST_IID;
return iid;
}
/* attribute string hostname; */
1999-01-15 02:51:32 +03:00
NS_IMETHOD GetHostname(char * *aHostname) = 0;
NS_IMETHOD SetHostname(char * aHostname) = 0;
/* attribute string uiName; */
1999-01-15 02:51:32 +03:00
NS_IMETHOD GetUiName(char * *aUiName) = 0;
NS_IMETHOD SetUiName(char * aUiName) = 0;
/* attribute long port; */
1999-01-15 02:51:32 +03:00
NS_IMETHOD GetPort(PRInt32 *aPort) = 0;
NS_IMETHOD SetPort(PRInt32 aPort) = 0;
#ifdef XPIDL_JS_STUBS
static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx);
static NS_EXPORT_(JSObject *) GetJSObject(JSContext *cx, nsIMsgHost *priv);
#endif
1999-01-15 02:51:32 +03:00
};
#endif /* __gen_nsIMsgHost_h__ */