diff --git a/mozilla/mailnews/public/Makefile.in b/mozilla/mailnews/public/Makefile.in index d04476a5c62..0ce8f9d2bdc 100644 --- a/mozilla/mailnews/public/Makefile.in +++ b/mozilla/mailnews/public/Makefile.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 diff --git a/mozilla/mailnews/public/nsIMsgHost.h b/mozilla/mailnews/public/nsIMsgHost.h new file mode 100644 index 00000000000..2568f9d1c33 --- /dev/null +++ b/mozilla/mailnews/public/nsIMsgHost.h @@ -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; + } + + /* */ + NS_IMETHOD GetHostname(char * *aHostname) = 0; + NS_IMETHOD SetHostname(char * aHostname) = 0; + + /* */ + NS_IMETHOD GetUiName(char * *aUiName) = 0; + NS_IMETHOD SetUiName(char * aUiName) = 0; + + /* */ + NS_IMETHOD GetPort(PRInt32 *aPort) = 0; + NS_IMETHOD SetPort(PRInt32 aPort) = 0; +}; + +#endif /* __gen_nsIMsgHost_h__ */ diff --git a/mozilla/mailnews/public/nsIMsgHost.idl b/mozilla/mailnews/public/nsIMsgHost.idl new file mode 100644 index 00000000000..e0a3adcabf6 --- /dev/null +++ b/mozilla/mailnews/public/nsIMsgHost.idl @@ -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; +}; +