medit/moo/mooedit/moofileenc.h

26 lines
713 B
C
Raw Normal View History

2010-11-23 21:54:39 -08:00
#ifndef MOO_FILE_INFO_H
#define MOO_FILE_INFO_H
#include <gio/gio.h>
#include <mooedit/mooedittypes.h>
G_BEGIN_DECLS
2010-12-08 01:25:34 -08:00
struct _MooFileEnc {
2010-11-23 21:54:39 -08:00
GFile *file;
char *encoding;
};
MooFileEnc *moo_file_enc_new (GFile *file,
const char *encoding);
MooFileEnc *moo_file_enc_new_for_path (const char *path,
const char *encoding);
MooFileEnc *moo_file_enc_new_for_uri (const char *uri,
const char *encoding);
MooFileEnc *moo_file_enc_copy (MooFileEnc *fenc);
void moo_file_enc_free (MooFileEnc *fenc);
G_END_DECLS
#endif /* MOO_FILE_INFO_H */