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
- Modules
- Classes
- Files

- File List
- File Members

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