2525 DESCRIPTION
2626*******************************************************************************/
2727/* *
28- * @file GifFileLoader .h
29- * @brief GIF file loader
28+ * @file ImageFileLoader .h
29+ * @brief Image file loader
3030 * @author Andreas Merkle <[email protected] > 3131 *
3232 * @addtogroup GFX
3333 *
3434 * @{
3535 */
3636
37- #ifndef GIF_FILE_LOADER_H
38- #define GIF_FILE_LOADER_H
37+ #ifndef IMAGE_FILE_LOADER_H
38+ #define IMAGE_FILE_LOADER_H
3939
4040/* *****************************************************************************
4141 * Compile Switches
4444/* *****************************************************************************
4545 * Includes
4646 *****************************************************************************/
47- #include " IGifLoader .h"
47+ #include " IImageLoader .h"
4848
4949/* *****************************************************************************
5050 * Macros
5555 *****************************************************************************/
5656
5757/* *
58- * GIF file loader.
58+ * Image file loader.
5959 */
60- class GifFileLoader : public IGifLoader
60+ class ImageFileLoader : public IImageLoader
6161{
6262public:
6363
6464 /* *
65- * Construct the GIF file loader.
65+ * Construct the image file loader.
6666 */
67- GifFileLoader () :
68- IGifLoader (),
67+ ImageFileLoader () :
68+ IImageLoader (),
6969 m_fd ()
7070 {
7171 }
7272
7373 /* *
74- * Construct the GIF file loader by copy.
74+ * Construct the image file loader by copy.
7575 *
76- * @param[in] loader GIF file loader to copy.
76+ * @param[in] loader Image file loader to copy.
7777 */
78- GifFileLoader (const GifFileLoader & loader) :
79- IGifLoader (),
78+ ImageFileLoader (const ImageFileLoader & loader) :
79+ IImageLoader (),
8080 m_fd (loader.m_fd)
8181 {
8282 }
8383
8484 /* *
85- * Destroy the GIF file loader.
85+ * Destroy the image file loader.
8686 */
87- ~GifFileLoader () override
87+ ~ImageFileLoader () override
8888 {
8989 close ();
9090 }
9191
9292 /* *
9393 * Assignment operator.
9494 *
95- * @param[in] loader GIF file loader to copy.
95+ * @param[in] loader Image file loader to copy.
9696 *
9797 * @return Reference to this loader.
9898 */
99- GifFileLoader & operator =(const GifFileLoader & loader)
99+ ImageFileLoader & operator =(const ImageFileLoader & loader)
100100 {
101101 if (this != &loader)
102102 {
@@ -109,10 +109,10 @@ class GifFileLoader : public IGifLoader
109109 }
110110
111111 /* *
112- * Open a GIF file.
112+ * Open an image file.
113113 *
114114 * @param[in] fs Filesystem to use.
115- * @param[in] fileName Name of the GIF file.
115+ * @param[in] fileName Name of the image file.
116116 *
117117 * @return If successful, it will return true otherwise false.
118118 */
@@ -131,7 +131,7 @@ class GifFileLoader : public IGifLoader
131131 }
132132
133133 /* *
134- * Close the GIF file.
134+ * Close the image file.
135135 */
136136 void close () final
137137 {
@@ -142,7 +142,7 @@ class GifFileLoader : public IGifLoader
142142 }
143143
144144 /* *
145- * Read data from GIF .
145+ * Read data from image .
146146 *
147147 * @param[in] buffer Buffer to fill.
148148 * @param[in] size Buffer size in bytes.
@@ -208,6 +208,6 @@ class GifFileLoader : public IGifLoader
208208 * Functions
209209 *****************************************************************************/
210210
211- #endif /* GIF_FILE_LOADER_H */
211+ #endif /* IMAGE_FILE_LOADER_H */
212212
213213/* * @} */
0 commit comments