galago-avatar.h File Reference
Galago Avatar API. More...
#include <stdlib.h>
#include <libgalago/galago-account.h>
#include <libgalago/galago-image.h>
Go to the source code of this file.
Avatar API | |
GalagoObjectClass * | galago_avatar_get_class (void) |
Returns the class for a GalagoAvatar. | |
GalagoAvatar * | galago_avatar_new (GalagoAccount *account, const unsigned char *data, size_t len) |
Creates a new avatar. | |
void | galago_avatar_set_image_data (GalagoAvatar *avatar, const unsigned char *data, size_t len) |
Sets the avatar's image data. | |
GalagoAccount * | galago_avatar_get_account (const GalagoAvatar *avatar) |
Returns an avatar's account. | |
void | galago_avatar_get_image_data (const GalagoAvatar *avatar, unsigned char **ret_data, size_t *ret_len) |
Returns an avatar's image data. | |
Defines | |
#define | GALAGO_CLASS_AVATAR (galago_avatar_get_class()) |
#define | GALAGO_DBUS_AVATAR_INTERFACE "org.freedesktop.Galago.Avatar" |
#define | GALAGO_IS_AVATAR(obj) (GALAGO_IS_OBJECT(obj) && galago_object_check_cast((obj), GALAGO_CLASS_AVATAR)) |
Typedefs | |
typedef _GalagoAvatar | GalagoAvatar |
typedef _GalagoAvatarClass | GalagoAvatarClass |
typedef _GalagoAvatarPrivate | GalagoAvatarPrivate |
Detailed Description
Galago Avatar API.
- Copyright:
- (C) 2004-2005 Christian Hammond
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Definition in file galago-avatar.h.
Function Documentation
|
Returns an avatar's account.
|
|
Returns the class for a GalagoAvatar.
|
|
Returns an avatar's image data.
|
|
Creates a new avatar.
|
|
Sets the avatar's image data.
|