X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=panel-plugin%2Fhdaps.h;h=6e6e8170c4b9fe271ca44ef1d6edac30d83d77c8;hb=c2192722c30e86449a7598eb9c962af39ed2a7e0;hp=2c900b2a93c3159a4a9417670e2d6d797129f5d1;hpb=5f69fb70c315fbbf79e435c88fabfb1b86be4b2a;p=xfce4-hdaps.git diff --git a/panel-plugin/hdaps.h b/panel-plugin/hdaps.h index 2c900b2..6e6e817 100644 --- a/panel-plugin/hdaps.h +++ b/panel-plugin/hdaps.h @@ -1,28 +1,32 @@ /* * xfce4-hdaps, an XFCE4 panel plugin for the HDAPS system. * - * Copyright Michael Orlitzky + * Copyright (C) 2019 Michael Orlitzky * - * http://michael.orlitzky.com/ + * http://michael.orlitzky.com/ * * This program 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. + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * * This program 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. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details: + * + * https://www.gnu.org/licenses/agpl-3.0.html * - * http://www.fsf.org/licensing/licenses/gpl.html */ #ifndef __HDAPS_H__ #define __HDAPS_H__ -#define HDAPS_ERROR -1 +#include + +#define HDAPS_ERROR -1 #define HDAPS_OFF 0 +#define HDAPS_ON 1 #define UNLOAD_HEADS_FMT "/sys/block/%s/device/unload_heads" /* The most devices we'll consider. Gotta stop somewhere. */