McpRequest

## McpRequest McpRequest — Request object, implemented by Mission Control |

## Synopsis

    #include <mission-control-plugins/mission-control-plugins.h>

                        McpRequest;
                        McpRequestDelay;
                        McpRequestIface;
    void                mcp_request_deny                    (McpRequest *self,
                                                             GQuark domain,
                                                             gint code,
                                                             const gchar *message);
    void                mcp_request_end_delay               (McpRequest *self,
                                                             McpRequestDelay *delay);
    gboolean            mcp_request_find_request_by_type    (McpRequest *self,
                                                             guint start_from,
                                                             GQuark channel_type,
                                                             guint *ret_index,
                                                             GHashTable **ret_ref_requested_properties);
    const gchar *       mcp_request_get_account_path        (McpRequest *self);
    const gchar *       mcp_request_get_cm_name             (McpRequest *self);
    guint               mcp_request_get_n_requests          (McpRequest *self);
    const gchar *       mcp_request_get_protocol            (McpRequest *self);
    gint64              mcp_request_get_user_action_time    (McpRequest *self);
    GHashTable *        mcp_request_ref_nth_request         (McpRequest *self,
                                                             guint n);
    McpRequestDelay *   mcp_request_start_delay             (McpRequest *self);

## Object Hierarchy

      GInterface
       +----McpRequest

## Prerequisites

McpRequest requires GObject.

## Description

## Details

### McpRequest

    typedef struct _McpRequest McpRequest;

### McpRequestDelay

    typedef struct _McpRequestDelay McpRequestDelay;

### McpRequestIface

    typedef struct _McpRequestIface McpRequestIface;

### mcp_request_deny ()

    void                mcp_request_deny                    (McpRequest *self,
                                                             GQuark domain,
                                                             gint code,
                                                             const gchar *message);

### mcp_request_end_delay ()

    void                mcp_request_end_delay               (McpRequest *self,
                                                             McpRequestDelay *delay);

### mcp_request_find_request_by_type ()

    gboolean            mcp_request_find_request_by_type    (McpRequest *self,
                                                             guint start_from,
                                                             GQuark channel_type,
                                                             guint *ret_index,
                                                             GHashTable **ret_ref_requested_properties);

### mcp_request_get_account_path ()

    const gchar *       mcp_request_get_account_path        (McpRequest *self);

### mcp_request_get_cm_name ()

    const gchar *       mcp_request_get_cm_name             (McpRequest *self);

### mcp_request_get_n_requests ()

    guint               mcp_request_get_n_requests          (McpRequest *self);

### mcp_request_get_protocol ()

    const gchar *       mcp_request_get_protocol            (McpRequest *self);

### mcp_request_get_user_action_time ()

    gint64              mcp_request_get_user_action_time    (McpRequest *self);

### mcp_request_ref_nth_request ()

    GHashTable *        mcp_request_ref_nth_request         (McpRequest *self,
                                                             guint n);

### mcp_request_start_delay ()

    McpRequestDelay *   mcp_request_start_delay             (McpRequest *self);

## See Also

McpRequestPolicy