2006-05-21 16:11:05 -07:00
|
|
|
/*
|
2005-08-25 02:29:01 -07:00
|
|
|
* moofileview.h
|
|
|
|
*
|
2006-02-23 06:03:17 -08:00
|
|
|
* Copyright (C) 2004-2006 by Yevgen Muntyan <muntyan@math.tamu.edu>
|
2005-08-25 02:29:01 -07:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* See COPYING file that comes with this distribution.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __MOO_FILE_VIEW_H__
|
|
|
|
#define __MOO_FILE_VIEW_H__
|
|
|
|
|
2005-11-18 12:07:56 -08:00
|
|
|
#include <mooutils/moouixml.h>
|
2005-08-25 02:29:01 -07:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
|
2006-06-25 05:02:14 -07:00
|
|
|
#define MOO_TYPE_FILE_VIEW (moo_file_view_get_type ())
|
2005-08-25 02:29:01 -07:00
|
|
|
#define MOO_FILE_VIEW(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), MOO_TYPE_FILE_VIEW, MooFileView))
|
|
|
|
#define MOO_FILE_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOO_TYPE_FILE_VIEW, MooFileViewClass))
|
|
|
|
#define MOO_IS_FILE_VIEW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), MOO_TYPE_FILE_VIEW))
|
|
|
|
#define MOO_IS_FILE_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOO_TYPE_FILE_VIEW))
|
|
|
|
#define MOO_FILE_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOO_TYPE_FILE_VIEW, MooFileViewClass))
|
|
|
|
|
2006-08-13 02:00:15 -07:00
|
|
|
typedef struct _MooFileView MooFileView;
|
|
|
|
typedef struct _MooFileViewClass MooFileViewClass;
|
2005-08-25 02:29:01 -07:00
|
|
|
|
2006-08-13 02:00:15 -07:00
|
|
|
GType moo_file_view_get_type (void) G_GNUC_CONST;
|
2005-08-25 02:29:01 -07:00
|
|
|
|
2006-08-13 02:00:15 -07:00
|
|
|
gboolean moo_file_view_chdir (MooFileView *fileview,
|
|
|
|
const char *dir,
|
|
|
|
GError **error);
|
2005-08-25 02:29:01 -07:00
|
|
|
|
2006-08-13 02:00:15 -07:00
|
|
|
MooUIXML *moo_file_view_get_ui_xml (MooFileView *fileview);
|
|
|
|
GtkActionGroup *moo_file_view_get_actions (MooFileView *fileview);
|
2006-04-04 19:48:03 -07:00
|
|
|
|
|
|
|
|
2005-08-25 02:29:01 -07:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __MOO_FILE_VIEW_H__ */
|