repo.or.cz
/
vala-gnome.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
codegen: Custom abstract methods of GLib.Source are handled differently
[vala-gnome.git]
/
tests
/
objects
/
gsource.vala
blob
8ee450f1f9bfc58859d7a9f9af3024197bd32958
1
class
FooSource
:
Source
{
2
public override
bool
prepare
(
out
int
timeout
) {
3
timeout
=
1000
;
4
return
false
;
5
}
6
7
public override
bool
check
() {
8
return
false
;
9
}
10
11
public override
bool
dispatch
(
SourceFunc
callback
) {
12
return
false
;
13
}
14
}
15
16
void
main
() {
17
var
foo
=
new
FooSource
();
18
}