goa-generated.h   goa-generated.h 
skipping to change at line 40 skipping to change at line 40
gboolean (*handle_ensure_credentials) ( gboolean (*handle_ensure_credentials) (
GoaAccount *object, GoaAccount *object,
GDBusMethodInvocation *invocation); GDBusMethodInvocation *invocation);
gboolean (*handle_remove) ( gboolean (*handle_remove) (
GoaAccount *object, GoaAccount *object,
GDBusMethodInvocation *invocation); GDBusMethodInvocation *invocation);
gboolean (*get_attention_needed) (GoaAccount *object); gboolean (*get_attention_needed) (GoaAccount *object);
gboolean (*get_calendar_disabled) (GoaAccount *object);
gboolean (*get_chat_disabled) (GoaAccount *object);
gboolean (*get_contacts_disabled) (GoaAccount *object);
gboolean (*get_documents_disabled) (GoaAccount *object);
const gchar * (*get_id) (GoaAccount *object); const gchar * (*get_id) (GoaAccount *object);
const gchar * (*get_identity) (GoaAccount *object); const gchar * (*get_identity) (GoaAccount *object);
gboolean (*get_mail_disabled) (GoaAccount *object);
const gchar * (*get_presentation_identity) (GoaAccount *object); const gchar * (*get_presentation_identity) (GoaAccount *object);
const gchar * (*get_provider_icon) (GoaAccount *object); const gchar * (*get_provider_icon) (GoaAccount *object);
const gchar * (*get_provider_name) (GoaAccount *object); const gchar * (*get_provider_name) (GoaAccount *object);
const gchar * (*get_provider_type) (GoaAccount *object); const gchar * (*get_provider_type) (GoaAccount *object);
}; };
skipping to change at line 132 skipping to change at line 142
void goa_account_set_attention_needed (GoaAccount *object, gboolean value); void goa_account_set_attention_needed (GoaAccount *object, gboolean value);
const gchar *goa_account_get_identity (GoaAccount *object); const gchar *goa_account_get_identity (GoaAccount *object);
gchar *goa_account_dup_identity (GoaAccount *object); gchar *goa_account_dup_identity (GoaAccount *object);
void goa_account_set_identity (GoaAccount *object, const gchar *value); void goa_account_set_identity (GoaAccount *object, const gchar *value);
const gchar *goa_account_get_presentation_identity (GoaAccount *object); const gchar *goa_account_get_presentation_identity (GoaAccount *object);
gchar *goa_account_dup_presentation_identity (GoaAccount *object); gchar *goa_account_dup_presentation_identity (GoaAccount *object);
void goa_account_set_presentation_identity (GoaAccount *object, const gchar *value); void goa_account_set_presentation_identity (GoaAccount *object, const gchar *value);
gboolean goa_account_get_mail_disabled (GoaAccount *object);
void goa_account_set_mail_disabled (GoaAccount *object, gboolean value);
gboolean goa_account_get_calendar_disabled (GoaAccount *object);
void goa_account_set_calendar_disabled (GoaAccount *object, gboolean value)
;
gboolean goa_account_get_contacts_disabled (GoaAccount *object);
void goa_account_set_contacts_disabled (GoaAccount *object, gboolean value)
;
gboolean goa_account_get_chat_disabled (GoaAccount *object);
void goa_account_set_chat_disabled (GoaAccount *object, gboolean value);
gboolean goa_account_get_documents_disabled (GoaAccount *object);
void goa_account_set_documents_disabled (GoaAccount *object, gboolean value
);
/* ---- */ /* ---- */
#define GOA_TYPE_ACCOUNT_PROXY (goa_account_proxy_get_type ()) #define GOA_TYPE_ACCOUNT_PROXY (goa_account_proxy_get_type ())
#define GOA_ACCOUNT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_ACC OUNT_PROXY, GoaAccountProxy)) #define GOA_ACCOUNT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_ACC OUNT_PROXY, GoaAccountProxy))
#define GOA_ACCOUNT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_ ACCOUNT_PROXY, GoaAccountProxyClass)) #define GOA_ACCOUNT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_ ACCOUNT_PROXY, GoaAccountProxyClass))
#define GOA_ACCOUNT_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA _TYPE_ACCOUNT_PROXY, GoaAccountProxyClass)) #define GOA_ACCOUNT_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA _TYPE_ACCOUNT_PROXY, GoaAccountProxyClass))
#define GOA_IS_ACCOUNT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_ ACCOUNT_PROXY)) #define GOA_IS_ACCOUNT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_ ACCOUNT_PROXY))
#define GOA_IS_ACCOUNT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TY PE_ACCOUNT_PROXY)) #define GOA_IS_ACCOUNT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TY PE_ACCOUNT_PROXY))
typedef struct _GoaAccountProxy GoaAccountProxy; typedef struct _GoaAccountProxy GoaAccountProxy;
skipping to change at line 554 skipping to change at line 579
struct _GoaOAuthBasedSkeletonClass struct _GoaOAuthBasedSkeletonClass
{ {
GDBusInterfaceSkeletonClass parent_class; GDBusInterfaceSkeletonClass parent_class;
}; };
GType goa_oauth_based_skeleton_get_type (void) G_GNUC_CONST; GType goa_oauth_based_skeleton_get_type (void) G_GNUC_CONST;
GoaOAuthBased *goa_oauth_based_skeleton_new (void); GoaOAuthBased *goa_oauth_based_skeleton_new (void);
/* ------------------------------------------------------------------------ */ /* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.OnlineAccounts.PasswordBased */
#define GOA_TYPE_PASSWORD_BASED (goa_password_based_get_type ())
#define GOA_PASSWORD_BASED(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_PA
SSWORD_BASED, GoaPasswordBased))
#define GOA_IS_PASSWORD_BASED(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE
_PASSWORD_BASED))
#define GOA_PASSWORD_BASED_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o)
, GOA_TYPE_PASSWORD_BASED, GoaPasswordBasedIface))
struct _GoaPasswordBased;
typedef struct _GoaPasswordBased GoaPasswordBased;
typedef struct _GoaPasswordBasedIface GoaPasswordBasedIface;
struct _GoaPasswordBasedIface
{
GTypeInterface parent_iface;
gboolean (*handle_get_password) (
GoaPasswordBased *object,
GDBusMethodInvocation *invocation,
const gchar *arg_id);
};
GType goa_password_based_get_type (void) G_GNUC_CONST;
GDBusInterfaceInfo *goa_password_based_interface_info (void);
guint goa_password_based_override_properties (GObjectClass *klass, guint pr
operty_id_begin);
/* D-Bus method call completion functions: */
void goa_password_based_complete_get_password (
GoaPasswordBased *object,
GDBusMethodInvocation *invocation,
const gchar *password);
/* D-Bus method calls: */
void goa_password_based_call_get_password (
GoaPasswordBased *proxy,
const gchar *arg_id,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean goa_password_based_call_get_password_finish (
GoaPasswordBased *proxy,
gchar **out_password,
GAsyncResult *res,
GError **error);
gboolean goa_password_based_call_get_password_sync (
GoaPasswordBased *proxy,
const gchar *arg_id,
gchar **out_password,
GCancellable *cancellable,
GError **error);
/* ---- */
#define GOA_TYPE_PASSWORD_BASED_PROXY (goa_password_based_proxy_get_type ()
)
#define GOA_PASSWORD_BASED_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_T
YPE_PASSWORD_BASED_PROXY, GoaPasswordBasedProxy))
#define GOA_PASSWORD_BASED_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GO
A_TYPE_PASSWORD_BASED_PROXY, GoaPasswordBasedProxyClass))
#define GOA_PASSWORD_BASED_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((
o), GOA_TYPE_PASSWORD_BASED_PROXY, GoaPasswordBasedProxyClass))
#define GOA_IS_PASSWORD_BASED_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GO
A_TYPE_PASSWORD_BASED_PROXY))
#define GOA_IS_PASSWORD_BASED_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k),
GOA_TYPE_PASSWORD_BASED_PROXY))
typedef struct _GoaPasswordBasedProxy GoaPasswordBasedProxy;
typedef struct _GoaPasswordBasedProxyClass GoaPasswordBasedProxyClass;
typedef struct _GoaPasswordBasedProxyPrivate GoaPasswordBasedProxyPrivate;
struct _GoaPasswordBasedProxy
{
/*< private >*/
GDBusProxy parent_instance;
GoaPasswordBasedProxyPrivate *priv;
};
struct _GoaPasswordBasedProxyClass
{
GDBusProxyClass parent_class;
};
GType goa_password_based_proxy_get_type (void) G_GNUC_CONST;
void goa_password_based_proxy_new (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaPasswordBased *goa_password_based_proxy_new_finish (
GAsyncResult *res,
GError **error);
GoaPasswordBased *goa_password_based_proxy_new_sync (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
void goa_password_based_proxy_new_for_bus (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaPasswordBased *goa_password_based_proxy_new_for_bus_finish (
GAsyncResult *res,
GError **error);
GoaPasswordBased *goa_password_based_proxy_new_for_bus_sync (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
/* ---- */
#define GOA_TYPE_PASSWORD_BASED_SKELETON (goa_password_based_skeleton_get_t
ype ())
#define GOA_PASSWORD_BASED_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GO
A_TYPE_PASSWORD_BASED_SKELETON, GoaPasswordBasedSkeleton))
#define GOA_PASSWORD_BASED_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k),
GOA_TYPE_PASSWORD_BASED_SKELETON, GoaPasswordBasedSkeletonClass))
#define GOA_PASSWORD_BASED_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS
((o), GOA_TYPE_PASSWORD_BASED_SKELETON, GoaPasswordBasedSkeletonClass))
#define GOA_IS_PASSWORD_BASED_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o),
GOA_TYPE_PASSWORD_BASED_SKELETON))
#define GOA_IS_PASSWORD_BASED_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((
k), GOA_TYPE_PASSWORD_BASED_SKELETON))
typedef struct _GoaPasswordBasedSkeleton GoaPasswordBasedSkeleton;
typedef struct _GoaPasswordBasedSkeletonClass GoaPasswordBasedSkeletonClass
;
typedef struct _GoaPasswordBasedSkeletonPrivate GoaPasswordBasedSkeletonPri
vate;
struct _GoaPasswordBasedSkeleton
{
/*< private >*/
GDBusInterfaceSkeleton parent_instance;
GoaPasswordBasedSkeletonPrivate *priv;
};
struct _GoaPasswordBasedSkeletonClass
{
GDBusInterfaceSkeletonClass parent_class;
};
GType goa_password_based_skeleton_get_type (void) G_GNUC_CONST;
GoaPasswordBased *goa_password_based_skeleton_new (void);
/* ------------------------------------------------------------------------
*/
/* Declarations for org.gnome.OnlineAccounts.Manager */ /* Declarations for org.gnome.OnlineAccounts.Manager */
#define GOA_TYPE_MANAGER (goa_manager_get_type ()) #define GOA_TYPE_MANAGER (goa_manager_get_type ())
#define GOA_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_MANAGER, GoaManager)) #define GOA_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_MANAGER, GoaManager))
#define GOA_IS_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_MANAGE R)) #define GOA_IS_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_MANAGE R))
#define GOA_MANAGER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GOA_T YPE_MANAGER, GoaManagerIface)) #define GOA_MANAGER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GOA_T YPE_MANAGER, GoaManagerIface))
struct _GoaManager; struct _GoaManager;
typedef struct _GoaManager GoaManager; typedef struct _GoaManager GoaManager;
typedef struct _GoaManagerIface GoaManagerIface; typedef struct _GoaManagerIface GoaManagerIface;
skipping to change at line 1343 skipping to change at line 1517
struct _GoaDocumentsSkeletonClass struct _GoaDocumentsSkeletonClass
{ {
GDBusInterfaceSkeletonClass parent_class; GDBusInterfaceSkeletonClass parent_class;
}; };
GType goa_documents_skeleton_get_type (void) G_GNUC_CONST; GType goa_documents_skeleton_get_type (void) G_GNUC_CONST;
GoaDocuments *goa_documents_skeleton_new (void); GoaDocuments *goa_documents_skeleton_new (void);
/* ------------------------------------------------------------------------
*/
/* Declarations for org.gnome.OnlineAccounts.Exchange */
#define GOA_TYPE_EXCHANGE (goa_exchange_get_type ())
#define GOA_EXCHANGE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_EXCHANGE
, GoaExchange))
#define GOA_IS_EXCHANGE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_EXCHA
NGE))
#define GOA_EXCHANGE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GOA_
TYPE_EXCHANGE, GoaExchangeIface))
struct _GoaExchange;
typedef struct _GoaExchange GoaExchange;
typedef struct _GoaExchangeIface GoaExchangeIface;
struct _GoaExchangeIface
{
GTypeInterface parent_iface;
const gchar * (*get_host) (GoaExchange *object);
};
GType goa_exchange_get_type (void) G_GNUC_CONST;
GDBusInterfaceInfo *goa_exchange_interface_info (void);
guint goa_exchange_override_properties (GObjectClass *klass, guint property
_id_begin);
/* D-Bus property accessors: */
const gchar *goa_exchange_get_host (GoaExchange *object);
gchar *goa_exchange_dup_host (GoaExchange *object);
void goa_exchange_set_host (GoaExchange *object, const gchar *value);
/* ---- */
#define GOA_TYPE_EXCHANGE_PROXY (goa_exchange_proxy_get_type ())
#define GOA_EXCHANGE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_EX
CHANGE_PROXY, GoaExchangeProxy))
#define GOA_EXCHANGE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE
_EXCHANGE_PROXY, GoaExchangeProxyClass))
#define GOA_EXCHANGE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GO
A_TYPE_EXCHANGE_PROXY, GoaExchangeProxyClass))
#define GOA_IS_EXCHANGE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE
_EXCHANGE_PROXY))
#define GOA_IS_EXCHANGE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_T
YPE_EXCHANGE_PROXY))
typedef struct _GoaExchangeProxy GoaExchangeProxy;
typedef struct _GoaExchangeProxyClass GoaExchangeProxyClass;
typedef struct _GoaExchangeProxyPrivate GoaExchangeProxyPrivate;
struct _GoaExchangeProxy
{
/*< private >*/
GDBusProxy parent_instance;
GoaExchangeProxyPrivate *priv;
};
struct _GoaExchangeProxyClass
{
GDBusProxyClass parent_class;
};
GType goa_exchange_proxy_get_type (void) G_GNUC_CONST;
void goa_exchange_proxy_new (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaExchange *goa_exchange_proxy_new_finish (
GAsyncResult *res,
GError **error);
GoaExchange *goa_exchange_proxy_new_sync (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
void goa_exchange_proxy_new_for_bus (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaExchange *goa_exchange_proxy_new_for_bus_finish (
GAsyncResult *res,
GError **error);
GoaExchange *goa_exchange_proxy_new_for_bus_sync (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
/* ---- */
#define GOA_TYPE_EXCHANGE_SKELETON (goa_exchange_skeleton_get_type ())
#define GOA_EXCHANGE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE
_EXCHANGE_SKELETON, GoaExchangeSkeleton))
#define GOA_EXCHANGE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_T
YPE_EXCHANGE_SKELETON, GoaExchangeSkeletonClass))
#define GOA_EXCHANGE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o),
GOA_TYPE_EXCHANGE_SKELETON, GoaExchangeSkeletonClass))
#define GOA_IS_EXCHANGE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_T
YPE_EXCHANGE_SKELETON))
#define GOA_IS_EXCHANGE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GO
A_TYPE_EXCHANGE_SKELETON))
typedef struct _GoaExchangeSkeleton GoaExchangeSkeleton;
typedef struct _GoaExchangeSkeletonClass GoaExchangeSkeletonClass;
typedef struct _GoaExchangeSkeletonPrivate GoaExchangeSkeletonPrivate;
struct _GoaExchangeSkeleton
{
/*< private >*/
GDBusInterfaceSkeleton parent_instance;
GoaExchangeSkeletonPrivate *priv;
};
struct _GoaExchangeSkeletonClass
{
GDBusInterfaceSkeletonClass parent_class;
};
GType goa_exchange_skeleton_get_type (void) G_GNUC_CONST;
GoaExchange *goa_exchange_skeleton_new (void);
/* ---- */ /* ---- */
#define GOA_TYPE_OBJECT (goa_object_get_type ()) #define GOA_TYPE_OBJECT (goa_object_get_type ())
#define GOA_OBJECT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_OBJECT, Go aObject)) #define GOA_OBJECT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_OBJECT, Go aObject))
#define GOA_IS_OBJECT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_OBJECT) ) #define GOA_IS_OBJECT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_OBJECT) )
#define GOA_OBJECT_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GOA_TY PE_OBJECT, GoaObject)) #define GOA_OBJECT_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GOA_TY PE_OBJECT, GoaObject))
struct _GoaObject; struct _GoaObject;
typedef struct _GoaObject GoaObject; typedef struct _GoaObject GoaObject;
typedef struct _GoaObjectIface GoaObjectIface; typedef struct _GoaObjectIface GoaObjectIface;
skipping to change at line 1364 skipping to change at line 1662
struct _GoaObjectIface struct _GoaObjectIface
{ {
GTypeInterface parent_iface; GTypeInterface parent_iface;
}; };
GType goa_object_get_type (void) G_GNUC_CONST; GType goa_object_get_type (void) G_GNUC_CONST;
GoaAccount *goa_object_get_account (GoaObject *object); GoaAccount *goa_object_get_account (GoaObject *object);
GoaOAuth2Based *goa_object_get_oauth2_based (GoaObject *object); GoaOAuth2Based *goa_object_get_oauth2_based (GoaObject *object);
GoaOAuthBased *goa_object_get_oauth_based (GoaObject *object); GoaOAuthBased *goa_object_get_oauth_based (GoaObject *object);
GoaPasswordBased *goa_object_get_password_based (GoaObject *object);
GoaManager *goa_object_get_manager (GoaObject *object); GoaManager *goa_object_get_manager (GoaObject *object);
GoaMail *goa_object_get_mail (GoaObject *object); GoaMail *goa_object_get_mail (GoaObject *object);
GoaCalendar *goa_object_get_calendar (GoaObject *object); GoaCalendar *goa_object_get_calendar (GoaObject *object);
GoaContacts *goa_object_get_contacts (GoaObject *object); GoaContacts *goa_object_get_contacts (GoaObject *object);
GoaChat *goa_object_get_chat (GoaObject *object); GoaChat *goa_object_get_chat (GoaObject *object);
GoaDocuments *goa_object_get_documents (GoaObject *object); GoaDocuments *goa_object_get_documents (GoaObject *object);
GoaExchange *goa_object_get_exchange (GoaObject *object);
GoaAccount *goa_object_peek_account (GoaObject *object); GoaAccount *goa_object_peek_account (GoaObject *object);
GoaOAuth2Based *goa_object_peek_oauth2_based (GoaObject *object); GoaOAuth2Based *goa_object_peek_oauth2_based (GoaObject *object);
GoaOAuthBased *goa_object_peek_oauth_based (GoaObject *object); GoaOAuthBased *goa_object_peek_oauth_based (GoaObject *object);
GoaPasswordBased *goa_object_peek_password_based (GoaObject *object);
GoaManager *goa_object_peek_manager (GoaObject *object); GoaManager *goa_object_peek_manager (GoaObject *object);
GoaMail *goa_object_peek_mail (GoaObject *object); GoaMail *goa_object_peek_mail (GoaObject *object);
GoaCalendar *goa_object_peek_calendar (GoaObject *object); GoaCalendar *goa_object_peek_calendar (GoaObject *object);
GoaContacts *goa_object_peek_contacts (GoaObject *object); GoaContacts *goa_object_peek_contacts (GoaObject *object);
GoaChat *goa_object_peek_chat (GoaObject *object); GoaChat *goa_object_peek_chat (GoaObject *object);
GoaDocuments *goa_object_peek_documents (GoaObject *object); GoaDocuments *goa_object_peek_documents (GoaObject *object);
GoaExchange *goa_object_peek_exchange (GoaObject *object);
#define GOA_TYPE_OBJECT_PROXY (goa_object_proxy_get_type ()) #define GOA_TYPE_OBJECT_PROXY (goa_object_proxy_get_type ())
#define GOA_OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_OBJE CT_PROXY, GoaObjectProxy)) #define GOA_OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_OBJE CT_PROXY, GoaObjectProxy))
#define GOA_OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_O BJECT_PROXY, GoaObjectProxyClass)) #define GOA_OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_O BJECT_PROXY, GoaObjectProxyClass))
#define GOA_OBJECT_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_ TYPE_OBJECT_PROXY, GoaObjectProxyClass)) #define GOA_OBJECT_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_ TYPE_OBJECT_PROXY, GoaObjectProxyClass))
#define GOA_IS_OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_O BJECT_PROXY)) #define GOA_IS_OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_O BJECT_PROXY))
#define GOA_IS_OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYP E_OBJECT_PROXY)) #define GOA_IS_OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYP E_OBJECT_PROXY))
typedef struct _GoaObjectProxy GoaObjectProxy; typedef struct _GoaObjectProxy GoaObjectProxy;
typedef struct _GoaObjectProxyClass GoaObjectProxyClass; typedef struct _GoaObjectProxyClass GoaObjectProxyClass;
skipping to change at line 1434 skipping to change at line 1736
struct _GoaObjectSkeletonClass struct _GoaObjectSkeletonClass
{ {
GDBusObjectSkeletonClass parent_class; GDBusObjectSkeletonClass parent_class;
}; };
GType goa_object_skeleton_get_type (void) G_GNUC_CONST; GType goa_object_skeleton_get_type (void) G_GNUC_CONST;
GoaObjectSkeleton *goa_object_skeleton_new (const gchar *object_path); GoaObjectSkeleton *goa_object_skeleton_new (const gchar *object_path);
void goa_object_skeleton_set_account (GoaObjectSkeleton *object, GoaAccount *interface_); void goa_object_skeleton_set_account (GoaObjectSkeleton *object, GoaAccount *interface_);
void goa_object_skeleton_set_oauth2_based (GoaObjectSkeleton *object, GoaOA uth2Based *interface_); void goa_object_skeleton_set_oauth2_based (GoaObjectSkeleton *object, GoaOA uth2Based *interface_);
void goa_object_skeleton_set_oauth_based (GoaObjectSkeleton *object, GoaOAu thBased *interface_); void goa_object_skeleton_set_oauth_based (GoaObjectSkeleton *object, GoaOAu thBased *interface_);
void goa_object_skeleton_set_password_based (GoaObjectSkeleton *object, Goa PasswordBased *interface_);
void goa_object_skeleton_set_manager (GoaObjectSkeleton *object, GoaManager *interface_); void goa_object_skeleton_set_manager (GoaObjectSkeleton *object, GoaManager *interface_);
void goa_object_skeleton_set_mail (GoaObjectSkeleton *object, GoaMail *inte rface_); void goa_object_skeleton_set_mail (GoaObjectSkeleton *object, GoaMail *inte rface_);
void goa_object_skeleton_set_calendar (GoaObjectSkeleton *object, GoaCalend ar *interface_); void goa_object_skeleton_set_calendar (GoaObjectSkeleton *object, GoaCalend ar *interface_);
void goa_object_skeleton_set_contacts (GoaObjectSkeleton *object, GoaContac ts *interface_); void goa_object_skeleton_set_contacts (GoaObjectSkeleton *object, GoaContac ts *interface_);
void goa_object_skeleton_set_chat (GoaObjectSkeleton *object, GoaChat *inte rface_); void goa_object_skeleton_set_chat (GoaObjectSkeleton *object, GoaChat *inte rface_);
void goa_object_skeleton_set_documents (GoaObjectSkeleton *object, GoaDocum ents *interface_); void goa_object_skeleton_set_documents (GoaObjectSkeleton *object, GoaDocum ents *interface_);
void goa_object_skeleton_set_exchange (GoaObjectSkeleton *object, GoaExchan ge *interface_);
/* ---- */ /* ---- */
#define GOA_TYPE_OBJECT_MANAGER_CLIENT (goa_object_manager_client_get_type ()) #define GOA_TYPE_OBJECT_MANAGER_CLIENT (goa_object_manager_client_get_type ())
#define GOA_OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_ TYPE_OBJECT_MANAGER_CLIENT, GoaObjectManagerClient)) #define GOA_OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_ TYPE_OBJECT_MANAGER_CLIENT, GoaObjectManagerClient))
#define GOA_OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), G OA_TYPE_OBJECT_MANAGER_CLIENT, GoaObjectManagerClientClass)) #define GOA_OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), G OA_TYPE_OBJECT_MANAGER_CLIENT, GoaObjectManagerClientClass))
#define GOA_OBJECT_MANAGER_CLIENT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ( (o), GOA_TYPE_OBJECT_MANAGER_CLIENT, GoaObjectManagerClientClass)) #define GOA_OBJECT_MANAGER_CLIENT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ( (o), GOA_TYPE_OBJECT_MANAGER_CLIENT, GoaObjectManagerClientClass))
#define GOA_IS_OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G OA_TYPE_OBJECT_MANAGER_CLIENT)) #define GOA_IS_OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G OA_TYPE_OBJECT_MANAGER_CLIENT))
#define GOA_IS_OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k) , GOA_TYPE_OBJECT_MANAGER_CLIENT)) #define GOA_IS_OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k) , GOA_TYPE_OBJECT_MANAGER_CLIENT))
 End of changes. 11 change blocks. 
0 lines changed or deleted 341 lines changed or added


 goabackendtypes.h   goabackendtypes.h 
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* /*
* Copyright (C) 2011 Red Hat, Inc. * Copyright (C) 2011, 2012 Red Hat, Inc.
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version. * version 2 of the License, or (at your option) any later version.
* *
* This library is distributed in the hope that it will be useful, * This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details. * Lesser General Public License for more details.
skipping to change at line 36 skipping to change at line 36
#ifndef __GOA_BACKEND_TYPES_H__ #ifndef __GOA_BACKEND_TYPES_H__
#define __GOA_BACKEND_TYPES_H__ #define __GOA_BACKEND_TYPES_H__
#include <goa/goa.h> #include <goa/goa.h>
#include <goabackend/goabackendenums.h> #include <goabackend/goabackendenums.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
G_BEGIN_DECLS G_BEGIN_DECLS
struct _GoaEwsClient;
typedef struct _GoaEwsClient GoaEwsClient;
struct _GoaProvider; struct _GoaProvider;
typedef struct _GoaProvider GoaProvider; typedef struct _GoaProvider GoaProvider;
struct _GoaExchangeProvider;
typedef struct _GoaExchangeProvider GoaExchangeProvider;
struct _GoaOAuthProvider; struct _GoaOAuthProvider;
typedef struct _GoaOAuthProvider GoaOAuthProvider; typedef struct _GoaOAuthProvider GoaOAuthProvider;
struct _GoaOAuth2Provider; struct _GoaOAuth2Provider;
typedef struct _GoaOAuth2Provider GoaOAuth2Provider; typedef struct _GoaOAuth2Provider GoaOAuth2Provider;
struct _GoaGoogleProvider; struct _GoaGoogleProvider;
typedef struct _GoaGoogleProvider GoaGoogleProvider; typedef struct _GoaGoogleProvider GoaGoogleProvider;
struct _GoaFacebookProvider; struct _GoaFacebookProvider;
 End of changes. 3 change blocks. 
1 lines changed or deleted 7 lines changed or added


 goaoauth2provider.h   goaoauth2provider.h 
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* /*
* Copyright (C) 2011 Red Hat, Inc. * Copyright (C) 2011, 2012 Red Hat, Inc.
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version. * version 2 of the License, or (at your option) any later version.
* *
* This library is distributed in the hope that it will be useful, * This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details. * Lesser General Public License for more details.
skipping to change at line 67 skipping to change at line 67
/** /**
* GoaOAuth2ProviderClass: * GoaOAuth2ProviderClass:
* @parent_class: The parent class. * @parent_class: The parent class.
* @get_authorization_uri: Virtual function for goa_oauth2_provider_get_aut horization_uri(). * @get_authorization_uri: Virtual function for goa_oauth2_provider_get_aut horization_uri().
* @get_token_uri: Virtual function for goa_oauth2_provider_get_token_uri() . * @get_token_uri: Virtual function for goa_oauth2_provider_get_token_uri() .
* @get_redirect_uri: Virtual function for goa_oauth2_provider_get_redirect _uri(). * @get_redirect_uri: Virtual function for goa_oauth2_provider_get_redirect _uri().
* @get_scope: Virtual function for goa_oauth2_provider_get_scope(). * @get_scope: Virtual function for goa_oauth2_provider_get_scope().
* @get_client_id: Virtual function for goa_oauth2_provider_get_client_id() . * @get_client_id: Virtual function for goa_oauth2_provider_get_client_id() .
* @get_client_secret: Virtual function for goa_oauth2_provider_get_client_ secret(). * @get_client_secret: Virtual function for goa_oauth2_provider_get_client_ secret().
* @get_authentication_cookie: Virtual function for goa_oauth2_provider_get _authentication_cookie().
* @get_identity_sync: Virtual function for goa_oauth2_provider_get_identit y_sync(). * @get_identity_sync: Virtual function for goa_oauth2_provider_get_identit y_sync().
* @build_authorization_uri: Virtual function for goa_oauth2_provider_build _authorization_uri(). * @build_authorization_uri: Virtual function for goa_oauth2_provider_build _authorization_uri().
* @get_use_external_browser: Virtual function for goa_oauth2_provider_get_ use_external_browser(). * @get_use_external_browser: Virtual function for goa_oauth2_provider_get_ use_external_browser().
* @add_account_key_values: Virtual function for goa_oauth2_provider_add_ac count_key_values(). * @add_account_key_values: Virtual function for goa_oauth2_provider_add_ac count_key_values().
* *
* Class structure for #GoaOAuth2Provider. * Class structure for #GoaOAuth2Provider.
*/ */
struct _GoaOAuth2ProviderClass struct _GoaOAuth2ProviderClass
{ {
GoaProviderClass parent_class; GoaProviderClass parent_class;
/* pure virtual */ /* pure virtual */
const gchar *(*get_authorization_uri) (GoaOAuth2Provider *provider); const gchar *(*get_authorization_uri) (GoaOAuth2Provider *provider);
const gchar *(*get_token_uri) (GoaOAuth2Provider *provider);
const gchar *(*get_redirect_uri) (GoaOAuth2Provider *provider); const gchar *(*get_redirect_uri) (GoaOAuth2Provider *provider);
const gchar *(*get_scope) (GoaOAuth2Provider *provider); const gchar *(*get_scope) (GoaOAuth2Provider *provider);
const gchar *(*get_client_id) (GoaOAuth2Provider *provider); const gchar *(*get_client_id) (GoaOAuth2Provider *provider);
const gchar *(*get_client_secret) (GoaOAuth2Provider *provider); const gchar *(*get_client_secret) (GoaOAuth2Provider *provider);
const gchar *(*get_authentication_cookie) (GoaOAuth2Provider *provider);
gchar *(*get_identity_sync) (GoaOAuth2Provider *provider, gchar *(*get_identity_sync) (GoaOAuth2Provider *provider,
const gchar *access_toke n, const gchar *access_toke n,
gchar **out_present ation_identity, gchar **out_present ation_identity,
GCancellable *cancellable , GCancellable *cancellable ,
GError **error); GError **error);
/* virtual but with default implementation */ /* virtual but with default implementation */
gchar *(*build_authorization_uri) (GoaOAuth2Provider *provider, gchar *(*build_authorization_uri) (GoaOAuth2Provider *provider,
const gchar *authorizati on_uri, const gchar *authorizati on_uri,
const gchar *escaped_red irect_uri, const gchar *escaped_red irect_uri,
const gchar *escaped_cli ent_id, const gchar *escaped_cli ent_id,
const gchar *escaped_sco pe); const gchar *escaped_sco pe);
const gchar *(*get_token_uri) (GoaOAuth2Provider *provider);
gboolean (*get_use_external_browser) (GoaOAuth2Provider *provider); gboolean (*get_use_external_browser) (GoaOAuth2Provider *provider);
void (*add_account_key_values) (GoaOAuth2Provider *provider, void (*add_account_key_values) (GoaOAuth2Provider *provider,
GVariantBuilder *builder); GVariantBuilder *builder);
/*< private >*/ /*< private >*/
/* Padding for future expansion */ /* Padding for future expansion */
gpointer goa_reserved[32]; gpointer goa_reserved[32];
}; };
GType goa_oauth2_provider_get_type (void) G_GNUC_CON ST; GType goa_oauth2_provider_get_type (void) G_GNUC_CON ST;
const gchar *goa_oauth2_provider_get_authorization_uri (GoaOAuth2Provide r *provider); const gchar *goa_oauth2_provider_get_authorization_uri (GoaOAuth2Provide r *provider);
const gchar *goa_oauth2_provider_get_token_uri (GoaOAuth2Provide r *provider); const gchar *goa_oauth2_provider_get_token_uri (GoaOAuth2Provide r *provider);
const gchar *goa_oauth2_provider_get_redirect_uri (GoaOAuth2Provide r *provider); const gchar *goa_oauth2_provider_get_redirect_uri (GoaOAuth2Provide r *provider);
const gchar *goa_oauth2_provider_get_scope (GoaOAuth2Provide r *provider); const gchar *goa_oauth2_provider_get_scope (GoaOAuth2Provide r *provider);
const gchar *goa_oauth2_provider_get_client_id (GoaOAuth2Provide r *provider); const gchar *goa_oauth2_provider_get_client_id (GoaOAuth2Provide r *provider);
const gchar *goa_oauth2_provider_get_client_secret (GoaOAuth2Provide r *provider); const gchar *goa_oauth2_provider_get_client_secret (GoaOAuth2Provide r *provider);
const gchar *goa_oauth2_provider_get_authentication_cookie (GoaOAuth2Provid er *provider);
gchar *goa_oauth2_provider_get_identity_sync (GoaOAuth2Provide r *provider, gchar *goa_oauth2_provider_get_identity_sync (GoaOAuth2Provide r *provider,
const gchar *access_token, const gchar *access_token,
gchar **out_presentation_identity, gchar **out_presentation_identity,
GCancellable *cancellable, GCancellable *cancellable,
GError **error); GError **error);
gchar *goa_oauth2_provider_get_access_token_sync (GoaOAuth2Provide r *provider, gchar *goa_oauth2_provider_get_access_token_sync (GoaOAuth2Provide r *provider,
GoaObject *object, GoaObject *object,
gboolean force_refresh, gboolean force_refresh,
gint *out_access_token_expires_in, gint *out_access_token_expires_in,
GCancellable *cancellable, GCancellable *cancellable,
 End of changes. 6 change blocks. 
2 lines changed or deleted 5 lines changed or added


 goaoauthprovider.h   goaoauthprovider.h 
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* /*
* Copyright (C) 2011 Red Hat, Inc. * Copyright (C) 2011, 2012 Red Hat, Inc.
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version. * version 2 of the License, or (at your option) any later version.
* *
* This library is distributed in the hope that it will be useful, * This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details. * Lesser General Public License for more details.
skipping to change at line 32 skipping to change at line 32
#if !defined (__GOA_BACKEND_INSIDE_GOA_BACKEND_H__) && !defined (GOA_BACKEN D_COMPILATION) #if !defined (__GOA_BACKEND_INSIDE_GOA_BACKEND_H__) && !defined (GOA_BACKEN D_COMPILATION)
#error "Only <goabackend/goabackend.h> can be included directly." #error "Only <goabackend/goabackend.h> can be included directly."
#endif #endif
#ifndef __GOA_OAUTH_PROVIDER_H__ #ifndef __GOA_OAUTH_PROVIDER_H__
#define __GOA_OAUTH_PROVIDER_H__ #define __GOA_OAUTH_PROVIDER_H__
#include <goabackend/goabackendtypes.h> #include <goabackend/goabackendtypes.h>
#include <goabackend/goaprovider.h> #include <goabackend/goaprovider.h>
#include <rest/rest-proxy-call.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define GOA_TYPE_OAUTH_PROVIDER (goa_oauth_provider_get_type ()) #define GOA_TYPE_OAUTH_PROVIDER (goa_oauth_provider_get_type ())
#define GOA_OAUTH_PROVIDER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G OA_TYPE_OAUTH_PROVIDER, GoaOAuthProvider)) #define GOA_OAUTH_PROVIDER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G OA_TYPE_OAUTH_PROVIDER, GoaOAuthProvider))
#define GOA_OAUTH_PROVIDER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_ TYPE_OAUTH_PROVIDER, GoaOAuthProviderClass)) #define GOA_OAUTH_PROVIDER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_ TYPE_OAUTH_PROVIDER, GoaOAuthProviderClass))
#define GOA_OAUTH_PROVIDER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GO A_TYPE_OAUTH_PROVIDER, GoaOAuthProviderClass)) #define GOA_OAUTH_PROVIDER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GO A_TYPE_OAUTH_PROVIDER, GoaOAuthProviderClass))
#define GOA_IS_OAUTH_PROVIDER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G OA_TYPE_OAUTH_PROVIDER)) #define GOA_IS_OAUTH_PROVIDER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G OA_TYPE_OAUTH_PROVIDER))
#define GOA_IS_OAUTH_PROVIDER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_ TYPE_OAUTH_PROVIDER)) #define GOA_IS_OAUTH_PROVIDER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_ TYPE_OAUTH_PROVIDER))
skipping to change at line 68 skipping to change at line 69
/** /**
* GoaOAuthProviderClass: * GoaOAuthProviderClass:
* @parent_class: The parent class. * @parent_class: The parent class.
* @get_consumer_key: Virtual function for goa_oauth_provider_get_consumer_ key(). * @get_consumer_key: Virtual function for goa_oauth_provider_get_consumer_ key().
* @get_consumer_secret: Virtual function for goa_oauth_provider_get_consum er_secret(). * @get_consumer_secret: Virtual function for goa_oauth_provider_get_consum er_secret().
* @get_request_uri: Virtual function for goa_oauth_provider_get_request_ur i(). * @get_request_uri: Virtual function for goa_oauth_provider_get_request_ur i().
* @get_authorization_uri: Virtual function for goa_oauth_provider_get_auth orization_uri(). * @get_authorization_uri: Virtual function for goa_oauth_provider_get_auth orization_uri().
* @get_token_uri: Virtual function for goa_oauth_provider_get_token_uri(). * @get_token_uri: Virtual function for goa_oauth_provider_get_token_uri().
* @get_callback_uri: Virtual function for goa_oauth_provider_get_callback_ uri(). * @get_callback_uri: Virtual function for goa_oauth_provider_get_callback_ uri().
* @get_authentication_cookie: Virtual function for goa_oauth_provider_get_ authentication_cookie().
* @get_identity_sync: Virtual function for goa_oauth_provider_get_identity _sync(). * @get_identity_sync: Virtual function for goa_oauth_provider_get_identity _sync().
* @parse_request_token_error: Virtual function for goa_oauth_provider_pars e_request_token_error().
* @build_authorization_uri: Virtual function for goa_oauth_provider_build_ authorization_uri(). * @build_authorization_uri: Virtual function for goa_oauth_provider_build_ authorization_uri().
* @get_use_external_browser: Virtual function for goa_oauth_provider_get_u se_external_browser(). * @get_use_external_browser: Virtual function for goa_oauth_provider_get_u se_external_browser().
* @get_request_uri_params: Virtual function for goa_oauth_provider_get_req uest_uri_params(). * @get_request_uri_params: Virtual function for goa_oauth_provider_get_req uest_uri_params().
* @add_account_key_values: Virtual function for goa_oauth_provider_add_acc ount_key_values(). * @add_account_key_values: Virtual function for goa_oauth_provider_add_acc ount_key_values().
* *
* Class structure for #GoaOAuthProvider. * Class structure for #GoaOAuthProvider.
*/ */
struct _GoaOAuthProviderClass struct _GoaOAuthProviderClass
{ {
GoaProviderClass parent_class; GoaProviderClass parent_class;
/* pure virtual */ /* pure virtual */
const gchar *(*get_consumer_key) (GoaOAuthProvider *provider); const gchar *(*get_consumer_key) (GoaOAuthProvider *provider);
const gchar *(*get_consumer_secret) (GoaOAuthProvider *provider); const gchar *(*get_consumer_secret) (GoaOAuthProvider *provider);
const gchar *(*get_request_uri) (GoaOAuthProvider *provider); const gchar *(*get_request_uri) (GoaOAuthProvider *provider);
const gchar *(*get_authorization_uri) (GoaOAuthProvider *provider); const gchar *(*get_authorization_uri) (GoaOAuthProvider *provider);
const gchar *(*get_token_uri) (GoaOAuthProvider *provider); const gchar *(*get_token_uri) (GoaOAuthProvider *provider);
const gchar *(*get_callback_uri) (GoaOAuthProvider *provider); const gchar *(*get_callback_uri) (GoaOAuthProvider *provider);
const gchar *(*get_authentication_cookie) (GoaOAuthProvider *provider);
gchar *(*get_identity_sync) (GoaOAuthProvider *provider, gchar *(*get_identity_sync) (GoaOAuthProvider *provider,
const gchar *access_token , const gchar *access_token ,
const gchar *access_token _secret, const gchar *access_token _secret,
gchar **out_presenta tion_identity, gchar **out_presenta tion_identity,
GCancellable *cancellable, GCancellable *cancellable,
GError **error); GError **error);
gchar *(*parse_request_token_error) (GoaOAuthProvider *provider,
RestProxyCall *call);
/* virtual but with default implementation */ /* virtual but with default implementation */
gchar *(*build_authorization_uri) (GoaOAuthProvider *provider, gchar *(*build_authorization_uri) (GoaOAuthProvider *provider,
const gchar *authorizatio n_uri, const gchar *authorizatio n_uri,
const gchar *escaped_oaut h_token); const gchar *escaped_oaut h_token);
gboolean (*get_use_external_browser) (GoaOAuthProvider *provider); gboolean (*get_use_external_browser) (GoaOAuthProvider *provider);
gchar **(*get_request_uri_params) (GoaOAuthProvider *provider); gchar **(*get_request_uri_params) (GoaOAuthProvider *provider);
void (*add_account_key_values) (GoaOAuthProvider *provider, void (*add_account_key_values) (GoaOAuthProvider *provider,
GVariantBuilder *builder); GVariantBuilder *builder);
/*< private >*/ /*< private >*/
skipping to change at line 117 skipping to change at line 124
}; };
GType goa_oauth_provider_get_type (void) G_GNUC_CONS T; GType goa_oauth_provider_get_type (void) G_GNUC_CONS T;
const gchar *goa_oauth_provider_get_consumer_key (GoaOAuthProvider *provider); const gchar *goa_oauth_provider_get_consumer_key (GoaOAuthProvider *provider);
const gchar *goa_oauth_provider_get_consumer_secret (GoaOAuthProvider *provider); const gchar *goa_oauth_provider_get_consumer_secret (GoaOAuthProvider *provider);
const gchar *goa_oauth_provider_get_request_uri (GoaOAuthProvider *provider); const gchar *goa_oauth_provider_get_request_uri (GoaOAuthProvider *provider);
gchar **goa_oauth_provider_get_request_uri_params (GoaOAuthProvider *provider); gchar **goa_oauth_provider_get_request_uri_params (GoaOAuthProvider *provider);
const gchar *goa_oauth_provider_get_authorization_uri (GoaOAuthProvider *provider); const gchar *goa_oauth_provider_get_authorization_uri (GoaOAuthProvider *provider);
const gchar *goa_oauth_provider_get_token_uri (GoaOAuthProvider *provider); const gchar *goa_oauth_provider_get_token_uri (GoaOAuthProvider *provider);
const gchar *goa_oauth_provider_get_callback_uri (GoaOAuthProvider *provider); const gchar *goa_oauth_provider_get_callback_uri (GoaOAuthProvider *provider);
const gchar *goa_oauth_provider_get_authentication_cookie (GoaOAuthProvider *provider);
gchar *goa_oauth_provider_get_identity_sync (GoaOAuthProvider *provider, gchar *goa_oauth_provider_get_identity_sync (GoaOAuthProvider *provider,
const gchar *access_token, const gchar *access_token,
const gchar *access_token_secret, const gchar *access_token_secret,
gchar **out_presentation_identity, gchar **out_presentation_identity,
GCancellable *cancellable, GCancellable *cancellable,
GError **error); GError **error);
gchar *goa_oauth_provider_parse_request_token_error (GoaOAuthProvider
*provider,
RestProxyCall
*call);
gchar *goa_oauth_provider_get_access_token_sync (GoaOAuthProvider *provider, gchar *goa_oauth_provider_get_access_token_sync (GoaOAuthProvider *provider,
GoaObject *object, GoaObject *object,
gboolean force_refresh, gboolean force_refresh,
gchar **out_access_token_secret, gchar **out_access_token_secret,
gint *out_access_token_expires_in, gint *out_access_token_expires_in,
GCancellable *cancellable, GCancellable *cancellable,
GError **error); GError **error);
gchar *goa_oauth_provider_build_authorization_uri (GoaOAuthProvider *provider, gchar *goa_oauth_provider_build_authorization_uri (GoaOAuthProvider *provider,
const gchar *authorization_uri, const gchar *authorization_uri,
const gchar *escaped_oauth_token); const gchar *escaped_oauth_token);
 End of changes. 8 change blocks. 
1 lines changed or deleted 13 lines changed or added


 goaprovider.h   goaprovider.h 
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* /*
* Copyright (C) 2011 Red Hat, Inc. * Copyright (C) 2011, 2012 Red Hat, Inc.
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version. * version 2 of the License, or (at your option) any later version.
* *
* This library is distributed in the hope that it will be useful, * This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details. * Lesser General Public License for more details.
* *
* You should have received a copy of the GNU Lesser General * You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the * Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
* *
* Author: David Zeuthen <davidz@redhat.com> * Authors: David Zeuthen <davidz@redhat.com>
* Debarshi Ray <debarshir@gnome.org>
*/ */
#if !defined (__GOA_BACKEND_INSIDE_GOA_BACKEND_H__) && !defined (GOA_BACKEN D_COMPILATION) #if !defined (__GOA_BACKEND_INSIDE_GOA_BACKEND_H__) && !defined (GOA_BACKEN D_COMPILATION)
#error "Only <goabackend/goabackend.h> can be included directly." #error "Only <goabackend/goabackend.h> can be included directly."
#endif #endif
#ifndef __GOA_PROVIDER_H__ #ifndef __GOA_PROVIDER_H__
#define __GOA_PROVIDER_H__ #define __GOA_PROVIDER_H__
#include <goabackend/goabackendtypes.h> #include <goabackend/goabackendtypes.h>
skipping to change at line 95 skipping to change at line 96
GError **error); GError **error);
gboolean (*refresh_account) (GoaProvider *provider, gboolean (*refresh_account) (GoaProvider *provider,
GoaClient *client, GoaClient *client,
GoaObject *object, GoaObject *object,
GtkWindow *parent, GtkWindow *parent,
GError **error); GError **error);
gboolean (*build_object) (GoaProvider *provider, gboolean (*build_object) (GoaProvider *provider,
GoaObjectSkeleton *object, GoaObjectSkeleton *object,
GKeyFile *key_file, GKeyFile *key_file,
const gchar *group, const gchar *group,
gboolean just_added,
GError **error); GError **error);
/* virtual but with default implementation */ /* virtual but with default implementation */
gboolean (*ensure_credentials_sync) (GoaProvider *provider, gboolean (*ensure_credentials_sync) (GoaProvider *provider,
GoaObject *object, GoaObject *object,
gint *out_expires_in, gint *out_expires_in,
GCancellable *cancellable, GCancellable *cancellable,
GError **error); GError **error);
void (*show_account) (GoaProvider *provider, void (*show_account) (GoaProvider *provider,
GoaClient *client, GoaClient *client,
GoaObject *object, GoaObject *object,
GtkBox *vbox, GtkBox *vbox,
GtkTable *table); GtkGrid *left,
GtkGrid *right);
guint (*get_credentials_generation) (GoaProvider *provider); guint (*get_credentials_generation) (GoaProvider *provider);
/*< private >*/ /*< private >*/
/* Padding for future expansion */ /* Padding for future expansion */
gpointer goa_reserved[32]; gpointer goa_reserved[32];
}; };
GType goa_provider_get_type (void) G_GNUC_CONST; GType goa_provider_get_type (void) G_GNUC_CONST;
const gchar *goa_provider_get_provider_type (GoaProvider *p rovider); const gchar *goa_provider_get_provider_type (GoaProvider *p rovider);
gchar *goa_provider_get_provider_name (GoaProvider *p rovider, gchar *goa_provider_get_provider_name (GoaProvider *p rovider,
skipping to change at line 135 skipping to change at line 138
GError **e rror); GError **e rror);
gboolean goa_provider_refresh_account (GoaProvider *p rovider, gboolean goa_provider_refresh_account (GoaProvider *p rovider,
GoaClient *c lient, GoaClient *c lient,
GoaObject *o bject, GoaObject *o bject,
GtkWindow *p arent, GtkWindow *p arent,
GError **e rror); GError **e rror);
void goa_provider_show_account (GoaProvider *p rovider, void goa_provider_show_account (GoaProvider *p rovider,
GoaClient *c lient, GoaClient *c lient,
GoaObject *o bject, GoaObject *o bject,
GtkBox *v box, GtkBox *v box,
GtkTable *t GtkGrid *l
able); eft,
GtkGrid *r
ight);
gboolean goa_provider_build_object (GoaProvider *p rovider, gboolean goa_provider_build_object (GoaProvider *p rovider,
GoaObjectSkeleton *o bject, GoaObjectSkeleton *o bject,
GKeyFile *k ey_file, GKeyFile *k ey_file,
const gchar *g roup, const gchar *g roup,
gboolean j ust_added,
GError **e rror); GError **e rror);
gboolean goa_provider_store_credentials_sync (GoaProvider *p rovider, gboolean goa_provider_store_credentials_sync (GoaProvider *p rovider,
GoaObject *o bject, GoaObject *o bject,
GVariant *c redentials, GVariant *c redentials,
GCancellable *c ancellable, GCancellable *c ancellable,
GError **e rror); GError **e rror);
GVariant *goa_provider_lookup_credentials_sync (GoaProvider *p rovider, GVariant *goa_provider_lookup_credentials_sync (GoaProvider *p rovider,
GoaObject *o bject, GoaObject *o bject,
GCancellable *c ancellable, GCancellable *c ancellable,
GError **e rror); GError **e rror);
skipping to change at line 182 skipping to change at line 187
* *
* Extension point for #GoaProvider implementations. * Extension point for #GoaProvider implementations.
*/ */
#define GOA_PROVIDER_EXTENSION_POINT_NAME "goa-backend-provider" #define GOA_PROVIDER_EXTENSION_POINT_NAME "goa-backend-provider"
GList *goa_provider_get_all (void); GList *goa_provider_get_all (void);
GoaProvider *goa_provider_get_for_provider_type (const gchar *provider_typ e); GoaProvider *goa_provider_get_for_provider_type (const gchar *provider_typ e);
/* ------------------------------------------------------------------------ ---------------------------- */ /* ------------------------------------------------------------------------ ---------------------------- */
GtkWidget *goa_util_add_heading (GtkTable *table, GtkWidget *goa_util_add_row_widget (GtkGrid *left,
const gchar *heading_text); GtkGrid *right,
GtkWidget *goa_util_add_row_widget (GtkTable *table,
const gchar *label_text, const gchar *label_text,
GtkWidget *widget); GtkWidget *widget);
GtkWidget *goa_util_add_row_label (GtkTable *table,
const gchar *label_text, gchar *goa_util_get_css (void);
const gchar *value_markup);
gchar * gchar *
goa_util_lookup_keyfile_string (GoaObject *object, goa_util_lookup_keyfile_string (GoaObject *object,
const gchar *key); const gchar *key);
gboolean gboolean
goa_util_lookup_keyfile_boolean (GoaObject *object, goa_util_lookup_keyfile_boolean (GoaObject *object,
const gchar *key); const gchar *key);
GtkWidget *goa_util_add_row_editable_label_from_keyfile (GtkTable *tabl void
e, goa_util_account_notify_property_cb (GObject *object, GParamSpec *pspec, gp
GoaObject *obje ointer user_data);
ct,
const gchar *labe void goa_util_add_account_info (GtkGrid *left, GtkGrid *right, GoaObj
l_text, ect *object);
const gchar *key,
gboolean edit GtkWidget *goa_util_add_row_switch_from_keyfile_with_blurb (GtkGrid *l
able); eft,
GtkGrid *r
GtkWidget *goa_util_add_row_switch_from_keyfile (GtkTable *table, ight,
GoaObject *object, GoaObject *o
const gchar *label_text, bject,
const gchar *key); const gchar *l
abel_text,
GtkWidget * const gchar *k
goa_util_add_row_check_button_from_keyfile (GtkTable *table, ey,
GoaObject *object, const gchar *b
const gchar *label_text, lurb);
const gchar *key,
const gchar *value_mnemonic);
G_END_DECLS G_END_DECLS
#endif /* __GOA_PROVIDER_H__ */ #endif /* __GOA_PROVIDER_H__ */
 End of changes. 9 change blocks. 
33 lines changed or deleted 34 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/