|
Last change
on this file since 46 was 14, checked in by lstark, 17 years ago |
|
first version of hvcontrol added
|
|
File size:
302 bytes
|
| Line | |
|---|
| 1 | #ifndef LOG_H_SEEN
|
|---|
| 2 | #define LOG_H_SEEN
|
|---|
| 3 |
|
|---|
| 4 | #include <stdio.h>
|
|---|
| 5 | #include <stdlib.h>
|
|---|
| 6 | #include <time.h>
|
|---|
| 7 |
|
|---|
| 8 | #include "Types.h"
|
|---|
| 9 |
|
|---|
| 10 | #define MAX_LOG_SIZE 220
|
|---|
| 11 |
|
|---|
| 12 | class Log {
|
|---|
| 13 |
|
|---|
| 14 | public:
|
|---|
| 15 | Log(char logpath[]);
|
|---|
| 16 | ~Log();
|
|---|
| 17 |
|
|---|
| 18 | int LogWrite(char logtext[]);
|
|---|
| 19 |
|
|---|
| 20 | public:
|
|---|
| 21 | FILE *logptr;
|
|---|
| 22 | char logtext[MAX_LOG_SIZE];
|
|---|
| 23 | };
|
|---|
| 24 |
|
|---|
| 25 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.