cleanups, descriptions
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
/* AppInstance - get an HINSTANCE for starting dialog boxes. */
|
||||||
|
|
||||||
#ifndef APP_INSTANCE_H
|
#ifndef APP_INSTANCE_H
|
||||||
#define APP_INSTANCE_H
|
#define APP_INSTANCE_H
|
||||||
|
|
||||||
@@ -5,16 +7,16 @@
|
|||||||
# include "windows.h"
|
# include "windows.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Win32 only: get an HINSTANCE; used for starting dialog boxes. */
|
|
||||||
class AppInstance
|
class AppInstance
|
||||||
{
|
{
|
||||||
HINSTANCE h;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
AppInstance();
|
AppInstance();
|
||||||
~AppInstance();
|
~AppInstance();
|
||||||
HINSTANCE Get() const { return h; }
|
HINSTANCE Get() const { return h; }
|
||||||
operator HINSTANCE () const { return h; }
|
operator HINSTANCE () const { return h; }
|
||||||
|
|
||||||
|
private:
|
||||||
|
HINSTANCE h;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
/* Helper to simulate standard argv[] semantics with WinMain. */
|
||||||
|
|
||||||
#ifndef CommandLine_H
|
#ifndef CommandLine_H
|
||||||
#define CommandLine_H
|
#define CommandLine_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
/* Open URLs in a browser. */
|
||||||
|
|
||||||
#ifndef GOTO_URL_H
|
#ifndef GOTO_URL_H
|
||||||
#define GOTO_URL_H
|
#define GOTO_URL_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* WindowsFileIO - Windows device I/O */
|
/* WindowsFileIO - Windows device I/O. */
|
||||||
|
|
||||||
#ifndef WIN32_USB_H
|
#ifndef WIN32_USB_H
|
||||||
#define WIN32_USB_H
|
#define WIN32_USB_H
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* GetVideoDriverInfo: Get information about Win32 video drivers. */
|
/* GetVideoDriverInfo - Get information about Win32 video drivers. */
|
||||||
|
|
||||||
#ifndef VIDEO_DRIVER_INFO_H
|
#ifndef VIDEO_DRIVER_INFO_H
|
||||||
#define VIDEO_DRIVER_INFO_H
|
#define VIDEO_DRIVER_INFO_H
|
||||||
|
|||||||
Reference in New Issue
Block a user