nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gamnit: move landscape & portrait from the android package to gamnit
[nit.git]
/
lib
/
linux
/
linux.nit
diff --git
a/lib/linux/linux.nit
b/lib/linux/linux.nit
index
6b89eb8
..
3f08b98
100644
(file)
--- a/
lib/linux/linux.nit
+++ b/
lib/linux/linux.nit
@@
-18,6
+18,7
@@
module linux
import app
module linux
import app
+intrude import app::app_base # For test_bound_platform
redef class App
# Path to the expected location of the asset folder of this program
redef class App
# Path to the expected location of the asset folder of this program
@@
-32,7
+33,6
@@
redef class App
on_create
on_restore_state
on_create
on_restore_state
- on_start
on_resume
end
on_resume
end
@@
-43,7
+43,6
@@
redef class App
on_pause
on_save_state
on_stop
on_pause
on_save_state
on_stop
- on_destroy
end
end
end
end
@@
-62,3
+61,7
@@
redef class TextAsset
return content
end
end
return content
end
end
+
+redef fun bound_platform do return "GNU/Linux"
+
+redef fun test_bound_platform do end