Hide a couple of internals in an anonymous namespace.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
7d6439fefd
commit
84b6afe758
2 changed files with 27 additions and 22 deletions
|
@ -71,8 +71,6 @@ namespace
|
|||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
struct CBITMAP : public CHANDLE
|
||||
{
|
||||
std::vector<char> image;
|
||||
|
@ -88,6 +86,8 @@ std::string getFilename(const std::string & resource)
|
|||
return resource;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
HBITMAP LoadBitmap(HINSTANCE hInstance, const char * resource)
|
||||
{
|
||||
if (resource)
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
#include <linux/windows/misc.h>
|
||||
#include <frontends/common2/resources.h>
|
||||
|
||||
namespace
|
||||
{
|
||||
|
||||
struct CBITMAP : public CHANDLE
|
||||
{
|
||||
std::shared_ptr<SDL_Surface> surface;
|
||||
|
@ -21,6 +24,8 @@ std::string getFilename(const std::string & resource)
|
|||
return resource;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
HBITMAP LoadBitmap(HINSTANCE hInstance, const char * resource)
|
||||
{
|
||||
if (resource)
|
||||
|
|
Loading…
Add table
Reference in a new issue