author | sl |
Fri, 29 Aug 2014 22:32:13 +0200 | |
changeset 13 | 70907579a3b6 |
parent 8 | 5a9dbbc40c6b |
child 35 | 638eb0763e20 |
permissions | -rw-r--r-- |
2 #include "FutabaVfd.h"
3 //#include <stdlib.h>
4 #include <string.h>
7 #ifdef DEBUG_FRAME_DIFF
8 #include <QImage>
9 #include <QTextStream>
10 #endif
15 //
16 //
17 //
19 FutabaVfdCommand::FutabaVfdCommand():/*iBuffer(NULL),*/iSize(0),iMaxSize(0)
20 {
21 }
23 FutabaVfdCommand::~FutabaVfdCommand()
24 {
25 //Delete();
26 }
29 /**
31 */
32 void FutabaVfdCommand::Reset()
33 {
34 memset(iReports,0,sizeof(iReports));
35 }
39 /**
41 */
42 /*
43 void FutabaVfdCommand::Create(int aMaxSize)
44 {
45 iBuffer=new unsigned char[aMaxSize];
46 if (iBuffer)
47 {
48 iMaxSize = aMaxSize;
49 iSize = 0;
50 }
51 }
52 */
54 /**
56 */
57 /*
58 void FutabaVfdCommand::Delete()
59 {
60 delete[] iBuffer;
61 iBuffer = NULL;
62 iMaxSize = 0;
63 iSize = 0;
64 }
65 */
68 //
69 // class FutabaDisplay
70 //
72 void FutabaGraphicDisplay::Close()
73 {
74 HidDevice::Close();
75 }