From 51de5b2552f22c4099d8161c7e366716cbd43cc8 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 30 Mar 2015 19:54:07 +0900 Subject: GPL header in source files & skeleton README --- README.md | 17 +++++++++++++++++ src/Control/SremConfig.hs | 23 +++++++++++++++++++++++ src/Data/Maybe/Read.hs | 2 +- src/Main.hs | 29 ++++++++++++++++++++++++++++- src/Types/Reminder.hs | 23 +++++++++++++++++++++++ src/Utility/Emacs.hs | 23 +++++++++++++++++++++++ src/Utility/EventCache.hs | 23 +++++++++++++++++++++++ 7 files changed, 138 insertions(+), 2 deletions(-) create mode 100644 README.md 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 . + +-} + 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 . + +-} + +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 . + +-} + 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 . + +-} + 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 . + +-} + module Utility.EventCache ( purgeOldEventCaches , appendManualEventCache , readEmacsEventCache -- cgit v1.2.3