First Commit
This commit is contained in:
commit
dbdc5bcc4a
1791 files changed
+489451
No files matched your search
@@ -0,0 +1,26 @@
|
||||
#include <pqxx/internal/callgate.hxx>
|
||||
|
||||
namespace pqxx
|
||||
{
|
||||
class connection;
|
||||
class errorhandler;
|
||||
} // namespace pqxx
|
||||
|
||||
namespace pqxx::internal::gate
|
||||
{
|
||||
class PQXX_PRIVATE connection_errorhandler : callgate<connection>
|
||||
{
|
||||
friend class pqxx::errorhandler;
|
||||
|
||||
connection_errorhandler(reference x) : super(x) {}
|
||||
|
||||
void register_errorhandler(errorhandler *h)
|
||||
{
|
||||
home().register_errorhandler(h);
|
||||
}
|
||||
void unregister_errorhandler(errorhandler *h)
|
||||
{
|
||||
home().unregister_errorhandler(h);
|
||||
}
|
||||
};
|
||||
} // namespace pqxx::internal::gate
|
||||
Reference in new issue
Block a user