2006-08-31 08:21:39 -07:00
|
|
|
/*
|
|
|
|
* moocommand-private.h
|
|
|
|
*
|
2007-04-07 01:21:52 -07:00
|
|
|
* Copyright (C) 2004-2007 by Yevgen Muntyan <muntyan@math.tamu.edu>
|
2006-08-31 08:21:39 -07:00
|
|
|
*
|
2007-06-24 10:56:20 -07:00
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2006-08-31 08:21:39 -07:00
|
|
|
*
|
|
|
|
* See COPYING file that comes with this distribution.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MOOEDIT_COMPILATION
|
|
|
|
#error "This file may not be used"
|
|
|
|
#endif
|
|
|
|
|
2007-06-10 02:06:03 -07:00
|
|
|
#ifndef MOO_COMMAND_PRIVATE_H
|
|
|
|
#define MOO_COMMAND_PRIVATE_H
|
2006-08-31 08:21:39 -07:00
|
|
|
|
|
|
|
#include <mooedit/mookeyfile.h>
|
|
|
|
#include <mooedit/moocommand.h>
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
|
|
|
|
void _moo_command_init (void);
|
|
|
|
MooCommandData *_moo_command_parse_item (MooKeyFileItem *item,
|
|
|
|
const char *name,
|
|
|
|
const char *filename,
|
2007-02-27 20:23:57 -08:00
|
|
|
MooCommandFactory **factory,
|
2006-08-31 08:21:39 -07:00
|
|
|
char **options);
|
|
|
|
void _moo_command_format_item (MooKeyFileItem *item,
|
|
|
|
MooCommandData *data,
|
2007-02-27 20:23:57 -08:00
|
|
|
MooCommandFactory *factory,
|
2006-08-31 08:21:39 -07:00
|
|
|
char *options);
|
|
|
|
|
2007-02-27 20:23:57 -08:00
|
|
|
GtkWidget *_moo_command_factory_create_widget (MooCommandFactory *factory);
|
|
|
|
void _moo_command_factory_load_data (MooCommandFactory *factory,
|
2006-08-31 08:21:39 -07:00
|
|
|
GtkWidget *widget,
|
|
|
|
MooCommandData *data);
|
2007-02-27 20:23:57 -08:00
|
|
|
gboolean _moo_command_factory_save_data (MooCommandFactory *factory,
|
2006-08-31 08:21:39 -07:00
|
|
|
GtkWidget *widget,
|
|
|
|
MooCommandData *data);
|
2007-02-27 20:23:57 -08:00
|
|
|
gboolean _moo_command_factory_data_equal (MooCommandFactory *factory,
|
2006-08-31 08:21:39 -07:00
|
|
|
MooCommandData *data1,
|
|
|
|
MooCommandData *data2);
|
|
|
|
|
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
2007-06-10 02:06:03 -07:00
|
|
|
#endif /* MOO_COMMAND_PRIVATE_H */
|