GnuCash
2.6.99
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
gnome-utils
gnc-plugin-file-history.h
Go to the documentation of this file.
1
/*
2
* gnc-plugin-file-history.h --
3
* Copyright (C) 2003,2005 David Hampton <
[email protected]
>
4
*
5
* This program is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU General Public License as
7
* published by the Free Software Foundation; either version 2 of
8
* the License, or (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, contact:
17
*
18
* Free Software Foundation Voice: +1-617-542-5942
19
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652
20
* Boston, MA 02110-1301, USA
[email protected]
21
*/
22
35
#ifndef __GNC_PLUGIN_FILE_HISTORY_H
36
#define __GNC_PLUGIN_FILE_HISTORY_H
37
38
#include "
gnc-plugin.h
"
39
40
G_BEGIN_DECLS
41
42
/* type macros */
43
#define GNC_TYPE_PLUGIN_FILE_HISTORY (gnc_plugin_file_history_get_type ())
44
#define GNC_PLUGIN_FILE_HISTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_FILE_HISTORY, GncPluginFileHistory))
45
#define GNC_PLUGIN_FILE_HISTORY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_FILE_HISTORY, GncPluginFileHistoryClass))
46
#define GNC_IS_PLUGIN_FILE_HISTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_FILE_HISTORY))
47
#define GNC_IS_PLUGIN_FILE_HISTORY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_FILE_HISTORY))
48
#define GNC_PLUGIN_FILE_HISTORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_FILE_HISTORY, GncPluginFileHistoryClass))
49
50
#define GNC_PLUGIN_FILE_HISTORY_NAME "gnc-plugin-file-history"
51
52
/* typedefs & structures */
53
55
typedef
struct
56
{
57
GncPlugin
gnc_plugin;
58
}
GncPluginFileHistory
;
59
60
62
typedef
struct
63
{
64
GncPluginClass
gnc_plugin;
65
}
GncPluginFileHistoryClass
;
66
67
/* function prototypes */
68
69
74
GType
gnc_plugin_file_history_get_type
(
void
);
75
76
82
GncPlugin
*
gnc_plugin_file_history_new
(
void
);
83
84
91
void
gnc_history_add_file
(
const
char
*filename);
92
98
void
gnc_history_remove_file
(
const
char
*oldfile);
99
100
108
char
*
gnc_history_get_last
(
void
);
109
110
G_END_DECLS
111
112
#endif
/* __GNC_PLUGIN_FILE_HISTORY_H */
113
gnc_plugin_file_history_new
GncPlugin * gnc_plugin_file_history_new(void)
Definition:
gnc-plugin-file-history.c:575
GncPluginFileHistory
Definition:
gnc-plugin-file-history.h:55
GncPluginClass
Definition:
gnc-plugin.h:107
gnc_history_add_file
void gnc_history_add_file(const char *newfile)
Definition:
gnc-plugin-file-history.c:159
gnc_history_get_last
char * gnc_history_get_last(void)
Definition:
gnc-plugin-file-history.c:270
gnc_history_remove_file
void gnc_history_remove_file(const char *oldfile)
Definition:
gnc-plugin-file-history.c:228
GncPluginFileHistoryClass
Definition:
gnc-plugin-file-history.h:62
GncPlugin
Definition:
gnc-plugin.h:100
gnc-plugin.h
Functions for adding plugins to a GnuCash window.
gnc_plugin_file_history_get_type
GType gnc_plugin_file_history_get_type(void)
Definition:
gnc-plugin-file-history.c:492
Generated by
1.8.6