~ballogy/gloobus-preview/drop-icns

« back to all changes in this revision

Viewing changes to src/plugin-icns/plugin-icns.h

  • Committer: György Balló
  • Date: 2014-12-26 04:34:48 UTC
  • Revision ID: ballogy@freestart.hu-20141226043448-aopmiolbz19808ls
Remove icns plugin

It's replaced by the imagemagick plugin, which supports much more image 
formats.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _IICNS_
2
 
#define _IICNS_
3
 
 
4
 
#ifndef PLUGIN_LOADER
5
 
 
6
 
// Pixbuf can load icns, we do not need this anymore !
7
 
 
8
 
//#include "../gloobus-preview-plugin-manager.h"
9
 
#include "../gloobus-preview-interface-image.h"
10
 
 
11
 
class iIcons : public iImage
12
 
{
13
 
        public:
14
 
        virtual         GdkPixbuf*              get_pixbuf  ();
15
 
                                string                  replace_spaces  (string str);
16
 
                                GdkPixbuf*              load_icns               (string size, string depth);
17
 
};
18
 
 
19
 
extern "C" interface * create() {
20
 
    return new iIcons;
21
 
}
22
 
 
23
 
extern "C" void destroy(interface * p) {
24
 
    delete (iIcons*)p;
25
 
}
26
 
 
27
 
extern "C" int getVersion() {
28
 
        return MANAGER_VERSION;
29
 
}
30
 
 
31
 
#endif
32
 
 
33
 
#ifdef PLUGIN_LOADER
34
 
/*
35
 
PluginManager::register_plugin("icns");
36
 
 
37
 
if(interface::is_program_available("icns2png")) {
38
 
        PluginManager::register_filetype("image/x-icns", 1);
39
 
}
40
 
*/
41
 
#endif
42
 
 
43
 
#endif
44