~nasc-team/nasc/trunk

« back to all changes in this revision

Viewing changes to src/Nasc.vala

  • Committer: Djax
  • Date: 2015-07-22 21:31:52 UTC
  • Revision ID: parnold1@gmail.com-20150722213152-c2xz4w5kvmsz1qdb
formatting

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***
2
 
  BEGIN LICENSE
3
 
 
4
 
  Copyright (C) 2014 Peter Arnold
5
 
  This program is free software: you can redistribute it and/or modify it
6
 
  under the terms of the GNU Lesser General Public License version 3, as
7
 
  published by the Free Software Foundation.
8
 
 
9
 
  This program is distributed in the hope that it will be useful, but
10
 
  WITHOUT ANY WARRANTY; without even the implied warranties of
11
 
  MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
12
 
  PURPOSE.  See the GNU General Public License for more details.
13
 
 
14
 
  You should have received a copy of the GNU General Public License along
15
 
  with this program.  If not, see <http://www.gnu.org/licenses>
16
 
 
17
 
  END LICENSE
18
 
***/
 
1
/*
 
2
 * Copyright (c) 2015 Peter Arnold
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or
 
5
 * modify it under the terms of the GNU General Public
 
6
 * License as published by the Free Software Foundation; either
 
7
 * version 2 of the License, or (at your option) any later version.
 
8
 *
 
9
 * This program is distributed in the hope that it will be useful,
 
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
12
 * General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU General Public
 
15
 * License along with this program; if not, write to the
 
16
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
17
 * Boston, MA 02111-1307, USA.
 
18
 */
19
19
 
20
20
namespace Nasc {
21
 
 
22
21
    public class NascApp : Granite.Application {
23
 
 
24
22
        private MainWindow window = null;
25
23
        public string[] args;
26
24
 
39
37
            app_launcher = "nasc.desktop";
40
38
            application_id = "net.launchpad.nasc";
41
39
 
42
 
            // main_url = "https://code.launchpad.net/nasc";
 
40
            /* main_url = "https://code.launchpad.net/nasc"; */
43
41
            bug_url = "https://bugs.launchpad.net/nasc";
44
42
            help_url = "https://answers.launchpad.net/nasc";
45
 
            // translate_url = "https://translations.launchpad.net/nasc";
 
43
            /* translate_url = "https://translations.launchpad.net/nasc"; */
46
44
 
47
 
            // about_authors = { "NaSC Authors" };
 
45
            /* about_authors = { "NaSC Authors" }; */
48
46
            about_artists = { "Harvey Cabaguio <harvey@elementaryos.org>" };
49
47
            about_comments = "Do maths like a normal person";
50
48
            about_translators = null;
64
62
            }
65
63
        }
66
64
 
67
 
        public static void main (string [] args) {
 
65
        public static void main (string[] args) {
68
66
            var app = new Nasc.NascApp ();
69
67
            app.args = args;
70
68
            app.run (args);