GnuCash  4.12-68-g5dc52459a1+
Data Structures | Macros | Functions
gnc-plugin-file-history.h File Reference

Functions providing the file history menu. More...

#include "gnc-plugin.h"

Go to the source code of this file.

Data Structures

struct  GncPluginFileHistory
 The instance data structure for a file history plugin. More...
 
struct  GncPluginFileHistoryClass
 The class data structure for a file history plugin. More...
 

Macros

#define GNC_TYPE_PLUGIN_FILE_HISTORY   (gnc_plugin_file_history_get_type ())
 
#define GNC_PLUGIN_FILE_HISTORY(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_FILE_HISTORY, GncPluginFileHistory))
 
#define GNC_PLUGIN_FILE_HISTORY_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_FILE_HISTORY, GncPluginFileHistoryClass))
 
#define GNC_IS_PLUGIN_FILE_HISTORY(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_FILE_HISTORY))
 
#define GNC_IS_PLUGIN_FILE_HISTORY_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_FILE_HISTORY))
 
#define GNC_PLUGIN_FILE_HISTORY_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_FILE_HISTORY, GncPluginFileHistoryClass))
 
#define GNC_PLUGIN_FILE_HISTORY_NAME   "gnc-plugin-file-history"
 

Functions

GType gnc_plugin_file_history_get_type (void)
 Get the type of a file history plugin. More...
 
GncPlugingnc_plugin_file_history_new (void)
 Create a new file history plugin. More...
 
void gnc_history_add_file (const char *filename)
 Add a file name to the front of the file "history list". More...
 
void gnc_history_remove_file (const char *oldfile)
 Remove all occurrences of a file name from the history list. More...
 
gboolean gnc_history_test_for_file (const char *oldfile)
 Test for a file name existing in the history list. More...
 
char * gnc_history_get_last (void)
 Retrieve the name of the file most recently accessed. More...
 

Detailed Description

Functions providing the file history menu.

Author
Copyright (C) 2003,2005 David Hampton hampt.nosp@m.on@e.nosp@m.mploy.nosp@m.ees..nosp@m.org

This plugin handles the file history information that appears in the application menus.

Definition in file gnc-plugin-file-history.h.