lib/jldrill/contexts/LoadQuizFromEdictContext.rb in jldrill-0.5.1.7 vs lib/jldrill/contexts/LoadQuizFromEdictContext.rb in jldrill-0.6.0.1
- old
+ new
@@ -1,5 +1,6 @@
+# encoding: utf-8
require 'Context/Context'
require 'Context/Bridge'
require 'jldrill/model/Config'
require 'jldrill/contexts/FileProgressContext'
@@ -40,9 +41,17 @@
end
end
def isValid?(parent)
return !parent.nil? && !@quiz.nil? && !@edict.nil?
+ end
+
+ def startLongEvent()
+ @parent.startLongEvent()
+ end
+
+ def stopLongEvent()
+ @parent.stopLongEvent()
end
def enter(parent, quiz, edict)
@quiz = quiz
@edict = edict