-
This commit is contained in:
@@ -2,10 +2,7 @@
|
||||
#define SHMQUEUE_H
|
||||
|
||||
#include "shm.h"
|
||||
#include <QString>
|
||||
|
||||
#define COMMAND_SLOT 1
|
||||
#define EVENT_SLOT 2
|
||||
#include <string>
|
||||
|
||||
typedef struct __ShmQueueItem__
|
||||
{
|
||||
@@ -40,8 +37,9 @@ public:
|
||||
int depth();
|
||||
|
||||
public:
|
||||
bool dequeue(int &cmd, QString &json_data, bool wait = false);
|
||||
void enqueue(int cmd, const QString &json_data);
|
||||
bool dequeue(int &cmd, std::string &json_data, bool wait = false);
|
||||
void enqueue(int cmd, const std::string &json_data);
|
||||
void enqueue(int cmd);
|
||||
|
||||
public:
|
||||
ShmQueue(Shm *shm, ShmSlot slot, bool owner);
|
||||
|
||||
Reference in New Issue
Block a user