head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2003.07.15.14.16.49;	author vida;	state dead;
branches;
next	1.1;

1.1
date	2003.07.11.14.01.08;	author vida;	state Exp;
branches;
next	;


desc
@@


1.2
log
@making pike happy.
@
text
@#include <camas/globals.h>

// The functions in this class will be called like if they were
// in the class Main of ../FolderTools.pmod so that you can have
// your own functions here without changing Camas.

/* Important: Rename this file to _FolderTools.pmod so that Camas load it */

inherit CAMAS.FolderTools; 

int is_expert(array mailbox, string expertbox)
{
  return is_folder(mailbox, expertbox);
}

int is_a_special_folder(array mailbox, object sessobj)
{
   FOLDERS_DEBUG(sprintf("local is_a_special_folder called for %s\n", mailbox[MB_FOLDERNAME_IDX]));
   return (CAMAS.FolderTools.is_a_special_folder(mailbox, sessobj)
          || is_expert(mailbox, "expert-mail"));
}
@


1.1
log
@Added a macro CAMASFOLDERTOOLS so that we can have local pmods for Camas
transparently.
Also added an example file
@
text
@@

