module GPhoto2

Extended Modules

Defined in:

gphoto2.cr
gphoto2/camera.cr
gphoto2/camera/capture.cr
gphoto2/camera/configuration.cr
gphoto2/camera/event.cr
gphoto2/camera/filesystem.cr
gphoto2/camera/id.cr
gphoto2/camera/info.cr
gphoto2/camera_abilities.cr
gphoto2/camera_abilities_list.cr
gphoto2/camera_event.cr
gphoto2/camera_file.cr
gphoto2/camera_file_info.cr
gphoto2/camera_file_info/audio.cr
gphoto2/camera_file_info/base.cr
gphoto2/camera_file_info/file.cr
gphoto2/camera_file_info/preview.cr
gphoto2/camera_file_path.cr
gphoto2/camera_folder.cr
gphoto2/camera_folder/compression.cr
gphoto2/camera_list.cr
gphoto2/camera_widget.cr
gphoto2/camera_widgets/base.cr
gphoto2/camera_widgets/button.cr
gphoto2/camera_widgets/date.cr
gphoto2/camera_widgets/menu.cr
gphoto2/camera_widgets/radio.cr
gphoto2/camera_widgets/range.cr
gphoto2/camera_widgets/section.cr
gphoto2/camera_widgets/text.cr
gphoto2/camera_widgets/toggle.cr
gphoto2/camera_widgets/window.cr
gphoto2/context.cr
gphoto2/context/callbacks.cr
gphoto2/context/error.cr
gphoto2/error.cr
gphoto2/managed_struct.cr
gphoto2/port.cr
gphoto2/port_info.cr
gphoto2/port_info_list.cr
gphoto2/struct.cr
gphoto2/version.cr

Constant Summary

VERSION = {{ (`shards version \"/srv/crystaldoc.info/github-Sija-gphoto2.cr-v0.14.0/src/gphoto2\"`).chomp.stringify }}

Instance Method Summary

Instance Method Detail

def check!(rc : Int32) : Int32 #

[View source]
def check?(rc : Int32) : Bool #

Checks if the given rc is a GPhoto2 error code.


[View source]
def library_version(verbosity : VersionVerbosity = :short) : String #

Returns the GPhoto2 library version.


[View source]
def result_as_string(rc : Int32) : String #

Returns the GPhoto2 return code (rc) as a string.


[View source]