galago-photo.h File Reference
Galago Photo API. More...
#include <stdlib.h>
#include <libgalago/galago-image.h>
#include <libgalago/galago-person.h>
Go to the source code of this file.
Photo API | |
GalagoObjectClass * | galago_photo_get_class (void) |
Returns the class for a GalagoPhoto. | |
GalagoPhoto * | galago_photo_new (GalagoPerson *person, const unsigned char *data, size_t len) |
Creates a new photo. | |
void | galago_photo_set_image_data (GalagoPhoto *photo, const unsigned char *data, size_t len) |
Sets the photo's image data. | |
GalagoPerson * | galago_photo_get_person (const GalagoPhoto *photo) |
Returns an photo's person. | |
void | galago_photo_get_image_data (const GalagoPhoto *photo, unsigned char **ret_data, size_t *ret_len) |
Returns an photo's image data. | |
Defines | |
#define | GALAGO_CLASS_PHOTO (galago_photo_get_class()) |
#define | GALAGO_DBUS_PHOTO_INTERFACE "org.freedesktop.Galago.Photo" |
#define | GALAGO_IS_PHOTO(obj) (GALAGO_IS_OBJECT(obj) && galago_object_check_cast((obj), GALAGO_CLASS_PHOTO)) |
Typedefs | |
typedef _GalagoPhoto | GalagoPhoto |
typedef _GalagoPhotoClass | GalagoPhotoClass |
typedef _GalagoPhotoPrivate | GalagoPhotoPrivate |
Detailed Description
Galago Photo 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-photo.h.
Function Documentation
|
Returns the class for a GalagoPhoto.
|
|
Returns an photo's image data.
|
|
Returns an photo's person.
|
|
Creates a new photo.
|
|
Sets the photo's image data.
|