@@ -0,0 +1,1104 @@
+# Copyright (C) 2014 cybojenix %3Canthonydking@slimroms.net%3E%0A#%0A# This file is part of XdaPy.%0A#%0A# XdaPy is free software: you can redistribute it and/or modify%0A# it under the terms of the GNU General Public License as published by%0A# the Free Software Foundation, either version 3 of the License, or%0A# (at your option) any later version.%0A%0A# XdaPy is distributed in the hope that it will be useful,%0A# but WITHOUT ANY WARRANTY; without even the implied warranty of%0A# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the%0A# GNU General Public License for more details.%0A#%0A# You should have received a copy of the GNU General Public License%0A# along with XdaPy.  If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A%0A%0Aclass Smilie(object):%0A    def __init__(self, data):%0A        if data is None:%0A            data = %7B%7D%0A        assert hasattr(data, %22get%22)%0A        self.text = data.get(%22text%22, %22%22)%0A        self.path = data.get(%22path%22, %22%22)%0A        self.title = data.get(%22title%22, %22%22)%0A        self.smilie_id = data.get(%22smilieid%22, %22%22)%0A        self.category = data.get(%22category%22, %22%22)%0A        self.url = data.get(%22url%22, %22%22)

add Smilie model