Adding this file to the repository (not built yet). This is a stub file

which contains some JS methods used for special email address processing
you might want to perform on email addresses.
This commit is contained in:
mscott%netscape.com 2000-01-24 00:43:06 +00:00
Родитель 4ab4a29bdf
Коммит 3a5b5af8c6
1 изменённых файлов: 43 добавлений и 0 удалений

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

@ -0,0 +1,43 @@
/* -*- 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.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
* Rights Reserved.
*/
/////////////////////////////////////////////////////////////////////
// If we want to do any special processing for each email address
// we show in the msg header view overlay, we can isolate it in this file.
// It is included by msgHdrViewOverlay.
//////////////////////////////////////////////////////////////////////
// AddExtraAddressProcessing --> If you want to add any extra
// customizations for a given address you can insert it here.
// emailAddress --> is the email address in question
// addressButton --> the titledbutton in the UI that we have created
// to represent this email address. this is probably what you want
// to modify / poke.
function AddExtraAddressProcessing(emailAddress, addressButton)
{}
// NotifyClearAddresses --> use to clear any observers on the email
// addresses that maybe in the hdr view overlay. Each time a new
// message is loaded in message pane, we'll call this function...
function NotifyClearAddresses()
{
// forget about our old stored address data
currentAddressData = new Object();
}