~ubuntu-branches/ubuntu/jaunty/libnotify/jaunty

« back to all changes in this revision

Viewing changes to libnotify/notifycommon.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2006-01-02 15:56:18 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060102155618-6sbpi0enbolsnng6
Tags: 0.3.0-0ubuntu1
* New upstream release
* works with new notify-daemon, contains a new (more gtk-ish) API

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _LIBNOTIFY_NOTIFY_COMMON_H_
 
2
#define _LIBNOTIFY_NOTIFY_COMMON_H_
 
3
#include <glib.h>
 
4
 
 
5
#define NOTIFY_TIMEOUT_DEFAULT -1
 
6
#define NOTIFY_TIMEOUT_NEVER 0
 
7
 
 
8
#define NOTIFY_DBUS_NAME           "org.freedesktop.Notifications"
 
9
#define NOTIFY_DBUS_CORE_INTERFACE "org.freedesktop.Notifications"
 
10
#define NOTIFY_DBUS_CORE_OBJECT    "/org/freedesktop/Notifications"
 
11
 
 
12
/**
 
13
 * Notification urgency levels.
 
14
 */
 
15
typedef enum
 
16
{
 
17
        NOTIFY_URGENCY_LOW,       /**< Low urgency.      */
 
18
        NOTIFY_URGENCY_NORMAL,    /**< Normal urgency.   */
 
19
        NOTIFY_URGENCY_CRITICAL,  /**< Critical urgency. */
 
20
 
 
21
} NotifyUrgency;
 
22
 
 
23
#endif /* _LIBNOTIFY_NOTIFY_H_ */