From 585ed24473fdbec26c1009ba3c5b8d4bb00e6194 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 14 Feb 2006 11:00:15 +0000 Subject: [PATCH] cleanups, descriptions --- stepmania/src/archutils/Win32/AppInstance.h | 8 +++++--- stepmania/src/archutils/Win32/CommandLine.h | 2 ++ stepmania/src/archutils/Win32/GotoURL.h | 2 ++ stepmania/src/archutils/Win32/USB.h | 2 +- stepmania/src/archutils/Win32/VideoDriverInfo.h | 2 +- 5 files changed, 11 insertions(+), 5 deletions(-) diff --git a/stepmania/src/archutils/Win32/AppInstance.h b/stepmania/src/archutils/Win32/AppInstance.h index d6e2c9eb41..0ce90463e1 100644 --- a/stepmania/src/archutils/Win32/AppInstance.h +++ b/stepmania/src/archutils/Win32/AppInstance.h @@ -1,3 +1,5 @@ +/* AppInstance - get an HINSTANCE for starting dialog boxes. */ + #ifndef APP_INSTANCE_H #define APP_INSTANCE_H @@ -5,16 +7,16 @@ # include "windows.h" #endif -/* Win32 only: get an HINSTANCE; used for starting dialog boxes. */ class AppInstance { - HINSTANCE h; - public: AppInstance(); ~AppInstance(); HINSTANCE Get() const { return h; } operator HINSTANCE () const { return h; } + +private: + HINSTANCE h; }; #endif diff --git a/stepmania/src/archutils/Win32/CommandLine.h b/stepmania/src/archutils/Win32/CommandLine.h index fba37bbce0..fcf6726dd9 100644 --- a/stepmania/src/archutils/Win32/CommandLine.h +++ b/stepmania/src/archutils/Win32/CommandLine.h @@ -1,3 +1,5 @@ +/* Helper to simulate standard argv[] semantics with WinMain. */ + #ifndef CommandLine_H #define CommandLine_H diff --git a/stepmania/src/archutils/Win32/GotoURL.h b/stepmania/src/archutils/Win32/GotoURL.h index 4f4d098e0d..ec4a113d08 100644 --- a/stepmania/src/archutils/Win32/GotoURL.h +++ b/stepmania/src/archutils/Win32/GotoURL.h @@ -1,3 +1,5 @@ +/* Open URLs in a browser. */ + #ifndef GOTO_URL_H #define GOTO_URL_H diff --git a/stepmania/src/archutils/Win32/USB.h b/stepmania/src/archutils/Win32/USB.h index 730c63369a..8e63a7f637 100644 --- a/stepmania/src/archutils/Win32/USB.h +++ b/stepmania/src/archutils/Win32/USB.h @@ -1,4 +1,4 @@ -/* WindowsFileIO - Windows device I/O */ +/* WindowsFileIO - Windows device I/O. */ #ifndef WIN32_USB_H #define WIN32_USB_H diff --git a/stepmania/src/archutils/Win32/VideoDriverInfo.h b/stepmania/src/archutils/Win32/VideoDriverInfo.h index 64484c67e5..37bfe7fd18 100644 --- a/stepmania/src/archutils/Win32/VideoDriverInfo.h +++ b/stepmania/src/archutils/Win32/VideoDriverInfo.h @@ -1,4 +1,4 @@ -/* GetVideoDriverInfo: Get information about Win32 video drivers. */ +/* GetVideoDriverInfo - Get information about Win32 video drivers. */ #ifndef VIDEO_DRIVER_INFO_H #define VIDEO_DRIVER_INFO_H