24 lines
387 B
C++
24 lines
387 B
C++
//
|
|
// Created by dongl on 23-5-12.
|
|
//
|
|
|
|
#ifndef IM_GUI_MANAGEMENT_H
|
|
#define IM_GUI_MANAGEMENT_H
|
|
|
|
|
|
#include <queue>
|
|
#include "event2/bufferevent.h"
|
|
#include "agreement.h"
|
|
|
|
class management {
|
|
public:
|
|
static void read_packet(bufferevent* bev);
|
|
static agreement_response fetch_packet();
|
|
|
|
private:
|
|
static std::queue<agreement_response*> resp_msg;
|
|
};
|
|
|
|
|
|
#endif //IM_GUI_MANAGEMENT_H
|