Logo Search packages:      
Sourcecode: libhildonmime version File versions

hildon-mime-open.c File Reference


Detailed Description

The

Definition in file hildon-mime-open.c.

#include <config.h>
#include <string.h>
#include <libgnomevfs/gnome-vfs-mime.h>
#include "hildon-mime.h"
#include "hildon-uri.h"
#include <syslog.h>

Go to the source code of this file.

Classes

struct  AppEntry

Defines

#define APP_LAUNCH_BANNER_METHOD   "app_launch_banner"
#define APP_LAUNCH_BANNER_METHOD_INTERFACE   "com.nokia.tasknav.app_launch_banner"
#define APP_LAUNCH_BANNER_METHOD_PATH   "/com/nokia/tasknav/app_launch_banner"
#define DLOG_CRIT(...)   syslog(LOG_CRIT | LOG_DAEMON, __VA_ARGS__)
#define DLOG_CRIT_F(FMT, ARG...)
#define DLOG_CRIT_L(FMT, ARG...)
#define DLOG_DEBUG(...)
#define DLOG_DEBUG_F(FMT, ARG...)   ((void)(0))
#define DLOG_DEBUG_L(FMT, ARG...)   ((void)(0))
#define DLOG_ERR(...)   syslog(LOG_ERR | LOG_DAEMON, __VA_ARGS__)
#define DLOG_ERR_F(FMT, ARG...)
#define DLOG_ERR_L(FMT, ARG...)
#define DLOG_INFO(...)   syslog(LOG_INFO | LOG_DAEMON, __VA_ARGS__)
#define DLOG_INFO_F(FMT, ARG...)
#define DLOG_INFO_L(FMT, ARG...)
#define DLOG_OPEN(X)   openlog(X, LOG_PID | LOG_NDELAY, LOG_DAEMON)
#define DLOG_WARN(...)   syslog(LOG_WARNING | LOG_DAEMON, __VA_ARGS__)
#define DLOG_WARN_F(FMT, ARG...)
#define DLOG_WARN_L(FMT, ARG...)
#define dprint(f, a...)
#define LOG_CLOSE()   closelog()
#define TASK_NAV_SERVICE   "com.nokia.tasknav"
#define X_OSSO_SERVICE   "X-Osso-Service"

Functions

static void app_entry_free (AppEntry *entry)
static gchar * get_service_name_by_mime_type (const char *mime_type)
static gchar * get_service_name_by_path (const gchar *path)
static gchar * get_service_name_from_desktop_file (const char *id)
gint hildon_mime_open_file (DBusConnection *con, const gchar *file)
gint hildon_mime_open_file_list (DBusConnection *con, GSList *files)
gint hildon_mime_open_file_with_mime_type (DBusConnection *con, const gchar *file, const gchar *mime_type)
static gboolean mime_launch (DBusConnection *con, AppEntry *entry)
static void mime_launch_add_arg (const gchar *uri, DBusMessageIter *iter)
static gboolean mime_launch_notify_task_navigator (DBusConnection *con, const gchar *service)
static void mime_open_file_list_foreach (const gchar *key, AppEntry *entry, GSList **list)


Generated by  Doxygen 1.6.0   Back to index