nd_recent

Name

nd_recent -- 

Synopsis

#define             NUM_RECENT
void                nd_recent_init                      (void);
void                nd_recent_reload_entries            (void);
void                nd_recent_add_file                  (const char *filename);
void                nd_recent_load                      (int index);

Description

Details

NUM_RECENT

#define NUM_RECENT 5


nd_recent_init ()

void                nd_recent_init                      (void);

The function initializes everything needed to keep track of the trace files recently used, such as the menu items in the File menu.


nd_recent_reload_entries ()

void                nd_recent_reload_entries            (void);

The function updates the menu items in the File menu to the current preference settings.


nd_recent_add_file ()

void                nd_recent_add_file                  (const char *filename);

The function adds filename to the list of recently-used files.

filename :

filename to add.


nd_recent_load ()

void                nd_recent_load                      (int index);

The function takes the index-th recent file and loads it.

index :

index of recently used file.