Search:
Login
Help/Guide
About Trac
Preferences
Wiki
Timeline
Roadmap
View Tickets
Search
Context Navigation
Back to Ticket #304
Ticket #304
: testcase.vala
File testcase.vala,
321 bytes
(added by dignan,
2 years
ago)
Vala testcase (easier to read)
Line
1
using Avahi;
2
using GLib;
3
4
public class Test {
5
6
public static void main (string[] args) {
7
Client c = new Client();
8
EntryGroup g = new EntryGroup();
9
10
try{
11
g.attach(c);
12
} catch (Avahi.Error e){
13
stderr.printf("Error: %s\n", e.message);
14
}
15
}
16
}
Download in other formats:
Original Format