Subversion Repositories public

Rev

Rev 230 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 230 Rev 234
Line 162... Line 162...
162
{
162
{
163
	public:
163
	public:
164
	   gant (const QString &af);
164
	   gant (const QString &af);
165
	   ~gant ();
165
	   ~gant ();
166
 
166
 
-
 
167
	   bool read_device ();
-
 
168
	   QString getBufferName () { return tmpOut.fileName (); };
-
 
169
	   uchar *getBuffer(int *size);
-
 
170
	
-
 
171
	protected:
167
	   uint randno ();
172
	   uint randno ();
168
	   bool chevent (uchar chan, uchar event);
173
	   bool chevent (uchar chan, uchar event);
169
	   bool revent (uchar chan, uchar event);
174
	   bool revent (uchar chan, uchar event);
170
	   bool read_device ();
-
 
171
	
175
 
172
	private:
176
	private:
173
	   uchar cbuf[MESG_DATA_SIZE]; // channel event data gets stored here
177
	   uchar cbuf[MESG_DATA_SIZE]; // channel event data gets stored here
174
	   uchar ebuf[MESG_DATA_SIZE]; // response event data gets stored here
178
	   uchar ebuf[MESG_DATA_SIZE]; // response event data gets stored here
175
 
179
 
176
	   bool authfd;
180
	   bool authfd;
177
	   QString authfile;
181
	   QString authfile;
178
	   QFile faf;
182
	   QFile faf, tmpOut;
179
 
183
 
180
	   uint mydev;
184
	   uint mydev;
181
	   uint peerdev;
185
	   uint peerdev;
182
	   uint myid;
186
	   uint myid;
183
	   unsigned long myauth1;
187
	   unsigned long myauth1;