Game Develop C++ Platform: ExecutableIconChanger.h Source File

| Game Develop C++ Platform Platform for developing native games based on OpenGL and SFML with Game Develop

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
ExecutableIconChanger.h
1 #if defined(GD_IDE_ONLY)
2
3 #ifndef EXECUTABLEICONCHANGER_H
4 #define EXECUTABLEICONCHANGER_H
5
6 #include <string>
7 #if defined(WINDOWS)
8 struct ICONHEADER;
9 struct ICONIMAGE;
10 struct GRPICONHEADER;
11 #endif
12
13
14 class GD_API ExecutableIconChanger
15 {
16 public:
17 static bool ChangeWindowsExecutableIcon(std::string exeFile, std::string iconFile);
18
19 private:
20 #if defined(WINDOWS)
21 static bool LoadIcon(std::string iconFile, ICONHEADER*& pHeader, ICONIMAGE**& pIcons, GRPICONHEADER*& pGrpHeader);
22 #endif
23 };
24
25 #endif // EXECUTABLEICONCHANGER_H
26 #endif
27