gecko-dev/mailnews/news/public/nsINNTPCategory.h

43 строки
1.3 KiB
C++

/*
* 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 */
#include "nsINNTPNewsgroupList.h" /* interface nsINNTPNewsgroupList */
/* starting interface nsINNTPCategory */
/* {203b2120-b256-11d2-b7f0-00805f05ffa5} */
#define NS_INNTPCATEGORY_IID_STR "203b2120-b256-11d2-b7f0-00805f05ffa5"
#define NS_INNTPCATEGORY_IID \
{0x203b2120, 0xb256, 0x11d2, \
{ 0xb7, 0xf0, 0x00, 0x80, 0x5f, 0x05, 0xff, 0xa5 }}
class nsINNTPCategory : public nsISupports {
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__ */