X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ficon.h;fp=src%2Ficon.h;h=e2b4fc126b50d59b0e98fedcd006f382dfa558f8;hb=d0cc9ec2f92f149279ebc8f1c29d2be627074488;hp=0000000000000000000000000000000000000000;hpb=8afeabf06c79c755e5aaffa224e06c4abc92d833;p=vrfileman diff --git a/src/icon.h b/src/icon.h new file mode 100644 index 0000000..e2b4fc1 --- /dev/null +++ b/src/icon.h @@ -0,0 +1,32 @@ +#ifndef ICON_H_ +#define ICON_H_ + +class FSNode; + +class IconRenderer { +public: + virtual ~IconRenderer(); + + virtual bool init(); + virtual void shutdown(); + + virtual void draw(FSNode *node) const = 0; +}; + +struct ShapesIconsPriv; + +class ShapesIcons : public IconRenderer { +private: + ShapesIconsPriv *priv; + +public: + ShapesIcons(); + ~ShapesIcons(); + + bool init(); + void shutdown(); + + void draw(FSNode *node) const; +}; + +#endif // ICON_H_