/* Copyright (C) 1996,1997,1998,1999 by Salvador E. Tropea (SET),
   see copyrigh file for details */
#if defined(Uses_TPMCollection) && !defined(__TPMCollection__)
#define __TPMCollection__
typedef struct
{
 char   trigger[4];
 uint16 flags;
 char  *str;
 char  *name;
} PMacroStr;

class TPMCollection : public TStringCollection, public TStringable
{
public:
 TPMCollection(ccIndex aLimit, ccIndex aDelta) :
   TStringCollection(aLimit,aDelta) {};
 virtual void *keyOf(void *);
 virtual void  freeItem(void *);
 // TStringable:
 virtual void getText(char *dest, unsigned item, int maxLen);
 virtual unsigned GetCount(void) { return getCount(); };
};
#endif
