diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2014-12-28 19:26:29 -0500 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2014-12-28 19:26:29 -0500 |
commit | 59023d86f4275128751bcb84ecda5a630bf51857 (patch) | |
tree | ff9f17eba3bdfec0fac22332e1689a93b33209bb /src/hooks.h | |
parent | README: Add flattr button at the end (diff) | |
parent | redshift.1: Add description of hooks in man page (diff) | |
download | redshift-ng-59023d86f4275128751bcb84ecda5a630bf51857.tar.gz redshift-ng-59023d86f4275128751bcb84ecda5a630bf51857.tar.bz2 redshift-ng-59023d86f4275128751bcb84ecda5a630bf51857.tar.xz |
Merge branch 'hooks-dir'
Diffstat (limited to 'src/hooks.h')
-rw-r--r-- | src/hooks.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/hooks.h b/src/hooks.h new file mode 100644 index 0000000..fd1c2f0 --- /dev/null +++ b/src/hooks.h @@ -0,0 +1,29 @@ +/* hooks.h -- Hooks triggered by events + This file is part of Redshift. + + Redshift 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. + + Redshift 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 Redshift. If not, see <http://www.gnu.org/licenses/>. + + Copyright (c) 2014 Jon Lund Steffensen <jonlst@gmail.com> +*/ + +#ifndef REDSHIFT_HOOKS_H +#define REDSHIFT_HOOKS_H + +#include "redshift.h" + +void hooks_signal_period_change(period_t prev_period, + period_t period); + + +#endif /* ! REDSHIFT_HOOKS_H */ |