1 #ifndef _INFOCLASS_H
2 #define _INFOCLASS_H
3 
4 #include <gtk/gtk.h>
5 #include "plugit.h"
6 
7 
8 /*
9 	structure used to hold all the data
10 	specific to one side of the program.
11 
12 	graph is container for pixmap
13 	selected_oldfile is current dir
14 	fvbox is frame for table2
15 	fvbox2 is frame for table3
16 	table2 is bitrate data table
17 	table3 is file summary table
18 	set identifies if we need to delete
19 	zz identifies place in graph
20 */
21 class               Info
22 {
23 public:
Info()24   Info () : mp3infoa(""), graph (NULL), selected_oldfile (""), bbreak (NULL),
25             fsum (NULL), table2 (NULL), table3 (NULL), detailw(NULL),
26 	    graphtip(NULL), zz (0) {;}
~Info()27   ~Info () { ; }
28   statistic          mp3infoa;
29   GtkWidget          *graph;
30   std::string        selected_oldfile;
31   GtkWidget          *bbreak;
32   GtkWidget          *fsum;
33   GtkWidget          *table2;
34   GtkWidget          *table3;
35   GtkWidget          *detailw;
36   GtkTooltips        *graphtip;
37   int                 zz;
38   Info &operator=(const Info &i){
39             copy(i);
40   	    return *this;
41    }
42    private :
43       void copy(const Info &);
44 };
45 
46 #endif
47