source: libi4uccore/projectsview.vala @ 47b701a6646050bc639a18969b1ada4845b6e1c3

Revision 47b701a6646050bc639a18969b1ada4845b6e1c3, 2.5 KB checked in by Matias De la Puente <mfpuente.ar@…>, 2 years ago (diff)

Rework to use ViewFactory? and App

  • Property mode set to 100644
Line 
1/* projectsview.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.Core.ProjectsView : GLib.Object
23{
24        public abstract ProjectsPageView page_view { get; }
25        public abstract ProfileBuilderLogPage build_log_page { get; }
26        public abstract bool add_file_sensitive { set; get; }
27        public abstract bool remove_file_from_project_sensitive { set; get; }
28        public abstract bool remove_file_from_profile_sensitive { set; get; }
29        public abstract bool add_profile_sensitive { set; get; }
30        public abstract bool edit_profile_sensitive { set; get; }
31        public abstract bool duplicate_profile_sensitive { set; get; }
32        public abstract bool remove_profile_sensitive { set; get; }
33        public abstract bool build_profile_sensitive { set; get; }
34        public abstract bool program_profile_sensitive { set; get; }
35        public abstract bool stop_sensitive { set; get; }
36        public abstract bool clean_profile_sensitive { set; get; }
37        public abstract bool close_sensitive { set; get; }
38       
39        public signal void new_clicked ();
40        public signal void add_file_clicked ();
41        public signal void remove_file_from_project_clicked ();
42        public signal void remove_file_from_profile_clicked ();
43        public signal void add_profile_clicked ();
44        public signal void edit_profile_clicked ();
45        public signal void duplicate_profile_clicked ();
46        public signal void remove_profile_clicked ();
47        public signal void build_profile_clicked ();
48        public signal void program_profile_clicked ();
49        public signal void stop_clicked ();
50        public signal void clean_profile_clicked ();
51        public signal void close_clicked ();
52
53        public abstract DialogResponse show_new_dialog (out string project_uri, out string project_name);
54        public abstract AddFileDialogView create_add_file_dialog_view ();
55        public abstract AddProfileDialogView create_add_profile_dialog_view ();
56        public abstract void show_build_log_page ();
57        public abstract void add_recent (string uri);
58}
Note: See TracBrowser for help on using the repository browser.