~ubuntu-branches/debian/jessie/cheese/jessie

« back to all changes in this revision

Viewing changes to src/vapi/cheese-common.vapi

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson
  • Date: 2014-04-02 21:39:33 UTC
  • mfrom: (1.5.1) (15.1.7 experimental)
  • Revision ID: package-import@ubuntu.com-20140402213933-r0w3gna0pv7q7085
Tags: 3.12.0-1
* New upstream release.
* Revert changes done in 3.10.1-3
  - i.e. lower gnome-desktop build-dependency again.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
    public unowned Cheese.VideoFormat  get_current_video_format ();
40
40
    public int                         get_num_camera_devices ();
41
41
    public unowned Cheese.CameraDevice get_selected_device ();
42
 
    public unowned GLib.List           get_video_formats ();
 
42
    public GLib.List<unowned Cheese.VideoFormat> get_video_formats ();
43
43
    public bool                        has_camera ();
44
44
    public void                        play ();
45
45
    public void                        set_balance_property (string property, double value);
75
75
  {
76
76
    [CCode (has_construct_function = false)]
77
77
    public CameraDevice (string uuid, string device_node, string name, int v4lapi_version) throws GLib.Error;
78
 
    public unowned Cheese.VideoFormat get_best_format ();
79
 
    public unowned Gst.Caps           get_caps_for_format (Cheese.VideoFormat format);
 
78
    public Cheese.VideoFormat get_best_format ();
 
79
    public Gst.Caps get_caps_for_format (Cheese.VideoFormat format);
80
80
    public unowned string             get_device_node ();
81
 
    public unowned GLib.List          get_format_list ();
 
81
    public GLib.List<unowned Cheese.VideoFormat> get_format_list ();
82
82
    public unowned string             get_uuid ();
83
83
    public unowned string             get_name ();
84
84
    public unowned string             get_src ();
107
107
    [CCode (cname = "cheese_fileutil_new", has_construct_function = false)]
108
108
    public FileUtil ();
109
109
    [CCode (cname = "cheese_fileutil_get_new_media_filename")]
110
 
    public unowned string get_new_media_filename (Cheese.MediaMode mode);
 
110
    public string get_new_media_filename (Cheese.MediaMode mode);
111
111
    [CCode (cname = "cheese_fileutil_get_photo_path")]
112
112
    public unowned string get_photo_path ();
113
113
    [CCode (cname = "cheese_fileutil_get_video_path")]
125
125
  }
126
126
 
127
127
  [Compact]
128
 
  [CCode (type_id = "CHEESE_TYPE_VIDEO_FORMAT", cheader_filename = "cheese-camera-device.h")]
 
128
  [CCode (type_id = "CHEESE_TYPE_VIDEO_FORMAT", cheader_filename = "cheese-camera-device.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free")]
129
129
  public class VideoFormat
130
130
  {
131
131
    public int height;
132
132
    public int width;
133
133
  }
134
 
  [CCode (cprefix = "CHEESE_CAMERA_EFFECT_", has_type_id = false, cheader_filename = "cheese-camera.h")]
135
 
  public enum CameraEffect
136
 
  {
137
 
    NO_EFFECT,
138
 
    MAUVE,
139
 
    NOIR_BLANC,
140
 
    SATURATION,
141
 
    HULK,
142
 
    VERTICAL_FLIP,
143
 
    HORIZONTAL_FLIP,
144
 
    SHAGADELIC,
145
 
    VERTIGO,
146
 
    EDGE,
147
 
    DICE,
148
 
    WARP
149
 
  }
150
134
  [CCode (cprefix = "CHEESE_MEDIA_MODE_", has_type_id = false, cheader_filename = "cheese-fileutil.h")]
151
135
  public enum MediaMode
152
136
  {