From 569014bdd5da92a6ae34b2deb9a187d33d1c691e Mon Sep 17 00:00:00 2001 From: "alecf%netscape.com" Date: Wed, 24 Mar 1999 02:02:54 +0000 Subject: [PATCH] remove these files - never going to make this class an interface, so don't confuse things --- mailnews/base/public/nsIMsgGroupRecord.h | 155 --------------------- mailnews/base/public/nsIMsgGroupRecord.idl | 97 ------------- 2 files changed, 252 deletions(-) delete mode 100644 mailnews/base/public/nsIMsgGroupRecord.h delete mode 100644 mailnews/base/public/nsIMsgGroupRecord.idl diff --git a/mailnews/base/public/nsIMsgGroupRecord.h b/mailnews/base/public/nsIMsgGroupRecord.h deleted file mode 100644 index 0c9507b10e7e..000000000000 --- a/mailnews/base/public/nsIMsgGroupRecord.h +++ /dev/null @@ -1,155 +0,0 @@ -/* - * DO NOT EDIT. THIS FILE IS GENERATED FROM nsIMsgGroupRecord.idl - */ - -#ifndef __gen_nsIMsgGroupRecord_h__ -#define __gen_nsIMsgGroupRecord_h__ - -#include "nsISupports.h" /* interface nsISupports */ - -#ifdef XPIDL_JS_STUBS -#include "jsapi.h" -#endif -#include "nsDebug.h" -#include "nsTraceRefcnt.h" -#include "nsID.h" -#include "nsIID.h" -#include "nsError.h" -#include "nsISupportsUtils.h" - - -/* starting interface nsIMsgGroupRecord */ - -/* {4ed03c60-b256-11d2-b7f0-00805f05ffa5} */ -#define NS_IMSGGROUPRECORD_IID_STR "4ed03c60-b256-11d2-b7f0-00805f05ffa5" -#define NS_IMSGGROUPRECORD_IID \ - {0x4ed03c60, 0xb256, 0x11d2, \ - { 0xb7, 0xf0, 0x00, 0x80, 0x5f, 0x05, 0xff, 0xa5 }} - -class nsIMsgGroupRecord : public nsISupports { - public: - static const nsIID& GetIID() { - static nsIID iid = NS_IMSGGROUPRECORD_IID; - return iid; - } - - /* void Init (in voidStar parent, in string partname, in long long time, in long uniqueid, in long fileoffset, in char delimiter); */ - NS_IMETHOD Init(void* parent, char *partname, PRInt64 time, PRInt32 uniqueid, PRInt32 fileoffset, char delimiter) = 0; - - /* void InitFromParent (in nsIMsgGroupRecord parent, in string saveline, in long savelinelength, in long fileoffset); */ - NS_IMETHOD InitFromParent(nsIMsgGroupRecord *parent, char *saveline, PRInt32 savelinelength, PRInt32 fileoffset) = 0; - - /* void InitFromFile (in nsIMsgGroupRecord parent, in string partname, in long long time, in long uniqueid, in long fileoffset); */ - NS_IMETHOD InitFromFile(nsIMsgGroupRecord *parent, char *partname, PRInt64 time, PRInt32 uniqueid, PRInt32 fileoffset) = 0; - - /* void InitializeSibling (); */ - NS_IMETHOD InitializeSibling() = 0; - - /* short GroupNameCompare (in string name1, in string name2, in char delimeter, in boolean caseSensitive); */ - NS_IMETHOD GroupNameCompare(char *name1, char *name2, char delimeter, PRBool caseSensitive, PRInt16 *_retval) = 0; - - /* nsIMsgGroupRecord FindDescendent (in string name); */ - NS_IMETHOD FindDescendent(char *name, nsIMsgGroupRecord **_retval) = 0; - - /* readonly attribute nsIMsgGroupRecord parent; */ - NS_IMETHOD GetParent(nsIMsgGroupRecord * *aParent) = 0; - - /* readonly attribute nsIMsgGroupRecord children; */ - NS_IMETHOD GetChildren(nsIMsgGroupRecord * *aChildren) = 0; - - /* readonly attribute nsIMsgGroupRecord sibling; */ - NS_IMETHOD GetSibling(nsIMsgGroupRecord * *aSibling) = 0; - - /* nsIMsgGroupRecord GetSiblingOrAncestorSibling (); */ - NS_IMETHOD GetSiblingOrAncestorSibling(nsIMsgGroupRecord **_retval) = 0; - - /* nsIMsgGroupRecord GetNextAlphabetic (); */ - NS_IMETHOD GetNextAlphabetic(nsIMsgGroupRecord **_retval) = 0; - - /* nsIMsgGroupRecord GetNextAlphabeticNoCategories (); */ - NS_IMETHOD GetNextAlphabeticNoCategories(nsIMsgGroupRecord **_retval) = 0; - - /* readonly attribute string partName; */ - NS_IMETHOD GetPartName(char * *aPartName) = 0; - - /* readonly attribute string fullName; */ - NS_IMETHOD GetFullName(char * *aFullName) = 0; - - /* attribute string prettyName; */ - NS_IMETHOD GetPrettyName(char * *aPrettyName) = 0; - NS_IMETHOD SetPrettyName(char * aPrettyName) = 0; - - /* readonly attribute long long addTime; */ - NS_IMETHOD GetAddTime(PRInt64 *aAddTime) = 0; - - /* readonly attribute boolean isCategory; */ - NS_IMETHOD GetIsCategory(PRBool *aIsCategory) = 0; - - /* attribute boolean isCategoryContainer; */ - NS_IMETHOD GetIsCategoryContainer(PRBool *aIsCategoryContainer) = 0; - NS_IMETHOD SetIsCategoryContainer(PRBool aIsCategoryContainer) = 0; - - /* readonly attribute nsIMsgGroupRecord categoryContainer; */ - NS_IMETHOD GetCategoryContainer(nsIMsgGroupRecord * *aCategoryContainer) = 0; - - /* attribute boolean isVirtual; */ - NS_IMETHOD GetIsVirtual(PRBool *aIsVirtual) = 0; - NS_IMETHOD SetIsVirtual(PRBool aIsVirtual) = 0; - - /* attribute boolean isGroup; */ - NS_IMETHOD GetIsGroup(PRBool *aIsGroup) = 0; - NS_IMETHOD SetIsGroup(PRBool aIsGroup) = 0; - - /* attribute boolean isExpanded; */ - NS_IMETHOD GetIsExpanded(PRBool *aIsExpanded) = 0; - NS_IMETHOD SetIsExpanded(PRBool aIsExpanded) = 0; - - /* attribute boolean isDescendentsLoaded; */ - NS_IMETHOD GetIsDescendentsLoaded(PRBool *aIsDescendentsLoaded) = 0; - NS_IMETHOD SetIsDescendentsLoaded(PRBool aIsDescendentsLoaded) = 0; - - /* attribute boolean HTMLOkGroup; */ - NS_IMETHOD GetHTMLOkGroup(PRBool *aHTMLOkGroup) = 0; - NS_IMETHOD SetHTMLOkGroup(PRBool aHTMLOkGroup) = 0; - - /* attribute boolean HTMLOkTree; */ - NS_IMETHOD GetHTMLOkTree(PRBool *aHTMLOkTree) = 0; - NS_IMETHOD SetHTMLOkTree(PRBool aHTMLOkTree) = 0; - - /* attribute boolean needsExtraInfo; */ - NS_IMETHOD GetNeedsExtraInfo(PRBool *aNeedsExtraInfo) = 0; - NS_IMETHOD SetNeedsExtraInfo(PRBool aNeedsExtraInfo) = 0; - - /* attribute boolean doesNotExistOnServer; */ - NS_IMETHOD GetDoesNotExistOnServer(PRBool *aDoesNotExistOnServer) = 0; - NS_IMETHOD SetDoesNotExistOnServer(PRBool aDoesNotExistOnServer) = 0; - - /* readonly attribute long uniqueID; */ - NS_IMETHOD GetUniqueID(PRInt32 *aUniqueID) = 0; - - /* attribute long fileOffset; */ - NS_IMETHOD GetFileOffset(PRInt32 *aFileOffset) = 0; - NS_IMETHOD SetFileOffset(PRInt32 aFileOffset) = 0; - - /* readonly attribute long numKids; */ - NS_IMETHOD GetNumKids(PRInt32 *aNumKids) = 0; - - /* readonly attribute string saveString; */ - NS_IMETHOD GetSaveString(char * *aSaveString) = 0; - - /* readonly attribute boolean dirty; */ - NS_IMETHOD GetDirty(PRBool *aDirty) = 0; - - /* readonly attribute long depth; */ - NS_IMETHOD GetDepth(PRInt32 *aDepth) = 0; - - /* readonly attribute char hierarchySeparator; */ - NS_IMETHOD GetHierarchySeparator(char *aHierarchySeparator) = 0; - -#ifdef XPIDL_JS_STUBS - static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx); - static NS_EXPORT_(JSObject *) GetJSObject(JSContext *cx, nsIMsgGroupRecord *priv); -#endif -}; - -#endif /* __gen_nsIMsgGroupRecord_h__ */ diff --git a/mailnews/base/public/nsIMsgGroupRecord.idl b/mailnews/base/public/nsIMsgGroupRecord.idl deleted file mode 100644 index 65f272d02d24..000000000000 --- a/mailnews/base/public/nsIMsgGroupRecord.idl +++ /dev/null @@ -1,97 +0,0 @@ -/* -*- 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" - - -[uuid(4ed03c60-b256-11d2-b7f0-00805f05ffa5)] -interface nsIMsgGroupRecord : nsISupports { - - /* making this a voidStar is really ugly, but it's a quick - * solution right now - */ - void Init(in voidStar parent, - in string partname, - in long long time, - in long uniqueid, - in long fileoffset, - in char delimiter); - - void InitFromParent(in nsIMsgGroupRecord parent, - in string saveline, - in long savelinelength, - in long fileoffset); - - void InitFromFile(in nsIMsgGroupRecord parent, - in string partname, - in long long time, - in long uniqueid, - in long fileoffset); - - void InitializeSibling(); - - short GroupNameCompare(in string name1, - in string name2, - in char delimeter, - in boolean caseSensitive); - - nsIMsgGroupRecord FindDescendent(in string name); - - readonly attribute nsIMsgGroupRecord parent; - readonly attribute nsIMsgGroupRecord children; - readonly attribute nsIMsgGroupRecord sibling; - nsIMsgGroupRecord GetSiblingOrAncestorSibling(); - nsIMsgGroupRecord GetNextAlphabetic(); - nsIMsgGroupRecord GetNextAlphabeticNoCategories(); - - readonly attribute string partName; - readonly attribute string fullName; - - attribute string prettyName; - readonly attribute long long addTime; - - readonly attribute boolean isCategory; - - attribute boolean isCategoryContainer; - - readonly attribute nsIMsgGroupRecord categoryContainer; - - attribute boolean isVirtual; - attribute boolean isGroup; - - attribute boolean isExpanded; - attribute boolean isDescendentsLoaded; - attribute boolean HTMLOkGroup; - attribute boolean HTMLOkTree; - attribute boolean needsExtraInfo; - attribute boolean doesNotExistOnServer; - readonly attribute long uniqueID; - attribute long fileOffset; - - readonly attribute long numKids; - readonly attribute string saveString; - - readonly attribute boolean dirty; - - readonly attribute long depth; - - readonly attribute char hierarchySeparator; - - -}; -