~vcs-imports/gthumb/main

« back to all changes in this revision

Viewing changes to libgthumb/file-data.h

  • Committer: mjc
  • Date: 2008-12-22 18:34:34 UTC
  • Revision ID: vcs-imports@canonical.com-20081222183434-yql9ehyx36k8nl04
2008-12-22  Michael J. Chudobiak  <mjc@svn.gnome.org>

        * many files: Ported file-data.c from gnome_vfs to gfile.
        Simplified file-data.c slightly and removed some redundant functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#define FILE_DATA_H
25
25
 
26
26
#include <glib.h>
27
 
#include <libgnomevfs/gnome-vfs-file-info.h>
 
27
#include <glib-object.h>
28
28
#include <time.h>
29
29
#include <sys/stat.h>
30
30
#include "comments.h"
60
60
#define GTH_TYPE_FILE_DATA (file_data_get_type ())
61
61
 
62
62
GType        file_data_get_type            (void);
63
 
FileData *   file_data_new                 (const char       *path,
64
 
                                            GnomeVFSFileInfo *info);
65
 
FileData *   file_data_new_from_local_path (const char       *path);                               
 
63
FileData *   file_data_new                 (const char       *path);
66
64
FileData *   file_data_dup                 (FileData         *fd);
67
65
FileData *   file_data_ref                 (FileData         *fd);
68
66
void         file_data_unref               (FileData         *fd);
69
67
void         file_data_set_path            (FileData         *fd,
70
68
                                            const char       *path);
71
69
void         file_data_update              (FileData         *fd);
72
 
void         file_data_update_info         (FileData         *fd);
73
70
void         file_data_update_mime_type    (FileData         *fd,
74
71
                                            gboolean          fast_mime_type);
75
72
void         file_data_update_all          (FileData         *fd,