2007-09-07 23:17:30 +02:00
|
|
|
#ifndef GET_WORD_H
|
|
|
|
#define GET_WORD_H
|
|
|
|
|
|
|
|
#include <cstdlib>
|
|
|
|
|
|
|
|
class GetWord
|
|
|
|
{
|
2007-09-08 00:25:30 +02:00
|
|
|
public:
|
|
|
|
static char *run ( char **s, size_t *len );
|
|
|
|
private:
|
|
|
|
static bool isWordCharacter ( char *s, size_t *bytes );
|
2007-09-07 23:17:30 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|