OSDN Git Service
(root)
/
eos
/
hostdependX86LINUX64.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
recompiled:
[eos/hostdependX86LINUX64.git]
/
lib
/
molvie_ver.rb
1
require 'molvieRuby'
2
$molvie_ver
3
4
class Molvie_ver
5
def molvie_Viewer
6
$molvie_ver = 0
7
MolvieRuby::operationModeSet(0)
8
end
9
10
def molvie_Flight
11
$molvie_ver = 1
12
#return version
13
MolvieRuby::operationModeSet(1)
14
end
15
16
def molvie_Projection
17
$molvie_ver = 2
18
#return version
19
MolvieRuby::operationModeSet(2)
20
end
21
22
def molvie_MrcViewer
23
$molvie_ver = 3
24
#3return version
25
MolvieRuby::operationModeSet(3)
26
27
end
28
29
def molvie_Dock
30
$molvie_ver = 4
31
MolvieRuby::operationModeSet(4)
32
#return version
33
end
34
35
def molvie_ver
36
molvie_ver =$molvie_ver
37
return molvie_ver
38
end
39
40
def put_molviemode
41
puts $molvie_ver
42
end
43
44
end