summaryrefslogtreecommitdiff
path: root/services/mailbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'services/mailbox.h')
-rw-r--r--services/mailbox.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/services/mailbox.h b/services/mailbox.h
new file mode 100644
index 0000000..4d467d6
--- /dev/null
+++ b/services/mailbox.h
@@ -0,0 +1,47 @@
+//-----------------------------------------------------------------------------
+/*
+ * Description: This file contains the names & types for the service-interface
+ *
+ * See the file README in the main directory for a description of
+ * this software, copyright information, and how to reach the author.
+ *
+ * Author: alex
+ * Date: 03.03.2006
+ *
+ * Last modfied:
+ * $Author: amair $
+ * $Date: 2007/11/22 09:01:05 $
+ * $Revision: 1.1 $
+ */
+//-----------------------------------------------------------------------------
+#ifndef __AxMailBoxServiceTypes_H__
+#define __AxMailBoxServiceTypes_H__
+
+//-----------------------------------------------------------------------------
+// includes
+//-----------------------------------------------------------------------------
+
+//----- C++ -------------------------------------------------------------------
+//----- C ---------------------------------------------------------------------
+//----- AxLib -----------------------------------------------------------------
+//----- vdr -------------------------------------------------------------------
+//----- local -----------------------------------------------------------------
+
+//=============================================================================
+// Service-Names (ID)
+//=============================================================================
+#define MailBox_HasNewMail_v1_0_NAME "MailBox-HasNewMail-1.0"
+
+//=============================================================================
+// service MailBox-HasNewMail-1.0
+//=============================================================================
+/** Ask if new mails are present
+ *
+ * The Data-parameter to cPlugin::Service() is simply a pointer to a bool
+ * which - on return - is
+ * - true if at least one mail account contains an unread mail
+ * - false if none of the mail accounts cotains any unread mail
+ */
+
+#endif
+