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
|
|
|
]
|