gcr Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
Synopsis
enum GcrImporterPromptBehavior; GcrImporterPrivate; GcrImporter; GcrImporter* gcr_importer_new (void
); GcrParser* gcr_importer_get_parser (GcrImporter *self
); void gcr_importer_set_parser (GcrImporter *self
,GcrParser *parser
); struct _GP11Slot* gcr_importer_get_slot (GcrImporter *self
); void gcr_importer_set_slot (GcrImporter *self
,struct _GP11Slot *slot
); GcrImporterPromptBehavior gcr_importer_get_prompt_behavior (GcrImporter *self
); void gcr_importer_set_prompt_behavior (GcrImporter *self
,GcrImporterPromptBehavior behavior
); gboolean gcr_importer_import (GcrImporter *self
,GInputStream *input
,GCancellable *cancel
,GError **error
); void gcr_importer_import_async (GcrImporter *self
,GInputStream *input
,GCancellable *cancel
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean gcr_importer_import_finish (GcrImporter *self
,GAsyncResult *res
,GError **error
);
Properties
"parser" GcrParser* : Read / Write "prompt-behavior" gint : Read / Write "slot" GP11Slot* : Read / Write
Details
enum GcrImporterPromptBehavior
typedef enum { GCR_IMPORTER_PROMPT_NEEDED, GCR_IMPORTER_PROMPT_ALWAYS, GCR_IMPORTER_PROMPT_NEVER } GcrImporterPromptBehavior;
gcr_importer_set_parser ()
void gcr_importer_set_parser (GcrImporter *self
,GcrParser *parser
);
|
|
|
gcr_importer_get_slot ()
struct _GP11Slot* gcr_importer_get_slot (GcrImporter *self
);
|
|
Returns : |
gcr_importer_set_slot ()
void gcr_importer_set_slot (GcrImporter *self
,struct _GP11Slot *slot
);
|
|
|
gcr_importer_get_prompt_behavior ()
GcrImporterPromptBehavior gcr_importer_get_prompt_behavior
(GcrImporter *self
);
|
|
Returns : |
gcr_importer_set_prompt_behavior ()
void gcr_importer_set_prompt_behavior (GcrImporter *self
,GcrImporterPromptBehavior behavior
);
|
|
|
gcr_importer_import ()
gboolean gcr_importer_import (GcrImporter *self
,GInputStream *input
,GCancellable *cancel
,GError **error
);
|
|
|
|
|
|
|
|
Returns : |
gcr_importer_import_async ()
void gcr_importer_import_async (GcrImporter *self
,GInputStream *input
,GCancellable *cancel
,GAsyncReadyCallback callback
,gpointer user_data
);
|
|
|
|
|
|
|
|
|
gcr_importer_import_finish ()
gboolean gcr_importer_import_finish (GcrImporter *self
,GAsyncResult *res
,GError **error
);
|
|
|
|
|
|
Returns : |
Property Details
The "prompt-behavior"
property
"prompt-behavior" gint : Read / Write
Import Prompt Behavior.
Allowed values: >= 0
Default value: 0
Signal Details
The "imported"
signal
void user_function (GcrImporter *gcrimporter, GP11Object *arg1, gpointer user_data) : Run First
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |