From e6c72a5a0ddf9317eef7462858adb3868e6c1c1c Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Mon, 10 Nov 2003 23:03:52 +0000 Subject: [PATCH] Defined __cplusplus for Doxygen svn path=/trunk/; revision=6612 --- reactos/subsys/system/explorer/Doxyfile | 2 +- reactos/subsys/system/explorer/Doxyfile-all | 2 +- .../subsys/system/explorer/doxy-footer.html | 2 +- .../subsys/system/explorer/utility/utility.h | 22 +++++++++++++++++++ 4 files changed, 25 insertions(+), 3 deletions(-) diff --git a/reactos/subsys/system/explorer/Doxyfile b/reactos/subsys/system/explorer/Doxyfile index 62f75602e7c..4d3b1ec49c0 100644 --- a/reactos/subsys/system/explorer/Doxyfile +++ b/reactos/subsys/system/explorer/Doxyfile @@ -174,7 +174,7 @@ EXPAND_ONLY_PREDEF = NO SEARCH_INCLUDES = YES INCLUDE_PATH = INCLUDE_FILE_PATTERNS = -PREDEFINED = +PREDEFINED = __cplusplus EXPAND_AS_DEFINED = SKIP_FUNCTION_MACROS = YES #--------------------------------------------------------------------------- diff --git a/reactos/subsys/system/explorer/Doxyfile-all b/reactos/subsys/system/explorer/Doxyfile-all index 7e0dbd2b7bf..993b8234c17 100644 --- a/reactos/subsys/system/explorer/Doxyfile-all +++ b/reactos/subsys/system/explorer/Doxyfile-all @@ -174,7 +174,7 @@ EXPAND_ONLY_PREDEF = NO SEARCH_INCLUDES = YES INCLUDE_PATH = INCLUDE_FILE_PATTERNS = -PREDEFINED = +PREDEFINED = __cplusplus EXPAND_AS_DEFINED = SKIP_FUNCTION_MACROS = YES #--------------------------------------------------------------------------- diff --git a/reactos/subsys/system/explorer/doxy-footer.html b/reactos/subsys/system/explorer/doxy-footer.html index 577c245c129..53eb14281eb 100644 --- a/reactos/subsys/system/explorer/doxy-footer.html +++ b/reactos/subsys/system/explorer/doxy-footer.html @@ -3,7 +3,7 @@
ROS Explore Source Code Documentation -
generated on 09.11.2003 by +
generated on 10.11.2003 by
doxygen
diff --git a/reactos/subsys/system/explorer/utility/utility.h b/reactos/subsys/system/explorer/utility/utility.h index d5ab44e3dbb..b503614a57b 100644 --- a/reactos/subsys/system/explorer/utility/utility.h +++ b/reactos/subsys/system/explorer/utility/utility.h @@ -85,6 +85,7 @@ using namespace _com_util; #define BUFFER_LEN 1024 + /// initialization of windows common controls struct CommonControlInit { CommonControlInit(DWORD flags=ICC_LISTVIEW_CLASSES|ICC_TREEVIEW_CLASSES|ICC_BAR_CLASSES|ICC_PROGRESS_CLASS|ICC_COOL_CLASSES) @@ -115,6 +116,7 @@ protected: }; + /// base of all structures storing a window handle struct WindowHandle { WindowHandle(HWND hwnd=0) @@ -128,6 +130,7 @@ protected: }; + /// locally hide a window struct HiddenWindow : public WindowHandle { HiddenWindow(HWND hwnd) @@ -233,6 +236,7 @@ protected: // window utilities + /// ClientRect retreives the client area rectangle of a window. struct ClientRect : public RECT { ClientRect(HWND hwnd) @@ -245,6 +249,7 @@ struct ClientRect : public RECT POINT& pos() {return *(LPPOINT)this;} }; + /// ClientRect retreives the window rectangle of a window. struct WindowRect : public RECT { WindowRect(HWND hwnd) @@ -257,6 +262,7 @@ struct WindowRect : public RECT POINT& pos() {return *(LPPOINT)this;} }; + /// PointL encapsulates the POINT structure into a C++ object. struct Point : public POINT { Point(LONG x_, LONG y_) @@ -276,13 +282,16 @@ struct Point : public POINT }; + /// transform coordinates in a RECT from client to screen coordiantes inline void ClientToScreen(HWND hwnd, RECT* prect) {::ClientToScreen(hwnd,(LPPOINT)&prect->left); ::ClientToScreen(hwnd,(LPPOINT)&prect->right);} + /// transform coordinates in a RECT from screen to client coordiantes inline void ScreenToClient(HWND hwnd, RECT* prect) {::ScreenToClient(hwnd,(LPPOINT)&prect->left); ::ScreenToClient(hwnd,(LPPOINT)&prect->right);} + /// structure containing information about full screen display of the frame window struct FullScreenParameters { FullScreenParameters() @@ -298,6 +307,7 @@ struct FullScreenParameters // drawing utilities + /// PaintCanvas is a encapsulation of device contexts managed by BeginPaint()/EndPaint(). struct PaintCanvas : public PAINTSTRUCT { PaintCanvas(HWND hwnd) @@ -317,6 +327,7 @@ protected: HWND _hwnd; }; + /// Canvas is a encapsulation of device contexts. struct Canvas { Canvas(HDC hdc) : _hdc(hdc) {} @@ -327,6 +338,7 @@ protected: HDC _hdc; }; + /// WindowCanvas is a encapsulation of client area device contexts. struct WindowCanvas : public Canvas { WindowCanvas(HWND hwnd) @@ -341,6 +353,7 @@ protected: // double buffering classes + /// Memory Canvas creates and destroys memory devoce contexts. struct MemCanvas : public Canvas { MemCanvas(HDC hdc=0) @@ -349,6 +362,7 @@ struct MemCanvas : public Canvas ~MemCanvas() {DeleteDC(_hdc);} }; + /// SelectedBitmap is used to localy select bitmaps into device contexts. struct SelectedBitmap { SelectedBitmap(HDC hdc, HBITMAP hbmp) @@ -361,6 +375,7 @@ protected: HBITMAP _old_hbmp; }; + /// BufferCanvas manages offscreen bitmaps selected into memory device contexts. struct BufferCanvas : public MemCanvas { BufferCanvas(HDC hdc, int x, int y, int w, int h) @@ -379,6 +394,7 @@ protected: SelectedBitmap _bmp; }; + /// BufferedCanvas enables double buffering for a device context. struct BufferedCanvas : public BufferCanvas { BufferedCanvas(HDC hdc, int x, int y, int w, int h, DWORD mode=SRCCOPY) @@ -392,6 +408,7 @@ struct BufferedCanvas : public BufferCanvas DWORD _mode; }; + /// BufferedPaintCanvas extends PaintCanvas for double buffering. struct BufferedPaintCanvas : public PaintCanvas, public BufferedCanvas { BufferedPaintCanvas(HWND hwnd) @@ -404,6 +421,7 @@ struct BufferedPaintCanvas : public PaintCanvas, public BufferedCanvas }; + /// TextColor locally selects a text color for drawing. struct TextColor { TextColor(HDC hdc, COLORREF color) @@ -416,6 +434,7 @@ protected: COLORREF _old_color; }; + /// TextColor locally sets the background mode for drawing. struct BkMode { BkMode(HDC hdc, int bkmode) @@ -428,6 +447,7 @@ protected: COLORREF _old_bkmode; }; + /// TextColor locally selects a font for drawing. struct FontSelection { FontSelection(HDC hdc, HFONT hFont) @@ -440,6 +460,7 @@ protected: HFONT _old_hFont; }; + /// TextColor locally selects a bitmap into a device context. struct BitmapSelection { BitmapSelection(HDC hdc, HBITMAP hBmp) @@ -453,6 +474,7 @@ protected: }; + /// string class for convenience struct String #ifdef UNICODE : public wstring