McdService

McdService — Service interface implementation

Stability Level

Unstable, unless otherwise indicated

Synopsis


#include <mcd-service.h>


                    McdService;
McdService*         mcd_service_new                     (void);
void                mcd_service_run                     (McdService *self);

Object Hierarchy


  GObject
   +----McdMission
         +----McdOperation
               +----McdController
                     +----McdMaster
                           +----McdService

Signals


  "account-presence-changed"                       : Run Last / Has Details
  "account-status-changed"                         : Run Last / Has Details
  "mcd-error"                                      : Run Last / Has Details
  "presence-changed"                               : Run Last / Has Details
  "presence-requested"                             : Run Last / Has Details
  "presence-status-actual"                         : Run Last / Has Details
  "presence-status-requested"                      : Run Last / Has Details
  "status-actual"                                  : Run Last / Has Details
  "used-channels-count-changed"                    : Run Last / Has Details

Description

It is the frontline interface object that exposes mission-control to outside world through a dbus interface. It basically subclasses McdMaster and wraps up everything inside it and translate them into mission-control dbus interface.

Details

McdService

typedef struct _McdService McdService;


mcd_service_new ()

McdService*         mcd_service_new                     (void);

Returns :

mcd_service_run ()

void                mcd_service_run                     (McdService *self);

self :

Signal Details

The "account-presence-changed" signal

void                user_function                      (McdService *mcdservice,
                                                        guint       arg1,
                                                        guint       arg2,
                                                        gchar      *arg3,
                                                        guint       arg4,
                                                        gchar      *arg5,
                                                        gpointer    user_data)       : Run Last / Has Details

mcdservice : the object which received the signal.
arg1 :
arg2 :
arg3 :
arg4 :
arg5 :
user_data : user data set when the signal handler was connected.

The "account-status-changed" signal

void                user_function                      (McdService *mcdservice,
                                                        guint       arg1,
                                                        guint       arg2,
                                                        guint       arg3,
                                                        gchar      *arg4,
                                                        gpointer    user_data)       : Run Last / Has Details

mcdservice : the object which received the signal.
arg1 :
arg2 :
arg3 :
arg4 :
user_data : user data set when the signal handler was connected.

The "mcd-error" signal

void                user_function                      (McdService *mcdservice,
                                                        guint       arg1,
                                                        gchar      *arg2,
                                                        guint       arg3,
                                                        gpointer    user_data)       : Run Last / Has Details

mcdservice : the object which received the signal.
arg1 :
arg2 :
arg3 :
user_data : user data set when the signal handler was connected.

The "presence-changed" signal

void                user_function                      (McdService *mcdservice,
                                                        guint       arg1,
                                                        gchar      *arg2,
                                                        gpointer    user_data)       : Run Last / Has Details

mcdservice : the object which received the signal.
arg1 :
arg2 :
user_data : user data set when the signal handler was connected.

The "presence-requested" signal

void                user_function                      (McdService *mcdservice,
                                                        guint       arg1,
                                                        gchar      *arg2,
                                                        gpointer    user_data)       : Run Last / Has Details

mcdservice : the object which received the signal.
arg1 :
arg2 :
user_data : user data set when the signal handler was connected.

The "presence-status-actual" signal

void                user_function                      (McdService *mcdservice,
                                                        guint       arg1,
                                                        gpointer    user_data)       : Run Last / Has Details

mcdservice : the object which received the signal.
arg1 :
user_data : user data set when the signal handler was connected.

The "presence-status-requested" signal

void                user_function                      (McdService *mcdservice,
                                                        guint       arg1,
                                                        gpointer    user_data)       : Run Last / Has Details

mcdservice : the object which received the signal.
arg1 :
user_data : user data set when the signal handler was connected.

The "status-actual" signal

void                user_function                      (McdService *mcdservice,
                                                        guint       arg1,
                                                        guint       arg2,
                                                        gpointer    user_data)       : Run Last / Has Details

mcdservice : the object which received the signal.
arg1 :
arg2 :
user_data : user data set when the signal handler was connected.

The "used-channels-count-changed" signal

void                user_function                      (McdService *mcdservice,
                                                        gchar      *arg1,
                                                        guint       arg2,
                                                        gpointer    user_data)       : Run Last / Has Details

mcdservice : the object which received the signal.
arg1 :
arg2 :
user_data : user data set when the signal handler was connected.