]>
Commit | Line | Data |
---|---|---|
23324ae1 FM |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: iconloc.h | |
e54c96f1 | 3 | // Purpose: interface of wxIconLocation |
23324ae1 FM |
4 | // Author: wxWidgets team |
5 | // RCS-ID: $Id$ | |
6 | // Licence: wxWindows license | |
7 | ///////////////////////////////////////////////////////////////////////////// | |
8 | ||
9 | /** | |
10 | @class wxIconLocation | |
7c913512 | 11 | |
23324ae1 FM |
12 | wxIconLocation is a tiny class describing the location of an (external, i.e. |
13 | not embedded into the application resources) icon. For most platforms it simply | |
14 | contains the file name but under some others (notably Windows) the same file | |
15 | may contain multiple icons and so this class also stores the index of the icon | |
16 | inside the file. | |
7c913512 | 17 | |
23324ae1 FM |
18 | In any case, its details should be of no interest to the application code and |
19 | most of them are not even documented here (on purpose) as it is only meant to | |
20 | be used as an opaque class: the application may get the object of this class | |
21 | from somewhere and the only reasonable thing to do with it later is to create | |
22 | a wxIcon from it. | |
7c913512 | 23 | |
23324ae1 | 24 | @library{wxbase} |
427c415b | 25 | @category{gdi} |
7c913512 | 26 | |
e54c96f1 | 27 | @see wxIcon, wxFileType::GetIcon |
23324ae1 | 28 | */ |
7c913512 | 29 | class wxIconLocation |
23324ae1 FM |
30 | { |
31 | public: | |
32 | /** | |
7c913512 | 33 | Returns @true if the object is valid, i.e. was properly initialized, and |
23324ae1 FM |
34 | @false otherwise. |
35 | */ | |
328f5751 | 36 | bool IsOk() const; |
23324ae1 | 37 | }; |
e54c96f1 | 38 |