Add MailNewsTypes2.idl

git-svn-id: svn://10.0.0.236/trunk@34874 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
putterman%netscape.com 1999-06-11 22:12:51 +00:00
parent 5a48a3a6d0
commit 5e142c23f9
5 changed files with 40 additions and 3 deletions

View File

@ -0,0 +1,5 @@
#
# This is a list of local files which get copied to the mozilla:dist:idl directory
#
MailNewsTypes2.idl

View File

@ -21,13 +21,13 @@
#include "msgCore.h"
#include "prtypes.h"
#include "MailNewsTypes2.h"
/* nsMsgKey is a unique ID for a particular message in a folder. If you want
a handle to a message that will remain valid even after resorting the folder
or otherwise changing their indices, you want one of these rather than a
nsMsgViewIndex. nsMsgKeys don't survive local mail folder compression, however.
*/
typedef PRUint32 nsMsgKey;
const nsMsgKey nsMsgKey_None = 0xffffffff;
/* nsMsgViewIndex
@ -42,7 +42,6 @@ const nsMsgKey nsMsgKey_None = 0xffffffff;
* - AB_NameCompletionIndex
*/
typedef PRUint32 nsMsgViewIndex;
const nsMsgViewIndex nsMsgViewIndex_None = 0xFFFFFFFF;

View File

@ -0,0 +1,28 @@
/* -*- Mode: C++; 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.
*/
typedef unsigned long nsMsgKey;
typedef unsigned long nsMsgViewIndex;
/* I'm doing this because I can't get it to build without this.
I need to revisit this later*/
[uuid(94C0D8D8-2045-11d3-8A8F-0060B0FC04D2)]
interface hack{
void hackFunction();
};

View File

@ -28,6 +28,7 @@ EXPORTS= MailNewsTypes.h\
$(NULL)
XPIDLSRCS = \
MailNewsTypes2.idl \
$(NULL)

View File

@ -16,12 +16,16 @@
# Reserved.
DEPTH=..\..
MODULE=mailnewspublic
XPIDLSRCS = \
.\MailNewsTypes2.idl \
$(NULL)
EXPORTS = MailNewsTypes.h \
rosetta_mailnews.h\
$(NULL)
MODULE=mailnews
include <$(DEPTH)\config\rules.mak>