mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
Add new debug tools to FSComm to help on development. Check tools->debug.
This commit is contained in:
30
fscomm/debugtools/statedebugdialog.h
Normal file
30
fscomm/debugtools/statedebugdialog.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#ifndef STATEDEBUGDIALOG_H
|
||||
#define STATEDEBUGDIALOG_H
|
||||
|
||||
#include <QtGui>
|
||||
#include "fshost.h"
|
||||
|
||||
namespace Ui {
|
||||
class StateDebugDialog;
|
||||
}
|
||||
|
||||
class StateDebugDialog : public QDialog {
|
||||
Q_OBJECT
|
||||
public:
|
||||
StateDebugDialog(QWidget *parent = 0);
|
||||
~StateDebugDialog();
|
||||
|
||||
private slots:
|
||||
void newEvent(QSharedPointer<switch_event_t> event);
|
||||
void currentUuidChanged();
|
||||
void currentEventsChanged();
|
||||
|
||||
protected:
|
||||
void changeEvent(QEvent *e);
|
||||
|
||||
private:
|
||||
Ui::StateDebugDialog *ui;
|
||||
QHash<QString, QList<QSharedPointer<switch_event_t> > > _events;
|
||||
};
|
||||
|
||||
#endif // STATEDEBUGDIALOG_H
|
Reference in New Issue
Block a user