Changes between Version 8 and Version 9 of Developing your own applications
- Timestamp:
- 01/11/11 15:17:56 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Developing your own applications
v8 v9 6 6 This guide assumes that the reader has already succussfully built SHR using the instructions at [wiki:"Building SHR"]. 7 7 8 Step1. - Creating a source folder8 1. - Creating a source folder 9 9 {{{ 10 10 $ cd /path/to/shr/build … … 12 12 $ mkdir my_first_app 13 13 }}} 14 15 2. - Writing Hello World in Vala 16 Create a file called my_first_app.vala and insert the following text: 17 {{{ 18 class 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
