This commit is contained in:
alecf%netscape.com 1999-01-16 05:53:21 +00:00
Родитель 9706c14732
Коммит 0365bff46d
3 изменённых файлов: 74 добавлений и 0 удалений

Просмотреть файл

@ -23,6 +23,7 @@ srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
EXPORTS= \
nsINNTPCategory.h \
nsINNTPNewsgroupList.h \
nsINNTPHost.h \
nsINNTPNewsgroup.h \

Просмотреть файл

@ -0,0 +1,37 @@
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM nsINNTPCategory.idl
*/
#ifndef __gen_nsINNTPCategory_h__
#define __gen_nsINNTPCategory_h__
#include "nsISupports.h" /* interface nsISupports */
#include "nsINNTPNewsgroup.h" /* interface nsINNTPNewsgroup */
#include "nsIMsgGroupRecord.h" /* interface nsIMsgGroupRecord */
/* starting interface nsINNTPCategory */
class nsINNTPCategory : public nsISupports {
private:
void operator delete(void *); // NOT TO BE IMPLEMENTED
public:
static const nsIID& IID() {
static nsIID iid = NS_INNTPCATEGORY_IID;
return iid;
}
/* <IDL> */
NS_IMETHOD BuildCategoryTree(const nsINNTPNewsgroup *parent, const char *catName, const nsIMsgGroupRecord *group, PRInt16 depth, nsINNTPNewsgroup **_retval) = 0;
/* <IDL> */
NS_IMETHOD AddToCategoryTree(const nsINNTPNewsgroup *parent, const char *groupName, const nsIMsgGroupRecord *group, nsINNTPNewsgroup **_retval) = 0;
/* <IDL> */
NS_IMETHOD CloneIntoNewsFolder(nsINNTPNewsgroup **_retval) = 0;
/* <IDL> */
NS_IMETHOD GetRootCategory(nsINNTPNewsgroup **_retval) = 0;
};
#endif /* __gen_nsINNTPCategory_h__ */

Просмотреть файл

@ -0,0 +1,36 @@
/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* 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 "nsIMsgGroupRecord.idl"
#include "nsINNTPNewsgroup.idl"
interface nsINNTPCategory : nsISupports {
nsINNTPNewsgroup BuildCategoryTree(in nsINNTPNewsgroup parent,
in string catName,
in nsIMsgGroupRecord group,
in short depth);
nsINNTPNewsgroup AddToCategoryTree(in nsINNTPNewsgroup parent,
in string groupName,
in nsIMsgGroupRecord group);
nsINNTPNewsgroup CloneIntoNewsFolder();
nsINNTPNewsgroup GetRootCategory();
};