ReactOS 0.4.16-dev-88-ga65b6ae
CommonDesktop Struct Reference

caching of desktop ShellFolder object More...

#include <shellclasses.h>

Collaboration diagram for CommonDesktop:

Public Member Functions

 CommonDesktop ()
 
 ~CommonDesktop ()
 
void init ()
 
 operator ShellFolder & ()
 

Protected Attributes

ShellFolder_desktop
 

Detailed Description

caching of desktop ShellFolder object

Definition at line 531 of file shellclasses.h.

Constructor & Destructor Documentation

◆ CommonDesktop()

CommonDesktop::CommonDesktop ( )
inline

Definition at line 533 of file shellclasses.h.

534 {
535 _desktop = 0;
536 }
ShellFolder * _desktop
Definition: shellclasses.h:548

◆ ~CommonDesktop()

CommonDesktop::~CommonDesktop ( )

Definition at line 136 of file shellclasses.cpp.

137{
138 if (_desktop)
139 delete _desktop;
140}

Member Function Documentation

◆ init()

void CommonDesktop::init ( )

Definition at line 128 of file shellclasses.cpp.

129{
130 CONTEXT("CommonDesktop::init()");
131
132 if (!_desktop)
133 _desktop = new ShellFolder;
134}
struct _CONTEXT CONTEXT
IShellFolder smart pointer.
Definition: shellclasses.h:594

Referenced by GetDesktopFolder().

◆ operator ShellFolder &()

CommonDesktop::operator ShellFolder & ( )
inline

Definition at line 542 of file shellclasses.h.

543 {
544 return *_desktop;
545 }

Member Data Documentation

◆ _desktop

ShellFolder* CommonDesktop::_desktop
protected

Definition at line 548 of file shellclasses.h.

Referenced by CommonDesktop(), init(), operator ShellFolder &(), and ~CommonDesktop().


The documentation for this struct was generated from the following files: