houxiao
2016-12-16 a46c525446b64fb43c850d8b3dfdb77bdf81c1c0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef LOGTABLE_H
#define LOGTABLE_H
 
#include <QtGui/QWidget>
#include "ui_logtable.h"
#include <QString>
#include <QMessageBox>
 
#ifdef _WIN32
#elif defined(__linux__) || defined(__APPLE__)
#define __stdcall 
#endif
 
class LogTable : public QWidget
{
    Q_OBJECT
 
public:
    void addLogAlarmInfo(int succ, const QString &interfacename, const QString &devinfo, const QString &errorinfo);
    friend class QtClientDemo;
    friend class RealPlay;
    friend class PlayBack;
    //friend unsigned int __stdcall MessCallBack(int lCommand,  char *sDVRIP, char *pBuf, unsigned int dwBufLen);
    LogTable(QWidget *parent = 0);
    ~LogTable();
    
    //void addLogAlarmInfo(int succ, QString interface, QString devinfo, QString errorinfo);
 
private:
    Ui::LogTableClass ui;
};
 
#endif // LOGTABLE_H