summaryrefslogtreecommitdiff
path: root/lib/floIcon.php
blob: c3dcbe52e9dc471dcb4555116564afde3bf18969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
// Compatibility shim for hooking up jimIcon to Tiny Tiny RSS.

require_once "jimIcon.php";

class floIconIcon {
        function getImageResource() {
                return $this->img;
        }
}

class floIcon {
	public $images = array();

        function readICO($file) {
                $jim = new jimIcon();
                $icon = new floIconIcon();
                $icon->img = $jim->fromiconstring(file_get_contents($file));
                $this->images = array($icon);
        }
}
?>