diff options
author | Lutz Mueller <lutz@users.sourceforge.net> | 2001-10-16 22:38:58 +0000 |
---|---|---|
committer | Lutz Mueller <lutz@users.sourceforge.net> | 2001-10-16 22:38:58 +0000 |
commit | 2f3fa5134dfc8906c6211127b8c141f3bdfb9588 (patch) | |
tree | ebe7920bafb02dfd43dfe30f0b3fa1efd8ea2b7a /camlibs/sonydscf1 | |
parent | c3a5cdab432bdf3d5192cfee9fc4130bb6d19296 (diff) | |
download | libgphoto2-2f3fa5134dfc8906c6211127b8c141f3bdfb9588.tar.gz |
2001-10-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* README: no glib-dependency any more
* camlibs: gp_abilities_new doesn't exist any more
* doc/api: Even more documentation
* libgphoto2/gphoto2-abiltiies.h: Cleaned up.
* libgphoto2/gphoto2-abilities-list.c: Documented
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2569 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/sonydscf1')
-rw-r--r-- | camlibs/sonydscf1/sonydscf1.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/camlibs/sonydscf1/sonydscf1.c b/camlibs/sonydscf1/sonydscf1.c index 439ed68d3..f4fc129ae 100644 --- a/camlibs/sonydscf1/sonydscf1.c +++ b/camlibs/sonydscf1/sonydscf1.c @@ -38,21 +38,21 @@ int camera_id (CameraText *id) { int camera_abilities (CameraAbilitiesList *list) { //*count = 1; - CameraAbilities *a; + CameraAbilities a; - gp_abilities_new(&a); /* Fill in each camera model's abilities */ /* Make separate entries for each conneciton type (usb, serial, etc...) if a camera supported multiple ways. */ - strcpy(a->model, "Sony DSC-F1"); - a->port=GP_PORT_SERIAL; - a->speed[0] = 9600; - a->speed[1] = 19200; - a->speed[2] = 38400; - a->operations = GP_OPERATION_NONE; - a->file_operations = GP_FILE_OPERATION_DELETE | + strcpy(a.model, "Sony DSC-F1"); + a.status = GP_DRIVER_STATUS_PRODUCTION; + a.port=GP_PORT_SERIAL; + a.speed[0] = 9600; + a.speed[1] = 19200; + a.speed[2] = 38400; + a.operations = GP_OPERATION_NONE; + a.file_operations = GP_FILE_OPERATION_DELETE | GP_FILE_OPERATION_PREVIEW; - a->folder_operations = GP_FOLDER_OPERATION_NONE; + a.folder_operations = GP_FOLDER_OPERATION_NONE; gp_abilities_list_append(list, a); return (GP_OK); |