1 |
/* |
/* |
2 |
resource-manager.h - handles embedded files |
resource-manager.h - handles embedded files |
3 |
Copyright (C) 2007, 2008 siliconforks.com |
Copyright (C) 2007, 2008, 2009 siliconforks.com |
4 |
|
|
5 |
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
6 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
23 |
#include <stdio.h> |
#include <stdio.h> |
24 |
#include <stdlib.h> |
#include <stdlib.h> |
25 |
|
|
26 |
|
#ifdef __cplusplus |
27 |
|
extern "C" { |
28 |
|
#endif |
29 |
|
|
30 |
struct Resource { |
struct Resource { |
31 |
const char * name; |
const char * name; |
32 |
const unsigned char * data; |
const unsigned char * data; |
39 |
|
|
40 |
void copy_resource(const char * resource, const char * destination_directory); |
void copy_resource(const char * resource, const char * destination_directory); |
41 |
|
|
42 |
|
#ifdef __cplusplus |
43 |
|
} |
44 |
#endif |
#endif |
45 |
|
|
46 |
|
#endif /* RESOURCE_MANAGER_H_ */ |