diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2015-03-30 19:54:07 +0900 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2015-03-30 19:54:07 +0900 |
commit | 51de5b2552f22c4099d8161c7e366716cbd43cc8 (patch) | |
tree | 1235352f9c138e0f1f5a1a611d6c9dc5721fff04 | |
parent | 62322256655c774f32cd31f9aed148cdafdc6f4f (diff) | |
download | srem-51de5b2552f22c4099d8161c7e366716cbd43cc8.tar.gz |
GPL header in source files & skeleton README
-rw-r--r-- | README.md | 17 | ||||
-rw-r--r-- | src/Control/SremConfig.hs | 23 | ||||
-rw-r--r-- | src/Data/Maybe/Read.hs | 2 | ||||
-rw-r--r-- | src/Main.hs | 29 | ||||
-rw-r--r-- | src/Types/Reminder.hs | 23 | ||||
-rw-r--r-- | src/Utility/Emacs.hs | 23 | ||||
-rw-r--r-- | src/Utility/EventCache.hs | 23 |
7 files changed, 138 insertions, 2 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..3fe4d31 --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# srem + +## Introduction + +TODO + +## Usage + +TODO + +## Building + +TODO + +## Installation + +TODO diff --git a/src/Control/SremConfig.hs b/src/Control/SremConfig.hs index eea067b..ec1dc77 100644 --- a/src/Control/SremConfig.hs +++ b/src/Control/SremConfig.hs @@ -1,3 +1,26 @@ +{- + + srem --- Timed reminders as notifications + + Copyright (C) 2015 Sean Whitton + + This file is part of srem. + + srem is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + srem is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with srem. If not, see <http://www.gnu.org/licenses/>. + +-} + module Control.SremConfig ( getCacheDirectory , intervals ) where diff --git a/src/Data/Maybe/Read.hs b/src/Data/Maybe/Read.hs index 909dc9c..bc256d1 100644 --- a/src/Data/Maybe/Read.hs +++ b/src/Data/Maybe/Read.hs @@ -1,6 +1,6 @@ module Data.Maybe.Read (readMaybe) where --- readMaybe function from "Learn You a Haskell" +-- readMaybe function from "Learn You a Haskell". Used here under CC BY-NC-SA 3.0. readMaybe :: (Read a) => String -> Maybe a readMaybe st = case reads st of diff --git a/src/Main.hs b/src/Main.hs index 15e8a5a..ae51aef 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -1 +1,28 @@ -import Types.Reminder +{- + + srem --- Timed reminders as notifications + + Copyright (C) 2015 Sean Whitton + + This file is part of srem. + + srem is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + srem is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with srem. If not, see <http://www.gnu.org/licenses/>. + +-} + +import Control.Applicative ((<$>), (<*>)) +import Types.Reminder +import Utility.EventCache + +main = undefined diff --git a/src/Types/Reminder.hs b/src/Types/Reminder.hs index 314f880..3c8892c 100644 --- a/src/Types/Reminder.hs +++ b/src/Types/Reminder.hs @@ -1,3 +1,26 @@ +{- + + srem --- Timed reminders as notifications + + Copyright (C) 2015 Sean Whitton + + This file is part of srem. + + srem is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + srem is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with srem. If not, see <http://www.gnu.org/licenses/>. + +-} + module Types.Reminder ( Reminder , makeReminder , makeReminder' diff --git a/src/Utility/Emacs.hs b/src/Utility/Emacs.hs index 2b197eb..476e7c6 100644 --- a/src/Utility/Emacs.hs +++ b/src/Utility/Emacs.hs @@ -1,6 +1,29 @@ {-# LANGUAGE DataKinds #-} {-# LANGUAGE TypeOperators #-} +{- + + srem --- Timed reminders as notifications + + Copyright (C) 2015 Sean Whitton + + This file is part of srem. + + srem is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + srem is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with srem. If not, see <http://www.gnu.org/licenses/>. + +-} + module Utility.Emacs ( getEmacsOutput , parseEmacsOutput) where diff --git a/src/Utility/EventCache.hs b/src/Utility/EventCache.hs index 1ad07a5..a437595 100644 --- a/src/Utility/EventCache.hs +++ b/src/Utility/EventCache.hs @@ -1,3 +1,26 @@ +{- + + srem --- Timed reminders as notifications + + Copyright (C) 2015 Sean Whitton + + This file is part of srem. + + srem is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + srem is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with srem. If not, see <http://www.gnu.org/licenses/>. + +-} + module Utility.EventCache ( purgeOldEventCaches , appendManualEventCache , readEmacsEventCache |