1
0
mirror of https://github.com/lxsang/Diya-API.git synced 2024-12-27 03:48:21 +01:00
Diya-API/Diya/DiyaBoot.class.st

35 lines
751 B
Smalltalk
Raw Normal View History

2021-12-18 02:02:16 +01:00
Class {
#name : #DiyaBoot,
#superclass : #DiyaBaseObject,
#category : #'Diya-Runtime'
}
{ #category : #'system startup' }
DiyaBoot class >> getLoadedClasses [
^ SessionManager default startupList
collect: [ :c |
(c respondsTo: #registeredClass)
ifTrue: [ c registeredClass ]
ifFalse: [ c ] ]
]
{ #category : #'system startup' }
DiyaBoot class >> startUp: status [
2021-12-18 13:07:30 +01:00
"
As is the entry point for Diya, it need to be disabled
when inside the SDK image.
"
((Smalltalk globals at:#codeName ifAbsent:[nil]) = 'diya') ifFalse: [^self].
2021-12-18 02:02:16 +01:00
self getLoadedClasses
do: [ :c |
Transcript
show: c className;
cr ].
2021-12-18 22:49:03 +01:00
self startx.
2021-12-18 02:02:16 +01:00
]
{ #category : #'system startup' }
2021-12-18 22:49:03 +01:00
DiyaBoot class >> startx [
DiyaInit uniqueInstance eventLoop
2021-12-18 02:02:16 +01:00
]