mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-10-25 14:47:00 +08:00
[fix] avoid X11 macro conflict in announcement requests
This commit is contained in:
@@ -35,7 +35,7 @@ class AnnouncementInbox {
|
||||
void SetConnected(bool connected);
|
||||
void Refresh(int offset = -1);
|
||||
bool Read(int64_t id, int64_t revision);
|
||||
nlohmann::json NextRequest(std::chrono::steady_clock::time_point now =
|
||||
nlohmann::json TakePendingRequest(std::chrono::steady_clock::time_point now =
|
||||
std::chrono::steady_clock::now());
|
||||
void Failed(const std::string& request_id);
|
||||
void Receive(const nlohmann::json& message);
|
||||
@@ -63,4 +63,4 @@ class AnnouncementInbox {
|
||||
};
|
||||
} // namespace crossdesk
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user