X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tizen%2Fsrc%2Femul_state.c;h=ea7144454bcccfa6fd522008ac9edb0103636cc9;hb=b0e96416c6dfd795f017359ed39adb23f76e8929;hp=b6d78ede81ca32a187617623905285715c83f07c;hpb=689bc01f3155484257c9f3be4681a146adebbab8;p=sdk%2Femulator%2Fqemu.git diff --git a/tizen/src/emul_state.c b/tizen/src/emul_state.c index b6d78ed..ea71444 100644 --- a/tizen/src/emul_state.c +++ b/tizen/src/emul_state.c @@ -57,17 +57,6 @@ int get_emul_skin_enable(void) return _emul_info.skin_enable; } -/* current emulator condition */ -int get_emulator_condition(void) -{ - return _emul_state.emulator_condition; -} - -void set_emulator_condition(int state) -{ - _emul_state.emulator_condition = state; -} - /* lcd screen size */ void set_emul_lcd_size(int width, int height) { @@ -120,6 +109,28 @@ int get_emul_max_touch_point(void) return _emul_info.max_touch_point; } +/* base port for emualtor vm */ +void set_emul_vm_base_port(int port) +{ + _emul_info.vm_base_port = port; +} + +int get_emul_vm_base_port(void) +{ + return _emul_info.vm_base_port; +} + +/* current emulator condition */ +int get_emulator_condition(void) +{ + return _emul_state.emulator_condition; +} + +void set_emulator_condition(int state) +{ + _emul_state.emulator_condition = state; +} + /* emulator window scale */ void set_emul_win_scale(double scale_factor) { @@ -191,7 +202,7 @@ int get_host_lock_key_state(int key) return -1; } -/* manage CapsLock key state for usb keyboard input */ +/* manage CapsLock key state for host keyboard input */ void set_emul_caps_lock_state(int state) { _emul_state.qemu_caps_lock = state; @@ -199,10 +210,10 @@ void set_emul_caps_lock_state(int state) int get_emul_caps_lock_state(void) { - return _emul_state.qemu_caps_lock; + return _emul_state.qemu_caps_lock; } -/* manage NumLock key state for usb keyboard input */ +/* manage NumLock key state for host keyboard input */ void set_emul_num_lock_state(int state) { _emul_state.qemu_num_lock = state; @@ -210,5 +221,6 @@ void set_emul_num_lock_state(int state) int get_emul_num_lock_state(void) { - return _emul_state.qemu_num_lock; + return _emul_state.qemu_num_lock; } +