gphoto2-abilities-list.h File Reference
Detailed Description
List of supported camera models including their abilities.
- Author:
- Copyright 2000 Scott Fritzinger
- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
- 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 gphoto2-abilities-list.h.
#include <gphoto2/gphoto2-context.h>
#include <gphoto2/gphoto2-list.h>
#include <gphoto2/gphoto2-port-info-list.h>
#include <gphoto2/gphoto2-port-log.h>
Go to the source code of this file.
|
Classes |
struct | CameraAbilities |
| Describes the properties of a specific camera. More...
|
Typedefs |
typedef struct _CameraAbilitiesList | CameraAbilitiesList |
| List of supported camera models including their abilities.
|
Enumerations |
enum | CameraDriverStatus { GP_DRIVER_STATUS_PRODUCTION,
GP_DRIVER_STATUS_TESTING,
GP_DRIVER_STATUS_EXPERIMENTAL,
GP_DRIVER_STATUS_DEPRECATED
} |
enum | CameraFileOperation {
GP_FILE_OPERATION_NONE = 0,
GP_FILE_OPERATION_DELETE = 1 << 1,
GP_FILE_OPERATION_PREVIEW = 1 << 3,
GP_FILE_OPERATION_RAW = 1 << 4,
GP_FILE_OPERATION_AUDIO = 1 << 5,
GP_FILE_OPERATION_EXIF = 1 << 6
} |
enum | CameraFolderOperation {
GP_FOLDER_OPERATION_NONE = 0,
GP_FOLDER_OPERATION_DELETE_ALL = 1 << 0,
GP_FOLDER_OPERATION_PUT_FILE = 1 << 1,
GP_FOLDER_OPERATION_MAKE_DIR = 1 << 2,
GP_FOLDER_OPERATION_REMOVE_DIR = 1 << 3
} |
enum | CameraOperation {
GP_OPERATION_NONE = 0,
GP_OPERATION_CAPTURE_IMAGE = 1 << 0,
GP_OPERATION_CAPTURE_VIDEO = 1 << 1,
GP_OPERATION_CAPTURE_AUDIO = 1 << 2,
GP_OPERATION_CAPTURE_PREVIEW = 1 << 3,
GP_OPERATION_CONFIG = 1 << 4
} |
enum | GphotoDeviceType { GP_DEVICE_STILL_CAMERA = 0,
GP_DEVICE_AUDIO_PLAYER = 1 << 0
} |
Functions |
int | gp_abilities_list_append (CameraAbilitiesList *list, CameraAbilities abilities) |
| Append the abilities to the list.
|
int | gp_abilities_list_count (CameraAbilitiesList *list) |
| Count the entries in the supplied list.
|
int | gp_abilities_list_detect (CameraAbilitiesList *list, GPPortInfoList *info_list, CameraList *l, GPContext *context) |
int | gp_abilities_list_free (CameraAbilitiesList *list) |
| Free the given CameraAbilitiesList object.
|
int | gp_abilities_list_get_abilities (CameraAbilitiesList *list, int index, CameraAbilities *abilities) |
| Retrieve the camera abilities of entry with supplied index number.
|
int | gp_abilities_list_load (CameraAbilitiesList *list, GPContext *context) |
| Scans the system for camera drivers.
|
int | gp_abilities_list_lookup_model (CameraAbilitiesList *list, const char *model) |
| Search the list for an entry of given model name.
|
int | gp_abilities_list_new (CameraAbilitiesList **list) |
| Allocate the memory for a new abilities list.
|
int | gp_abilities_list_reset (CameraAbilitiesList *list) |
| Reset the list.
|
const char * | gp_message_codeset (const char *) |
| Set the current character codeset libgphoto2 is operating in.
|