mirror of
https://github.com/HavocFramework/Havoc
synced 2026-06-08 11:13:29 +00:00
44 lines
1.0 KiB
C++
44 lines
1.0 KiB
C++
#ifndef HAVOC_PYLOGGERCLASS_H
|
|
#define HAVOC_PYLOGGERCLASS_H
|
|
|
|
#include <UserInterface/HavocUI.hpp>
|
|
#include <global.hpp>
|
|
|
|
#include <QGridLayout>
|
|
#include <QTextEdit>
|
|
#include <QDialog>
|
|
|
|
typedef struct
|
|
{
|
|
|
|
QWidget* window;
|
|
QGridLayout* layout;
|
|
QTextEdit* LogSection;
|
|
|
|
} PyLoggerQWindow, *PPyLoggerQWindow;
|
|
|
|
typedef struct
|
|
{
|
|
PyObject_HEAD
|
|
|
|
// Demon Info
|
|
char* title;
|
|
PPyLoggerQWindow LoggerWindow;
|
|
|
|
} PyLoggerClass, *PPyLoggerClass;
|
|
|
|
extern PyTypeObject PyLoggerClass_Type;
|
|
|
|
void LoggerClass_dealloc( PPyLoggerClass self );
|
|
PyObject* LoggerClass_new( PyTypeObject *type, PyObject *args, PyObject *kwds );
|
|
int LoggerClass_init( PPyLoggerClass self, PyObject *args, PyObject *kwds );
|
|
|
|
// Methods
|
|
|
|
PyObject* LoggerClass_setBottomTab( PPyLoggerClass self, PyObject *args );
|
|
PyObject* LoggerClass_setSmallTab( PPyLoggerClass self, PyObject *args );
|
|
PyObject* LoggerClass_addText( PPyLoggerClass self, PyObject *args );
|
|
PyObject* LoggerClass_clear( PPyLoggerClass self, PyObject *args );
|
|
|
|
#endif
|