QtPass 1.6.0
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
ImitatePass::transactionHelper Class Reference

RAII helper for wrapping operations in transactions. More...

#include <imitatepass.h>

Public Member Functions

 transactionHelper (simpleTransaction *trans, PROCESS result)
 Start transaction.
 ~transactionHelper ()
 End transaction on destruction.

Detailed Description

RAII helper for wrapping operations in transactions.

Examples
/home/annejan/Projects/QtPass/src/imitatepass.cpp.

Definition at line 151 of file imitatepass.h.

Constructor & Destructor Documentation

◆ transactionHelper()

ImitatePass::transactionHelper::transactionHelper ( simpleTransaction * trans,
PROCESS result )
inline

Start transaction.

Parameters
transTransaction object.
resultResult code on commit.

Definition at line 161 of file imitatepass.h.

Here is the call graph for this function:

◆ ~transactionHelper()

ImitatePass::transactionHelper::~transactionHelper ( )
inline

End transaction on destruction.

Definition at line 168 of file imitatepass.h.


The documentation for this class was generated from the following file: