nemo-extension-types

nemo-extension-types

Synopsis

#define             NEMO_TYPE_OPERATION_RESULT
                    NemoOperationHandle;
enum                NemoOperationResult;
GType               nemo_operation_result_get_type      (void);
void                nemo_module_initialize              (GTypeModule *module);
void                nemo_module_shutdown                (void);
void                nemo_module_list_types              (const GType **types,
                                                         int *num_types);

Object Hierarchy

  GEnum
   +----NemoOperationResult

Description

Details

NEMO_TYPE_OPERATION_RESULT

#define NEMO_TYPE_OPERATION_RESULT (nemo_operation_result_get_type ())


NemoOperationHandle

typedef struct _NemoOperationHandle NemoOperationHandle;


enum NemoOperationResult

typedef enum {
	/* Returned if the call succeeded, and the extension is done 
	 * with the request */
	NEMO_OPERATION_COMPLETE,

	/* Returned if the call failed */
	NEMO_OPERATION_FAILED,

	/* Returned if the extension has begun an async operation. 
	 * If this is returned, the extension must set the handle 
	 * parameter and call the callback closure when the 
	 * operation is complete. */
	NEMO_OPERATION_IN_PROGRESS
} NemoOperationResult;

NEMO_OPERATION_COMPLETE

NEMO_OPERATION_FAILED

NEMO_OPERATION_IN_PROGRESS


nemo_operation_result_get_type ()

GType               nemo_operation_result_get_type      (void);


nemo_module_initialize ()

void                nemo_module_initialize              (GTypeModule *module);


nemo_module_shutdown ()

void                nemo_module_shutdown                (void);


nemo_module_list_types ()

void                nemo_module_list_types              (const GType **types,
                                                         int *num_types);