source: libi4uc/i4ucprogrammerssidepageiface.vala @ f7ca2a2bc940eb4ada6c54cc6333162a44a67624

Revision f7ca2a2bc940eb4ada6c54cc6333162a44a67624, 2.8 KB checked in by Matias De la Puente <mfpuente.ar@…>, 3 years ago (diff)

Programmers: Move actions to the menu and toolbar

Fixes Ticket #2

  • Property mode set to 100644
Line 
1/* i4ucprogrammerssidepageiface.vala
2 *
3 * Copyright (C) 2010  Matias De la Puente
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 3 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
13 * GNU 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, see <http://www.gnu.org/licenses/>.
17 *
18 * Author:
19 *      Matias De la Puente <mfpuente.ar@gmail.com>
20 */
21
22public interface I4uc.ProgrammersSidePageIface : GLib.Object, PageIface
23{
24        public abstract string current_programmer { set; get; }
25        public abstract string current_serial_port { set; get; }
26        public abstract string current_baud_rate { set; get; }
27        public abstract string current_devices_file { set; owned get; }
28        public abstract string current_devices_folder { set; owned get; }
29        public abstract string current_clock { set; get; }
30        public abstract string current_device { set; get; }
31        public abstract string current_fuses { set; get; }
32       
33        public abstract bool serial_port_visible { set; get; }
34        public abstract bool baud_rate_visible { set; get; }
35        public abstract bool devices_file_visible { set; get; }
36        public abstract bool devices_folder_visible { set; get; }
37        public abstract bool clock_visible { set; get; }
38        public abstract bool fuses_visible { set; get; }
39       
40        public abstract bool programmer_sensitive { set; get; }
41        public abstract bool serial_port_sensitive { set; get; }
42        public abstract bool baud_rate_sensitive { set; get; }
43        public abstract bool devices_file_sensitive { set; get; }
44        public abstract bool devices_folder_sensitive { set; get; }
45        public abstract bool clock_sensitive { set; get; }
46        public abstract bool device_sensitive { set; get; }
47        public abstract bool fuses_sensitive { set; get; }
48       
49        public signal void programmer_changed ();
50        public signal void serial_port_changed ();
51        public signal void baud_rate_changed ();
52        public signal void devices_file_changed ();
53        public signal void devices_folder_changed ();
54        public signal void clock_changed ();
55        public signal void device_changed ();
56        public signal void fuses_changed ();
57       
58        public signal void update_serial_port_clicked ();
59       
60        public abstract void add_programmer (string programmer);
61        public abstract void add_serial_port (string serial_port);
62        public abstract void add_baud_rate (string baud_rate);
63        public abstract void add_device (string device);
64        public abstract void clear_serial_ports_list ();
65        public abstract void clear_devices_list ();
66}
Note: See TracBrowser for help on using the repository browser.