MexActionProvider

MexActionProvider — Interface for sources of actions

Synopsis

struct              MexActionProviderInterface;
const GList *       mex_action_provider_get_actions     (MexActionProvider *provider);

Description

Implementing MexActionProvider means that the class can provide a list of actions that apply to an MexContent with a particular mime-type.

Details

struct MexActionProviderInterface

struct MexActionProviderInterface {
  GTypeInterface g_iface;

  /* virtual functions */
  const GList * (*get_actions)   (MexActionProvider *provider);
};

mex_action_provider_get_actions ()

const GList *       mex_action_provider_get_actions     (MexActionProvider *provider);

Retrieves the list of actions from a MexActionProvider. This is a list of MexActionInfo##s.

provider :

a MexActionProvider

Returns :

The actions of provider