From 42567a5ac86b20f2a591195e6ec389d5d2cc7ce7 Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Mon, 15 Jun 2026 11:35:44 +0530 Subject: seperated in different files --- src/modes.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/modes.h (limited to 'src/modes.h') 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 + +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 -- cgit v1.2.3