-rw-r--r-- | library/resource.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/library/resource.cpp b/library/resource.cpp index 0db2a75..bdcd603 100644 --- a/library/resource.cpp +++ b/library/resource.cpp | |||
@@ -23,17 +23,23 @@ | |||
23 | #include "resource.h" | 23 | #include "resource.h" |
24 | #include "mimetype.h" | 24 | #include "mimetype.h" |
25 | #include <qdir.h> | 25 | #include <qdir.h> |
26 | #include <qfile.h> | 26 | #include <qfile.h> |
27 | #include <qregexp.h> | 27 | #include <qregexp.h> |
28 | #include <qpixmapcache.h> | 28 | #include <qpixmapcache.h> |
29 | #include <qpainter.h> | 29 | #include <qpainter.h> |
30 | 30 | ||
31 | // this namespace is just a workaround for a gcc bug | ||
32 | // gcc exports inline functions in the generated file | ||
33 | // inlinepics_p.h | ||
34 | |||
35 | namespace { | ||
31 | #include "inlinepics_p.h" | 36 | #include "inlinepics_p.h" |
37 | } | ||
32 | 38 | ||
33 | /*! | 39 | /*! |
34 | \class Resource resource.h | 40 | \class Resource resource.h |
35 | \brief The Resource class provides access to named resources. | 41 | \brief The Resource class provides access to named resources. |
36 | 42 | ||
37 | The resources may be provided from files or other sources. | 43 | The resources may be provided from files or other sources. |
38 | 44 | ||
39 | The allSounds() function returns a list of all the sounds available. | 45 | The allSounds() function returns a list of all the sounds available. |