Changes between Version 8 and Version 9 of Developing your own applications


Ignore:
Timestamp:
01/11/11 15:17:56 (4 years ago)
Author:
Ben
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Developing your own applications

    v8 v9  
    66This guide assumes that the reader has already succussfully built SHR using the instructions at [wiki:"Building SHR"]. 
    77 
    8 Step 1. - Creating a source folder 
     81. - Creating a source folder 
    99{{{ 
    1010$ cd /path/to/shr/build 
     
    1212$ mkdir my_first_app 
    1313}}} 
     14 
     152. - Writing Hello World in Vala 
     16Create a file called my_first_app.vala and insert the following text: 
     17{{{ 
     18class Demo.HelloWorld : GLib.Object 
     19{ 
     20    public static int main(string[] args) 
     21    { 
     22        stdout.printf("Hello, World\n"); 
     23        return 0; 
     24    } 
     25} 
     26}}} 
     27