Logo Search packages:      
Sourcecode: libgphoto2 version File versions  Download package

Bitmask on what fields are set in the CameraFileInfo structure.

Bitmask to mark up which fields are set in the CameraFileInfo structure. The other fields might be uninitialized. If you set information via gp_camera_file_set_info() you need to set those flags. If you retrieve information via gp_camera_file_get_info() you need to check those flags. They are seperate for both "normal" and "preview" parts and are mostly image related.

Enumerator:
GP_FILE_INFO_NONE 

No fields set.

GP_FILE_INFO_TYPE 

The MIME type is set.

GP_FILE_INFO_NAME 

The name is set.

GP_FILE_INFO_SIZE 

The filesize is set.

GP_FILE_INFO_WIDTH 

The width is set.

GP_FILE_INFO_HEIGHT 

The height is set.

GP_FILE_INFO_PERMISSIONS 

The access permissions are set.

GP_FILE_INFO_STATUS 

The status is set (downloaded).

GP_FILE_INFO_MTIME 

The modification time is set.

GP_FILE_INFO_ALL 

All possible fields set. Internal.

Definition at line 53 of file gphoto2-filesys.h.

             {
      GP_FILE_INFO_NONE            = 0,   /**< \brief No fields set. */
      GP_FILE_INFO_TYPE            = 1 << 0,    /**< \brief The MIME type is set. */
      GP_FILE_INFO_NAME            = 1 << 1,    /**< \brief The name is set. */
      GP_FILE_INFO_SIZE            = 1 << 2,    /**< \brief The filesize is set. */
      GP_FILE_INFO_WIDTH           = 1 << 3,    /**< \brief The width is set. */
      GP_FILE_INFO_HEIGHT          = 1 << 4,    /**< \brief The height is set. */
      GP_FILE_INFO_PERMISSIONS     = 1 << 5,    /**< \brief The access permissions are set. */
      GP_FILE_INFO_STATUS          = 1 << 6,    /**< \brief The status is set (downloaded). */
      GP_FILE_INFO_MTIME           = 1 << 7,    /**< \brief The modification time is set. */
      GP_FILE_INFO_ALL             = 0xFF /**< \brief All possible fields set. Internal. */
} CameraFileInfoFields;

Generated by  Doxygen 1.6.0   Back to index