: Setup a treeview for records manipulation.
[gnome-sound-recorder.git] / vapi / libgsrecord.vapi
blobd35d87ac630b9d31912fa24f7dff7eaa11786a0c
1 /**
2  * This file is part of gnome-sound-record.
3  * Copyright (C) Martin Blanchard 2013 <tinram@gmx.fr>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software Foundation,
17  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
18  *
19  */
21 using GLib;
22 using Gtk;
23 using Gst;
26 [CCode (prefix = "Gsr",
27         lower_case_cprefix = "gsr_",
28         cheader_filename = "gsr-recorder.h")]
29 namespace Gsr {
30   [Compact]
31   [CCode (free_function = "gst_object_unref")]
32   public class Recorder : Gst.Pipeline {
33     [CCode (cname = "gsr_recorder_new")]
34     public Recorder (string directory);
36     [CCode (cname = "gsr_recorder_start_recording")]
37     public void start_recording (Error *error = null);
38     [CCode (cname = "gsr_recorder_stop_recording")]
39     public void stop_recording ();
41     public signal void record_started ();
42     public signal void record_stopped (string uri);
43   }