summaryrefslogtreecommitdiff
path: root/cppuhelper/inc/cppuhelper/access_control.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/inc/cppuhelper/access_control.hxx')
-rw-r--r--cppuhelper/inc/cppuhelper/access_control.hxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/cppuhelper/inc/cppuhelper/access_control.hxx b/cppuhelper/inc/cppuhelper/access_control.hxx
index 7b177c9e8ea4..acd5008b83de 100644
--- a/cppuhelper/inc/cppuhelper/access_control.hxx
+++ b/cppuhelper/inc/cppuhelper/access_control.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -40,10 +40,10 @@ namespace cppu
class AccessControl
{
::com::sun::star::uno::Reference< ::com::sun::star::security::XAccessController > m_xController;
-
+
public:
/** Ctor.
-
+
@param xContext component context to retrieve access controller singleton
*/
AccessControl(
@@ -51,7 +51,7 @@ public:
::com::sun::star::uno::XComponentContext > const & xContext )
SAL_THROW( (::com::sun::star::uno::RuntimeException) );
/** Ctor.
-
+
@param xController access controller
*/
AccessControl(
@@ -59,33 +59,33 @@ public:
::com::sun::star::security::XAccessController > const & xController )
SAL_THROW( (::com::sun::star::uno::RuntimeException) );
/** Copy ctor.
-
+
@param another object
*/
AccessControl( ::cppu::AccessControl const & ac )
SAL_THROW( (::com::sun::star::uno::RuntimeException) );
-
+
/** Clears the access controller reference being used.
*/
inline void SAL_CALL clear() SAL_THROW( () )
{ m_xController.clear(); }
-
+
/** Returns access to the access controller reference being used.
-
+
@return access controller
*/
inline ::com::sun::star::uno::Reference<
::com::sun::star::security::XAccessController > const & SAL_CALL get() const SAL_THROW( () )
{ return m_xController; }
-
+
/** Returns access to the access controller reference being used.
-
+
@return access controller
*/
inline ::com::sun::star::security::XAccessController * SAL_CALL operator -> () const SAL_THROW( () )
{ return m_xController.get(); }
-
-
+
+
/** A com.sun.star.security.RuntimePermission is for runtime permissions.
A RuntimePermission contains a name (also referred to as a "target name") but no
actions list; you either have the named permission or you don't.
@@ -95,7 +95,7 @@ public:
void SAL_CALL checkRuntimePermission(
::rtl::OUString const & name )
SAL_THROW( (::com::sun::star::uno::RuntimeException) );
-
+
/** A com.sun.star.io.FilePermission represents access to a file or directory.
A FilePermission consists of a file url and a set of actions valid for that pathname.
@@ -106,7 +106,7 @@ public:
::rtl::OUString const & url,
::rtl::OUString const & actions )
SAL_THROW( (::com::sun::star::uno::RuntimeException) );
-
+
/** A com.sun.star.connection.SocketPermission represents access to a network via sockets.
A SocketPermission consists of a host specification and a set of "actions"
specifying ways to connect to that host.