updated copyright end date to 2016
[psensor.git] / src / pxdg.h
index 82abc44..98fd914 100644 (file)
@@ -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
 #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