23 #ifndef INCLUDED_CPPUHELPER_ACCESS_CONTROL_HXX 24 #define INCLUDED_CPPUHELPER_ACCESS_CONTROL_HXX 29 namespace com {
namespace sun {
namespace star {
namespace security {
class XAccessController; } } } }
30 namespace com {
namespace sun {
namespace star {
namespace uno {
class XComponentContext; } } } }
39 css::uno::Reference< css::security::XAccessController > m_xController;
47 css::uno::Reference< css::uno::XComponentContext >
const & xContext );
53 css::uno::Reference< css::security::XAccessController >
const & xController );
60 #if defined LIBO_INTERNAL_ONLY 67 { m_xController.clear(); }
73 css::uno::Reference< css::security::XAccessController >
const & SAL_CALL
get()
const 74 {
return m_xController; }
80 css::security::XAccessController * SAL_CALL operator -> ()
const 81 {
return m_xController.get(); }
90 void SAL_CALL checkRuntimePermission(
99 void SAL_CALL checkFilePermission(
110 void SAL_CALL checkSocketPermission(
Helper class for retrieving access controller singleton from component context.
Definition: access_control.hxx:37
#define SAL_WARN_UNUSED
Annotate classes where a compiler should warn if an instance is unused.
Definition: types.h:587
Definition: Enterable.hxx:30
This String class provides base functionality for C++ like Unicode character array handling...
Definition: ustring.hxx:170
#define CPPUHELPER_DLLPUBLIC
Definition: cppuhelperdllapi.h:32
void clear()
Clears the access controller reference being used.
Definition: access_control.hxx:66