adding nsINNTPArticleKeysState for the first time - broke these three

methods out of nsIMsgNewsArticleList.idl
This commit is contained in:
alecf%netscape.com 1999-01-09 00:15:46 +00:00
parent 4d283102bd
commit d788930235
2 changed files with 74 additions and 0 deletions

View File

@ -0,0 +1,39 @@
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM nsINNTPArticleKeysState.idl
*/
#ifndef __nsINNTPArticleKeysState_h__
#define __nsINNTPArticleKeysState_h__
#include "nsISupports.h" /* interface nsISupports */
#include "nsIMsgNewsgroup.h" /* interface nsIMsgNewsgroup */
/* starting interface nsINNTPArticleKeysState */
/* {921AC214-96B5-11d2-B7EB-00805F05FFA5} */
#define NS_INNTPARTICLEKEYSSTATE_IID_STR "921AC214-96B5-11d2-B7EB-00805F05FFA5"
#define NS_INNTPARTICLEKEYSSTATE_IID \
{0x921AC214, 0x96B5, 0x11d2, \
{ 0xB7, 0xEB, 0x00, 0x80, 0x5F, 0x05, 0xFF, 0xA5 }}
class nsINNTPArticleKeysState : public nsISupports {
private:
void operator delete(void *); // NOT TO BE IMPLEMENTED
public:
static const nsIID& IID() {
static nsIID iid = NS_INNTPARTICLEKEYSSTATE_IID;
return iid;
}
/* void Init(in string newsHost, in nsIMsgNewsgroup newsgroup); */
NS_IMETHOD Init(const char *newsHost, const nsIMsgNewsgroup *newsgroup) = 0;
/* void AddArticleKey(in key); */
NS_IMETHOD AddArticleKey(PRInt32 key) = 0;
/* void FinishAddingArticleKeys(); */
NS_IMETHOD FinishAddingArticleKeys() = 0;
};
#endif /* __nsINNTPArticleKeysState_h__ */

View File

@ -0,0 +1,35 @@
/* -*- 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"
#include "nsIMsgNewsgroup.idl"
/* the XPIDL compiler doesn't like including this file?
* I think it's because this file include another file
* I had to change the type below to a string temporarily */
/* #include "nsIMsgNewsHost.idl" */
[object, uuid(921AC214-96B5-11d2-B7EB-00805F05FFA5)]
interface nsINNTPArticleKeysState : nsISupports {
void Init(in /* nsIMsgNewsHost */ string newsHost,
in nsIMsgNewsgroup newsgroup);
void AddArticleKey(in long key);
void FinishAddingArticleKeys();
};