aboutsummaryrefslogtreecommitdiffstats
path: root/include/IdentityManager.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/IdentityManager.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/include/IdentityManager.h b/include/IdentityManager.h
index 1a03fff..0e2d08f 100644
--- a/include/IdentityManager.h
+++ b/include/IdentityManager.h
@@ -3,13 +3,29 @@
#include "Api.h"
#include "ObjectManager.h"
+/**
+ * @file IdentityManager.h
+ * @brief Declares object capability checks.
+ */
+
namespace nt
{
+ /** @brief Checks whether an object supports identity-level operations. */
class NT_API IdentityManager
{
public:
- // Looks into the methods of the object type and asserts if it can be opened
+ /**
+ * @brief Looks into the methods of the object type and asserts if it can be opened.
+ * @param object Object to inspect.
+ * @return True when the object can be opened.
+ */
const bool CanOpen(ObjectManager::registry* object);
+
+ /**
+ * @brief Checks whether an object can be closed.
+ * @param object Object to inspect.
+ * @return True when the object can be closed.
+ */
const bool CanClose(ObjectManager::registry* object);
};
}