mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
37 lines
859 B
C
37 lines
859 B
C
|
#ifndef GEN_QSCICOMMAND_H
|
||
|
#define GEN_QSCICOMMAND_H
|
||
|
|
||
|
#include <stdbool.h>
|
||
|
#include <stddef.h>
|
||
|
#include <stdint.h>
|
||
|
|
||
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||
|
|
||
|
#include "../../libmiqt/libmiqt.h"
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
class QsciCommand;
|
||
|
#else
|
||
|
typedef struct QsciCommand QsciCommand;
|
||
|
#endif
|
||
|
|
||
|
int QsciCommand_Command(const QsciCommand* self);
|
||
|
void QsciCommand_Execute(QsciCommand* self);
|
||
|
void QsciCommand_SetKey(QsciCommand* self, int key);
|
||
|
void QsciCommand_SetAlternateKey(QsciCommand* self, int altkey);
|
||
|
int QsciCommand_Key(const QsciCommand* self);
|
||
|
int QsciCommand_AlternateKey(const QsciCommand* self);
|
||
|
bool QsciCommand_ValidKey(int key);
|
||
|
struct miqt_string QsciCommand_Description(const QsciCommand* self);
|
||
|
void QsciCommand_Delete(QsciCommand* self);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
} /* extern C */
|
||
|
#endif
|
||
|
|
||
|
#endif
|