home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
NSDEDIT2.ZIP
/
EDTKT06B.ZIP
/
ABBREV.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1994-09-06
|
3KB
|
81 lines
/***********************************************************************
* *
* Definition file for ABBREV.HPP *
* *
* Purpose : Input functions for edit *
* *
* Author : Peter Bloemendaal *
* Brainbox systems +31-70-3523661 *
* eMail : internet -> bloemendaal@rullf2.LeidenUniv.nl *
* fidonet -> 2:281/908 *
* *
*----------------------------------------------------------------------*
* *
* *
* $Log: abbrev.hpv $
// Revision 1.7 1994/08/23 21:58:18 BRAINBOX
// 1. Implementation moved to abbrev.cpp
// *
* *
************************************************************************
*/
#define _MAX_WORD_LENGTH 40
#define _MAX_STOP_LENGTH 10
#if 0
class AbbreviationEdit : public Edit
{
private:
char **abbrev ;
char **abbext ;
char stopchar[_MAX_STOP_LENGTH] ;
bool status ;
int nr ;
public:
void addchar(char) ;
AbbreviationEdit(int x1, int y1, int x2, int y2, unsigned char *s) :
Edit(x1, y1, x2, y2, s)
{
nr = 0 ;
status = TRUE
;
strcpy(stopchar," .,!?\n") ;
} ;
~AbbreviationEdit(void) ;
void setAbbrevStatus(int) ;
int loadAbbreviation(char *filename) ;
} ;
#else
class AbbreviationEdit : public Edit
{
private:
char **abbrev ;
char **abbext ;
char *stopchar;
bool status ;
int nr ;
void addchar(char) ;
public:
AbbreviationEdit(int x1, int y1, int x2, int y2, unsigned char *s) :
Edit(x1, y1, x2, y2, s)
{
nr = 0 ;
status = TRUE
;
stopchar = " .,!?\n";
} ;
~AbbreviationEdit(void) ;
void setAbbrevStatus(int) ;
int loadAbbreviation(char *filename) ;
} ;
#endif