aboutsummaryrefslogtreecommitdiff
path: root/Gem/develop/include/Gem/plugins/imageloader.h
diff options
context:
space:
mode:
Diffstat (limited to 'Gem/develop/include/Gem/plugins/imageloader.h')
-rw-r--r--Gem/develop/include/Gem/plugins/imageloader.h66
1 files changed, 35 insertions, 31 deletions
diff --git a/Gem/develop/include/Gem/plugins/imageloader.h b/Gem/develop/include/Gem/plugins/imageloader.h
index 9fe904d..22bc5a7 100644
--- a/Gem/develop/include/Gem/plugins/imageloader.h
+++ b/Gem/develop/include/Gem/plugins/imageloader.h
@@ -31,36 +31,40 @@ WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution.
DESCRIPTION
-----------------------------------------------------------------*/
-namespace gem { namespace plugins {
- class GEM_EXTERN imageloader
- {
- public:
-
- //////////
- // returns an instance wrapping all plugins or NULL
- // if NULL is returned, you might still try your luck with manually accessing the
- // PluginFactory
- static imageloader*getInstance(void);
-
- ////////
- // dtor must be virtual
- virtual ~imageloader(void);
-
- /* read a image
- *
- * props can be filled by the loader with additional information on the image
- * e.g. EXIF tags,...
- */
- /* returns TRUE if loading was successful, FALSE otherwise */
- virtual bool load(std::string filename,
- imageStruct&result,
- gem::Properties&props) = 0;
-
- /* returns TRUE if this object can be used from within a thread */
- virtual bool isThreadable(void) = 0;
- };
-
- };}; // namespace gem
+namespace gem
+{
+namespace plugins
+{
+class GEM_EXTERN imageloader
+{
+public:
+
+ //////////
+ // returns an instance wrapping all plugins or NULL
+ // if NULL is returned, you might still try your luck with manually accessing the
+ // PluginFactory
+ static imageloader*getInstance(void);
+
+ ////////
+ // dtor must be virtual
+ virtual ~imageloader(void);
+
+ /* read a image
+ *
+ * props can be filled by the loader with additional information on the image
+ * e.g. EXIF tags,...
+ */
+ /* returns TRUE if loading was successful, FALSE otherwise */
+ virtual bool load(std::string filename,
+ imageStruct&result,
+ gem::Properties&props) = 0;
+
+ /* returns TRUE if this object can be used from within a thread */
+ virtual bool isThreadable(void) = 0;
+};
+
+};
+}; // namespace gem
/**
@@ -72,4 +76,4 @@ namespace gem { namespace plugins {
*/
#define REGISTER_IMAGELOADERFACTORY(id, TYP) static gem::PluginFactoryRegistrar::registrar<TYP, gem::plugins::imageloader> fac_imageloader_ ## TYP (id)
-#endif // for header file
+#endif // for header file