##// END OF EJS Templates
update before compilation on pc-alison
update before compilation on pc-alison

File last commit:

r14:304f5a6ad6b4 default
r49:0d83256ac6de default
Show More
mainwindow.h
40 lines | 753 B | text/x-c | CLexer
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QtGui/QMainWindow>
#include "spw_usb_api.h"
#include "spw_config_library.h"
#include <mainwindowui.h>
#include <QDialog>
#include <QObject>
#include <QTimer>
class MainWindow : public QWidget
{
Q_OBJECT
public:
MainWindow(QWidget *parent = 0);
~MainWindow();
private:
unsigned int getLinkStatus(unsigned char link);
star_device_handle hDevice; // Handle to the SpaceWire device
bool isRunning;
mainwindowui *UI;
QTimer *time;
signals:
void sendMessage(QString);
public slots:
unsigned int Open();
void startSpacewireTime();
void sendOneTimecode();
void sendOnePacketAndOneTimecode();
void reTestSPWLink();
};
#endif // MAINWINDOW_H