mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 12:48:51 +00:00
58 lines
2.1 KiB
C
58 lines
2.1 KiB
C
/* GSecret - GLib wrapper for Secret Service
|
|
*
|
|
* Copyright 2011 Collabora Ltd.
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License as published
|
|
* by the Free Software Foundation; either version 2 of the licence or (at
|
|
* your option) any later version.
|
|
*
|
|
* See the included COPYING file for more information.
|
|
*/
|
|
|
|
#ifndef __GSECRET_PROMPT_H__
|
|
#define __GSECRET_PROMPT_H__
|
|
|
|
#include <gio/gio.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
#define GSECRET_TYPE_PROMPT (gsecret_prompt_get_type ())
|
|
#define GSECRET_PROMPT(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), GSECRET_TYPE_PROMPT, GSecretPrompt))
|
|
#define GSECRET_PROMPT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), GSECRET_TYPE_PROMPT, GSecretPromptClass))
|
|
#define GSECRET_IS_PROMPT(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), GSECRET_TYPE_PROMPT))
|
|
#define GSECRET_IS_PROMPT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), GSECRET_TYPE_PROMPT))
|
|
#define GSECRET_PROMPT_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), GSECRET_TYPE_PROMPT, GSecretPromptClass))
|
|
|
|
typedef struct _GSecretPrompt GSecretPrompt;
|
|
typedef struct _GSecretPromptClass GSecretPromptClass;
|
|
typedef struct _GSecretPromptPrivate GSecretPromptPrivate;
|
|
|
|
struct _GSecretPromptClass {
|
|
GDBusProxyClass parent_class;
|
|
padding;
|
|
};
|
|
|
|
struct _GSecretPrompt {
|
|
GDBusProxy parent_instance;
|
|
GSecretPromptPrivate *pv;
|
|
};
|
|
|
|
GType gsecret_service_get_type (void) G_GNUC_CONST;
|
|
|
|
GSecretService* gsecret_collection_xxx_new (void);
|
|
|
|
GSecretPrompt* gsecret_prompt_instance (GDBusConnection *connection,
|
|
const gchar *object_path,
|
|
GError **error);
|
|
|
|
GSecretPrompt* gsecret_prompt_instance_sync (GDBusConnection *connection,
|
|
const gchar *object_path);
|
|
|
|
gsecret_prompt_perform
|
|
gsecret_prompt_dismiss
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __G_SERVICE_H___ */
|