| Revision bdc0000a07889caa04e7da52a49437377a6c1ccc,
1010 bytes
checked in by Matias De la Puente <mfpuente.ar@…>, 3 years ago
(diff) |
|
Initial i4uc rewrite as a MVP application
libi4uc is created to be used for:
+ Create the i4uc application with src/main.vala
+ Tests in future versions
+ Plugins in future versions
libi4uc follow the Model-View-Presenter pattern.
|
-
Property mode set to
100644
|
| Line | |
|---|
| 1 | /* main.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 | using I4uc; |
|---|
| 22 | |
|---|
| 23 | void main (string[] args) |
|---|
| 24 | { |
|---|
| 25 | Gtk.init (ref args); |
|---|
| 26 | |
|---|
| 27 | var main_window_view = new MainWindowView (); |
|---|
| 28 | main_window_view.show_all (); |
|---|
| 29 | |
|---|
| 30 | var main_window_presenter = new MainWindowPresenter (main_window_view); |
|---|
| 31 | |
|---|
| 32 | Gtk.main (); |
|---|
| 33 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.