ReactOS  0.4.14-dev-614-gbfd8a84
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 }
ShellFolder * _desktop
Definition: shellclasses.h:548

Member Function Documentation

◆ init()

void CommonDesktop::init ( void  )

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
ShellFolder * _desktop
Definition: shellclasses.h:548
static IShellFolder ShellFolder
Definition: ordinal.c:2632

Referenced by GetDesktopFolder().

◆ operator ShellFolder &()

Definition at line 542 of file shellclasses.h.

543  {
544  return *_desktop;
545  }
ShellFolder * _desktop
Definition: shellclasses.h:548

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: