lib/windows/window/timer.rb in windows-pr-1.1.3 vs lib/windows/window/timer.rb in windows-pr-1.2.0
- old
+ new
@@ -1,17 +1,19 @@
-require 'windows/api'
-
-module Windows
- module Window
- module Timer
- API.auto_namespace = 'Windows::Window::Timer'
- API.auto_constant = true
- API.auto_method = true
- API.auto_unicode = false
-
- API.new('KillTimer', 'LP', 'B', 'user32')
- API.new('QueryPerformanceCounter', 'P', 'B')
- API.new('QueryPerformanceFrequency', 'P', 'B')
- API.new('SetTimer', 'LIIK', 'P', 'user32')
- end
- end
-end
+require 'windows/api'
+
+module Windows
+ module Window
+ module Timer
+ API.auto_namespace = 'Windows::Window::Timer'
+ API.auto_constant = true
+ API.auto_method = true
+ API.auto_unicode = false
+
+ private
+
+ API.new('KillTimer', 'LP', 'B', 'user32')
+ API.new('QueryPerformanceCounter', 'P', 'B')
+ API.new('QueryPerformanceFrequency', 'P', 'B')
+ API.new('SetTimer', 'LIIK', 'P', 'user32')
+ end
+ end
+end