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

gtask-file.c File Reference

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

Go to the source code of this file.

Enumerations

enum  {
  C_PROP_0, C_PROP_URI, C_PROP_MIME_TYPE, C_PROP_THUMBNAIL_URI,
  C_PROP_DESCRIPTION, C_PROP_COMPLETED
}

Functions

void gtask_file_class_init (GTaskFileClass *klass)
void gtask_file_init (GTaskFile *gtask)
void gtask_file_finalize (GObject *obj)
void gtask_file_set_property (GObject *object, guint param_id, const GValue *value, GParamSpec *pspec)
void gtask_file_get_property (GObject *object, guint param_id, GValue *value, GParamSpec *pspec)
GType gtask_file_get_type ()
GTaskFilegtask_file_new ()
 creates a new GTaskFile

GTaskFilegtask_file_new_with_properties (const char *uri, const char *mime_type, const char *thumbnail_uri, const char *description)
 creates a new GTaskFile with some happy properties.

void gtask_file_set_uri (GTaskFile *file, const char *uri)
 Sets the uri of the GTaskFile.

const char * gtask_file_get_uri (GTaskFile *file)
 Gets the uri of the GTaskFile.

void gtask_file_set_thumbnail_uri (GTaskFile *file, const char *thumbnail_uri)
 Sets the thumbnail uri of the GTaskFile.

const char * gtask_file_get_thumbnail_uri (GTaskFile *file)
 Gets the thumbnail uri of the GTaskFile.

void gtask_file_set_mime_type (GTaskFile *file, const char *mime_type)
 Sets the mime type of the GTaskFile.

const char * gtask_file_get_mime_type (GTaskFile *file)
 Gets the mime type of the GTaskFile.

void gtask_file_set_description (GTaskFile *file, const char *description)
 Sets the description of the GTaskFile. This should generally be a short title, no lengthy orations please.

const char * gtask_file_get_description (GTaskFile *file)
 Gets the description of the GTaskFile.

void gtask_file_set_completed (GTaskFile *file, gboolean completed)
 Sets whether or not the GTaskFile is completed.

gboolean gtask_file_get_completed (GTaskFile *file)
 Gets whether or not the GTaskFile is completed.


Variables

gpointer parent_class


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