Skip to content

Commit

Permalink
[core,cache] make protocol caches private
Browse files Browse the repository at this point in the history
most protocol internal caches do not need to be exposed. this reduces
the public API and allows us to more easily improve/change this during a
release cycle
  • Loading branch information
akallabeth committed Feb 27, 2023
1 parent 3293d0d commit adce737
Show file tree
Hide file tree
Showing 31 changed files with 289 additions and 471 deletions.
1 change: 0 additions & 1 deletion client/Mac/mfreerdp.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <freerdp/gdi/dc.h>
#include <freerdp/gdi/gfx.h>
#include <freerdp/gdi/region.h>
#include <freerdp/cache/cache.h>
#include <freerdp/channels/channels.h>

#include <freerdp/client/channels.h>
Expand Down
1 change: 0 additions & 1 deletion client/Windows/wf_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
#include <freerdp/gdi/gdi.h>
#include <freerdp/gdi/dc.h>
#include <freerdp/gdi/region.h>
#include <freerdp/cache/cache.h>
#include <freerdp/codec/color.h>

#include <freerdp/client/rail.h>
Expand Down
5 changes: 0 additions & 5 deletions client/X11/xf_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -1260,11 +1260,6 @@ static BOOL xf_post_connect(freerdp* instance)
}

xf_gdi_register_update_callbacks(update);
brush_cache_register_callbacks(context->update);
glyph_cache_register_callbacks(context->update);
bitmap_cache_register_callbacks(context->update);
offscreen_cache_register_callbacks(context->update);
palette_cache_register_callbacks(context->update);
}

#ifdef WITH_XRENDER
Expand Down
2 changes: 1 addition & 1 deletion client/X11/xf_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include <freerdp/gdi/gdi.h>
#include <freerdp/gdi/dc.h>
#include <freerdp/gdi/region.h>
#include <freerdp/cache/cache.h>

#include <freerdp/channels/channels.h>

#ifdef __cplusplus
Expand Down
70 changes: 0 additions & 70 deletions include/freerdp/cache/bitmap.h

This file was deleted.

51 changes: 0 additions & 51 deletions include/freerdp/cache/brush.h

This file was deleted.

60 changes: 0 additions & 60 deletions include/freerdp/cache/cache.h

This file was deleted.

71 changes: 0 additions & 71 deletions include/freerdp/cache/glyph.h

This file was deleted.

63 changes: 0 additions & 63 deletions include/freerdp/cache/palette.h

This file was deleted.

0 comments on commit adce737

Please sign in to comment.