ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvttoolkit.h
(Generate patch)

Comparing rxvt-unicode/src/rxvttoolkit.h (file contents):
Revision 1.8 by root, Thu Aug 11 02:05:07 2005 UTC vs.
Revision 1.9 by root, Wed Jan 11 00:59:58 2006 UTC

26struct refcounted { 26struct refcounted {
27 int referenced; 27 int referenced;
28 char *id; 28 char *id;
29 29
30 refcounted (const char *id); 30 refcounted (const char *id);
31 bool init () { return false; } 31 bool ref_init () { return false; }
32 void ref_next () { }
32 ~refcounted (); 33 ~refcounted ();
33}; 34};
34 35
35template<class T> 36template<class T>
36struct refcache : vector<T *> { 37struct refcache : vector<T *> {
53 54
54//public 55//public
55 XIM xim; 56 XIM xim;
56 57
57 rxvt_xim (const char *id) : refcounted (id) { } 58 rxvt_xim (const char *id) : refcounted (id) { }
58 bool init (); 59 bool ref_init ();
59 ~rxvt_xim (); 60 ~rxvt_xim ();
60}; 61};
61#endif 62#endif
62 63
63struct rxvt_display : refcounted { 64struct rxvt_display : refcounted {
89#ifdef POINTER_BLANK 90#ifdef POINTER_BLANK
90 Cursor blank_cursor; 91 Cursor blank_cursor;
91#endif 92#endif
92 93
93 rxvt_display (const char *id); 94 rxvt_display (const char *id);
95 XrmDatabase get_resources ();
94 bool init (); 96 bool ref_init ();
97 void ref_next ();
95 ~rxvt_display (); 98 ~rxvt_display ();
96 99
97 operator Display *() const { return display; } 100 operator Display *() const { return display; }
98 101
99 void flush (); 102 void flush ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines