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