cache-item: Move RedCachePipeItem declaration to common-graphics-channel.h

The pipe items are meant to be used by channel clients, so move
declaration where channel clients is.
This item is used by both CursorChannelClient and DisplayChannelClient
so the CommonGraphicsChannel is the proper place.

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Acked-by: Julien Ropé <jrope@gmail.com>
This commit is contained in:
Frediano Ziglio 2020-06-09 03:51:37 +01:00
parent 255f6b2fd3
commit e7cdaa668d
2 changed files with 6 additions and 6 deletions

View File

@ -23,12 +23,6 @@
#include "red-pipe-item.h"
/* pipe item used to release a specific cached item on the client */
struct RedCachePipeItem {
RedPipeItem base;
uint64_t id;
};
struct RedCacheItem {
RingItem lru_link;
RedCacheItem *next;

View File

@ -68,6 +68,12 @@ protected:
virtual bool config_socket() override;
};
/* pipe item used to release a specific cached item on the client */
struct RedCachePipeItem {
RedPipeItem base;
uint64_t id;
};
#include "pop-visibility.h"
#endif /* COMMON_GRAPHICS_CHANNEL_H_ */