gecko-dev/mailnews/news/public/nsIMsgNewsHost.h
1999-01-11 19:14:03 +00:00

101 lines
3.0 KiB
C++

/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM nsIMsgNewsHost.idl
*/
#ifndef __gen_nsIMsgNewsHost_h__
#define __gen_nsIMsgNewsHost_h__
#include "nsISupports.h" /* interface nsISupports */
#include "nsIMsgNewsgroup.h" /* interface nsIMsgNewsgroup */
#include "nsINNTPNewsgroupList.h" /* interface nsINNTPNewsgroupList */
/* starting interface nsIMsgNewsHost */
/* {2F5041B0-939E-11d2-B7EA-00805F05FFA5} */
#define NS_IMSGNEWSHOST_IID_STR "2F5041B0-939E-11d2-B7EA-00805F05FFA5"
#define NS_IMSGNEWSHOST_IID \
{0x2F5041B0, 0x939E, 0x11d2, \
{ 0xB7, 0xEA, 0x00, 0x80, 0x5F, 0x05, 0xFF, 0xA5 }}
class nsIMsgNewsHost : public nsISupports {
private:
void operator delete(void *); // NOT TO BE IMPLEMENTED
public:
static const nsIID& IID() {
static nsIID iid = NS_IMSGNEWSHOST_IID;
return iid;
}
/* <IDL> */
NS_IMETHOD IsSupportsExtensions(PRBool *aIsSupportsExtensions) = 0;
NS_IMETHOD SetSupportsExtensions(PRBool aSupportsExtensions) = 0;
/* <IDL> */
NS_IMETHOD AddExtension(const char *extension) = 0;
/* <IDL> */
NS_IMETHOD QueryExtension(const char *extension, PRBool *_retval) = 0;
/* <IDL> */
NS_IMETHOD IsPostingAllowed(PRBool *aIsPostingAllowed) = 0;
NS_IMETHOD SetPostingAllowed(PRBool aPostingAllowed) = 0;
/* <IDL> */
NS_IMETHOD IsPushAuth(PRBool *aIsPushAuth) = 0;
NS_IMETHOD SetPushAuth(PRBool aPushAuth) = 0;
/* <IDL> */
NS_IMETHOD GetLastUpdatedTime(PRInt64 *aLastUpdatedTime) = 0;
NS_IMETHOD SetLastUpdatedTime(PRInt64 aLastUpdatedTime) = 0;
/* <IDL> */
NS_IMETHOD AddPropertyForGet(const char *name, const char *value) = 0;
/* <IDL> */
NS_IMETHOD AddSearchableGroup(const char *groupname) = 0;
/* <IDL> */
NS_IMETHOD AddProfileGroup(const char *responseText) = 0;
/* <IDL> */
NS_IMETHOD AddSearchableHeader(const char *headerName) = 0;
/* <IDL> */
NS_IMETHOD AddSubscribedNewsgroup(const char *url) = 0;
/* <IDL> */
NS_IMETHOD GroupNotFound(const char *group, PRBool opening) = 0;
/* <IDL> */
NS_IMETHOD AddNewNewsgroup(const char *groupname, PRInt32 first, PRInt32 last, const char *flags, PRBool xactiveFlags) = 0;
/* <IDL> */
NS_IMETHOD GetNumGroupsNeedingCounts(PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetFirstGroupNeedingCounts(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD DisplaySubscribedGroup(const char *groupname, PRInt32 first_message, PRInt32 last_message, PRInt32 total_messages, PRBool visit_now) = 0;
/* <IDL> */
NS_IMETHOD GetFirstGroupNeedingExtraInfo(nsIMsgNewsgroup **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetGroupNeedsExtraInfo(const char *groupname, PRBool needsExtraInfo) = 0;
/* <IDL> */
NS_IMETHOD GetNewsGroupAndNumberOfID(const char *message_id, nsIMsgNewsgroup **group, PRUint32 *message_number) = 0;
/* <IDL> */
NS_IMETHOD AddPrettyName(const char *groupName, const char *prettyName) = 0;
/* <IDL> */
NS_IMETHOD GetNewsgroupList(nsINNTPNewsgroupList * *aNewsgroupList) = 0;
NS_IMETHOD SetNewsgroupList(nsINNTPNewsgroupList * aNewsgroupList) = 0;
};
#endif /* __gen_nsIMsgNewsHost_h__ */