source: libi4uc/i4ucprojectsviewiface.vala @ 1cef3b9bab805715b75c2ff4d4a2b78f0c71b0ec

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

Projects: Add support for opening recent used projects

  • Property mode set to 100644
Line 
1/* i4ucprojectsviewiface.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.ProjectsViewIface : GLib.Object
23{
24        public abstract ProjectsSidePageViewIface side_page_view { get; }
25        public abstract LogPageIface 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 remove_profile_sensitive { set; get; }
31        public abstract bool build_profile_sensitive { set; get; }
32        public abstract bool stop_sensitive { set; get; }
33        public abstract bool clean_profile_sensitive { set; get; }
34        public abstract bool close_sensitive { set; get; }
35       
36        public signal void new_clicked ();
37        public signal void open_clicked ();
38        public signal void open_recent_clicked (string uri);
39        public signal void add_file_clicked ();
40        public signal void remove_file_from_project_clicked ();
41        public signal void remove_file_from_profile_clicked ();
42        public signal void add_profile_clicked ();
43        public signal void remove_profile_clicked ();
44        public signal void build_profile_clicked ();
45        public signal void stop_clicked ();
46        public signal void clean_profile_clicked ();
47        public signal void close_clicked ();
48
49        public abstract void show_error_message (string error_message);
50        public abstract int show_yes_no_message (string message, bool cancel);
51        public abstract int show_new_dialog (out string project_uri, out string project_name, out Gee.List<string> authors);
52        public abstract void show_open_dialog (ref string folder_uri, out Gee.List<string> projects);
53        public abstract AddFileDialogViewIface create_add_file_dialog_view ();
54        public abstract AddProfileDialogViewIface create_add_profile_dialog_view ();
55        public abstract void show_build_log_page ();
56        public abstract void add_recent (string uri);
57}
Note: See TracBrowser for help on using the repository browser.