Project

General

Profile

Statistics
| Revision:

root / proj / src / libs / utils / include / xpm_utils.h @ 373

History | View | Annotate | Download (618 Bytes)

1
#ifndef XMP_UTILS_H_INCLUDED
2
#define XMP_UTILS_H_INCLUDED
3

    
4
/**
5
 * @defgroup xpm_utils xpm_utils
6
 * @ingroup utils
7
 * @brief XPM utilities module.
8
 *
9
 * @{
10
 */
11

    
12
/**
13
 * @brief Save XPM array of strings as a XPM2 text file.
14
 * @param   p   XPM to be saved
15
 * @param   s   Path to save the XPM as XPM2 file
16
 */
17
void xpm_save_as_xpm2(const char* const* p, const char *s);
18
/**
19
 * @brief Load XPM2 file as a XPM array of strings.
20
 * @param   s   Path to XPM2 file to be loaded
21
 * @return      Array of strings representing the loaded XPM
22
 */
23
char** xpm_load_xpm2(const char *s);
24

    
25
/**
26
 * @}
27
 */
28

    
29
#endif //XMP_UTILS_H_INCLUDED