LibreOffice Module framework (master) 1
Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
framework::MenuAttributes Struct Reference

#include <menuconfiguration.hxx>

Public Member Functions

void acquire ()
 
void release ()
 

Static Public Member Functions

static void * CreateAttribute (const OUString &rFrame, const OUString &rImageIdStr)
 
static void * CreateAttribute (const css::uno::WeakReference< css::frame::XDispatchProvider > &rDispatchProvider)
 
static void ReleaseAttribute (void *nAttributePtr)
 

Public Attributes

OUString aTargetFrame
 
OUString aImageId
 
css::uno::WeakReference< css::frame::XDispatchProvider > xDispatchProvider
 

Private Member Functions

 MenuAttributes (OUString sFrame, OUString sImageIdStr)
 
 MenuAttributes (css::uno::WeakReference< css::frame::XDispatchProvider > _xDispatchProvider)
 
 MenuAttributes (const MenuAttributes &)=delete
 

Private Attributes

oslInterlockedCount refCount
 

Detailed Description

Definition at line 34 of file menuconfiguration.hxx.

Constructor & Destructor Documentation

◆ MenuAttributes() [1/3]

framework::MenuAttributes::MenuAttributes ( OUString  sFrame,
OUString  sImageIdStr 
)
inlineprivate

Definition at line 39 of file menuconfiguration.hxx.

References sFrame.

Referenced by CreateAttribute().

◆ MenuAttributes() [2/3]

framework::MenuAttributes::MenuAttributes ( css::uno::WeakReference< css::frame::XDispatchProvider >  _xDispatchProvider)
inlineprivate

Definition at line 46 of file menuconfiguration.hxx.

◆ MenuAttributes() [3/3]

framework::MenuAttributes::MenuAttributes ( const MenuAttributes )
privatedelete

Member Function Documentation

◆ acquire()

void framework::MenuAttributes::acquire ( )
inline

Definition at line 63 of file menuconfiguration.hxx.

References refCount.

Referenced by CreateAttribute().

◆ CreateAttribute() [1/2]

void * framework::MenuAttributes::CreateAttribute ( const css::uno::WeakReference< css::frame::XDispatchProvider > &  rDispatchProvider)
static

Definition at line 139 of file menuconfiguration.cxx.

References acquire(), and MenuAttributes().

◆ CreateAttribute() [2/2]

void * framework::MenuAttributes::CreateAttribute ( const OUString &  rFrame,
const OUString &  rImageIdStr 
)
static

◆ release()

void framework::MenuAttributes::release ( )
inline

Definition at line 68 of file menuconfiguration.hxx.

References refCount.

Referenced by ReleaseAttribute().

◆ ReleaseAttribute()

void framework::MenuAttributes::ReleaseAttribute ( void *  nAttributePtr)
static

Member Data Documentation

◆ aImageId

OUString framework::MenuAttributes::aImageId

Definition at line 56 of file menuconfiguration.hxx.

Referenced by framework::NewMenuController::setMenuImages().

◆ aTargetFrame

OUString framework::MenuAttributes::aTargetFrame

◆ refCount

oslInterlockedCount framework::MenuAttributes::refCount
private

Definition at line 37 of file menuconfiguration.hxx.

Referenced by acquire(), and release().

◆ xDispatchProvider

css::uno::WeakReference<css::frame::XDispatchProvider> framework::MenuAttributes::xDispatchProvider

Definition at line 57 of file menuconfiguration.hxx.

Referenced by framework::MenuBarManager::FillMenuManager().


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