Пример #1
0
        public CameraFilePath Capture(CameraCaptureType type, Context context)
        {
            CameraFilePath path;
            Error.CheckError (gp_camera_capture (this.Handle, type, out path, context.Handle));

            return path;
        }
Пример #2
0
        public CameraText GetAbout(Context context)
        {
            CameraText about;
            Error.CheckError (gp_camera_get_about(this.Handle, out about, context.Handle));

            return about;
        }
Пример #3
0
 public void Exit(Context context)
 {
     Error.CheckError (gp_camera_exit (Handle, context.Handle));
 }
Пример #4
0
 public void DeleteFile(string folder, string name, Context context)
 {
     Error.CheckError (gp_camera_file_delete(this.Handle, folder, name, context.Handle));
 }
Пример #5
0
 public void DeleteAll(string folder, Context context)
 {
     Error.CheckError (gp_camera_folder_delete_all (this.Handle, folder, context.Handle));
 }
Пример #6
0
 public void CapturePreview(CameraFile dest, Context context)
 {
     Error.CheckError (gp_camera_capture_preview (this.Handle, dest.Handle, context.Handle));
 }
Пример #7
0
 public void SetFileInfo(string folder, string name, CameraFileInfo fileinfo, Context context)
 {
     Error.CheckError (gp_camera_file_set_info(this.Handle, folder, name, fileinfo, context.Handle));
 }
Пример #8
0
 public void PutFile(string folder, CameraFile file, Context context)
 {
     Error.CheckError (gp_camera_folder_put_file(this.Handle, folder, file.Handle, context.Handle));
 }
Пример #9
0
 public void RemoveDirectory(string folder, string name, Context context)
 {
     Error.CheckError (gp_camera_folder_remove_dir(this.Handle, folder, name, context.Handle));
 }
Пример #10
0
        public CameraList ListFolders(string folder, Context context)
        {
            CameraList file_list = new CameraList();
            Error.CheckError (gp_camera_folder_list_folders (this.Handle, folder, file_list.Handle, context.Handle));

            return file_list;
        }
Пример #11
0
        public CameraText GetSummary(Context context)
        {
            CameraText summary;
            Error.CheckError (Camera.gp_camera_get_summary(this.Handle, out summary, context.Handle));

            return summary;
        }
Пример #12
0
 public CameraText GetManual(Context context)
 {
     CameraText manual;
     unsafe
     {
         Error.CheckError (gp_camera_get_manual(this.Handle, out manual, context.Handle));
     }
     return manual;
 }
Пример #13
0
        public CameraFileInfo GetFileInfo(string folder, string name, Context context)
        {
            CameraFileInfo fileinfo;
            Error.CheckError (gp_camera_file_get_info(this.Handle, folder, name, out fileinfo, context.Handle));

            return fileinfo;
        }
Пример #14
0
 public void GetFile(string folder, string name, CameraFileType type, CameraFile camera_file, Context context)
 {
     Error.CheckError (gp_camera_file_get(this.Handle, folder, name, type, camera_file.Handle, context.Handle));
 }