diff options
Diffstat (limited to 'src/modes.h')
| -rw-r--r-- | src/modes.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/modes.h b/src/modes.h new file mode 100644 index 0000000..d406704 --- /dev/null +++ b/src/modes.h @@ -0,0 +1,16 @@ +#ifndef MODES_H +#define MODES_H + +#include <stdbool.h> + +enum { + MODE_WORD, + MODE_SENTENCE, + MODE_PARAGRAPH +}; + +int word_mode(int length, bool newline, bool capitalize); +int sentence_mode(int length, bool newline); +int paragraph_mode(int length, bool newline); + +#endif // MODES_H |
