X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fpxdg.h;h=98fd91496db384baaf603618dfe61d2eb1d22fc6;hb=4270c903e8007017b80c6c817dd41cf699f00df1;hp=82abc44e0a77980c896488203726319e16184adc;hpb=5c98024b1c9130dc351172f0be6e0ad15f208526;p=psensor.git diff --git a/src/pxdg.h b/src/pxdg.h index 82abc44..98fd914 100644 --- a/src/pxdg.h +++ b/src/pxdg.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2014 jeanfi@gmail.com + * Copyright (C) 2010-2016 jeanfi@gmail.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -19,7 +19,13 @@ #ifndef _PXDG_H_ #define _PXDG_H_ -unsigned int pxdg_is_autostarted(); +/* + * returns: + * - 1 if psensor is currently launch during session startup. + * - 0 if psensor is not currently launch during session startup. + * - -1 if it cannot be determined. + */ +int pxdg_is_autostarted(void); void pxdg_set_autostart(unsigned int); #endif