19 #ifndef INCLUDED_CPPUHELPER_ACCESS_CONTROL_HXX 20 #define INCLUDED_CPPUHELPER_ACCESS_CONTROL_HXX 25 namespace com {
namespace sun {
namespace star {
namespace security {
class XAccessController; } } } }
26 namespace com {
namespace sun {
namespace star {
namespace uno {
class XComponentContext; } } } }
35 css::uno::Reference< css::security::XAccessController > m_xController;
43 css::uno::Reference< css::uno::XComponentContext >
const & xContext );
49 css::uno::Reference< css::security::XAccessController >
const & xController );
59 { m_xController.clear(); }
65 css::uno::Reference< css::security::XAccessController >
const & SAL_CALL
get()
const 66 {
return m_xController; }
72 css::security::XAccessController * SAL_CALL operator -> ()
const 73 {
return m_xController.get(); }
82 void SAL_CALL checkRuntimePermission(
91 void SAL_CALL checkFilePermission(
102 void SAL_CALL checkSocketPermission(
void clear()
Clears the access controller reference being used.
Definition: access_control.hxx:58
Helper class for retrieving access controller singleton from component context.
Definition: access_control.hxx:33
#define SAL_WARN_UNUSED
Annotate classes where a compiler should warn if an instance is unused.
Definition: types.h:578
Definition: Enterable.hxx:26
#define CPPUHELPER_DLLPUBLIC
Definition: cppuhelperdllapi.h:28
This String class provides base functionality for C++ like Unicode character array handling...
Definition: ustring.hxx:126