adding new nsIMsgHost interface
git-svn-id: svn://10.0.0.236/trunk@17606 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -23,6 +23,12 @@ VPATH = @srcdir@
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
EXPORTS= \
|
||||
nsIMsgHost.h \
|
||||
$(NULL)
|
||||
|
||||
IDLSRCS = \
|
||||
nsIMsgHost.idl \
|
||||
$(NULL)
|
||||
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
42
mozilla/mailnews/public/nsIMsgHost.h
Normal file
42
mozilla/mailnews/public/nsIMsgHost.h
Normal file
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* DO NOT EDIT. THIS FILE IS GENERATED FROM nsIMsgHost.idl
|
||||
*/
|
||||
|
||||
#ifndef __gen_nsIMsgHost_h__
|
||||
#define __gen_nsIMsgHost_h__
|
||||
|
||||
#include "nsISupports.h" /* interface nsISupports */
|
||||
|
||||
|
||||
/* 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 {
|
||||
private:
|
||||
void operator delete(void *); // NOT TO BE IMPLEMENTED
|
||||
|
||||
public:
|
||||
static const nsIID& IID() {
|
||||
static nsIID iid = NS_IMSGHOST_IID;
|
||||
return iid;
|
||||
}
|
||||
|
||||
/* <IDL> */
|
||||
NS_IMETHOD GetHostname(char * *aHostname) = 0;
|
||||
NS_IMETHOD SetHostname(char * aHostname) = 0;
|
||||
|
||||
/* <IDL> */
|
||||
NS_IMETHOD GetUiName(char * *aUiName) = 0;
|
||||
NS_IMETHOD SetUiName(char * aUiName) = 0;
|
||||
|
||||
/* <IDL> */
|
||||
NS_IMETHOD GetPort(PRInt32 *aPort) = 0;
|
||||
NS_IMETHOD SetPort(PRInt32 aPort) = 0;
|
||||
};
|
||||
|
||||
#endif /* __gen_nsIMsgHost_h__ */
|
||||
28
mozilla/mailnews/public/nsIMsgHost.idl
Normal file
28
mozilla/mailnews/public/nsIMsgHost.idl
Normal file
@@ -0,0 +1,28 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.0 (the "NPL"); you may not use this file except in
|
||||
* compliance with the NPL. You may obtain a copy of the NPL at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
* for the specific language governing rights and limitations under the
|
||||
* NPL.
|
||||
*
|
||||
* The Initial Developer of this code under the NPL is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
* Reserved.
|
||||
*/
|
||||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
[object, uuid(ADFB3740-AA57-11d2-B7ED-00805F05FFA5)]
|
||||
interface nsIMsgHost : nsISupports {
|
||||
|
||||
attribute string hostname;
|
||||
attribute string uiName;
|
||||
attribute long port;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user