Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

gtask-factory.c File Reference

#include <string.h>
#include <gtask/gtask-factory.h>

Go to the source code of this file.

Enumerations

enum  { PROP_0, PROP_APP, PROP_PROGRAM, PROP_CONN_GROUP }

Functions

void gtask_factory_class_init (GTaskFactoryClass *factory)
void gtask_factory_init (GTaskFactory *factory)
 initializes a GTaskFactory

void gtask_factory_dispose (GObject *obj)
void gtask_factory_finalize (GObject *obj)
gchar * gtask_factory_next_task_id (GTaskFactory *factory)
 determines the next available task id and returns that

void gtask_factory_set_property (GObject *object, guint param_id, const GValue *value, GParamSpec *pspec)
void gtask_factory_get_property (GObject *object, guint param_id, GValue *value, GParamSpec *pspec)
GTaskFactorygtask_factory_default (void)
GType gtask_factory_get_type ()
GTaskFactorygtask_factory_new ()
 creates a new GTaskFactory

GTaskFactorygtask_factory_new_with_resources (GTaskConnectionGroup *conn_group, const gchar *program, const gchar *application)
 creates a new GTaskFactory with passed in application name

GTaskGenericTaskgtask_factory_create_task (GTaskFactory *factory, gchar *task_type)
 creates a new task of the passed in type. The new task will have it's application and task_id fields set by the factory.

const gchar * gtask_factory_get_program (GTaskFactory *factory)
 Returns the program name that is currently set in the passed in GTaskFactory.

void gtask_factory_set_program (GTaskFactory *factory, const char *program)
 Sets the program name for the passed in GTaskFactory.

const gchar * gtask_factory_get_application (GTaskFactory *factory)
 Returns the application name that is currently set in the passed in GTaskFactory.

void gtask_factory_set_application (GTaskFactory *factory, const char *application)
 Sets the application name for the passed in GTaskFactory.

GTaskConnectionGroupgtask_factory_get_connection_group (GTaskFactory *factory)
 Returns the GTaskConnectionGroup.

void gtask_factory_set_connection_group (GTaskFactory *factory, GTaskConnectionGroup *conn_group)
 Sets the GTaskConnectionGroup for the passed in GTaskFactory.


Variables

gpointer parent_class
GTaskFactorydefault_factory = NULL


Generated on Mon Feb 2 21:26:15 2004 for libgtask by doxygen 1.3.4