/*
 * This file is (C) Chris Wohlgemuth 2001
 *
 * It's part of the RexxMail class for even better WPS
 * integration of RexxMail (http://www.degeus.com).
 *
 * http://www.geocities.com/SiliconValley/Sector/5785/
 */
/*
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; see the file COPYING.  If not, write to
 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 */
#ifndef _MAILFILE_H
#define _MAILFILE_H

/* The class name */
#define MAILCLASS_NAME     "CWMailClass"
#define MAILCLASS_TITLE    "RexxMail"

/* The ini file containing NLS strings */
#define MAILCLASS_LANGUAGEININAME  "rexxmail.ini"

/* Mail class setup strings */
#define SETUP_SUBJECT     "REXXMAILSUBJECT"
#define SETUP_FROM        "REXXMAILFROM"
#define SETUP_TO          "REXXMAILTO"
#define SETUP_CC          "REXXMAILCC"
#define SETUP_BCC         "REXXMAILBCC"
#define SETUP_DATE        "REXXMAILDATE"
#define SETUP_ATTACHMENT  "REXXMAILATTACHMENT"
/* This one is used to force an object to update it's data.
   By doing so the WPS rereads the object and displays the
   proper info (and an OPEN=DEFAULT works even if the type
   of the object was just changed) */
#define SETUP_REFRESH     "REXXMAILREFRESH"

/* Keys for saving the instance data */
#define IDKEY_SUBJECT    1000
#define IDKEY_FROM       1001
#define IDKEY_TO         1002
#define IDKEY_DATE       1003
#define IDKEY_ATTACHMENT 1004
#define IDKEY_CC         1005
#define IDKEY_BCC        1006

/* The size of the instance data fields */
#define SIZE_SUBJECT     60//CCHMAXPATH
#define SIZE_FROM        60
#define SIZE_TO          60
#define SIZE_CC          60//100
#define SIZE_BCC         60//100
#define SIZE_DATE        50
#define SIZE_ATTACHMENT  10

/* The max length of any new column title */
#define SIZE_TITLE       20

#endif




