Delete QOF_STDOUT.

Apparently a hack for the long-gone QSF backend.
This commit is contained in:
John Ralls
2020-06-02 10:54:09 -07:00
parent 0281ef2fc5
commit 65e2639de4
2 changed files with 0 additions and 22 deletions

View File

@@ -129,11 +129,6 @@ QofXmlBackendProvider::type_check (const char *uri)
}
filename = gnc_uri_get_path (uri);
if (0 == g_strcmp0 (filename, QOF_STDOUT))
{
result = FALSE;
goto det_exit;
}
t = g_fopen (filename, "r");
if (!t)
{

View File

@@ -259,23 +259,6 @@ void qof_session_end (QofSession *session);
/** @}
*/
/** \brief Allow session data to be printed to stdout
book_id can't be NULL and we do need to have an access_method,
so use one to solve the other.
To print a session to stdout, use ::qof_session_begin. Example:
\a qof_session_begin(session,QOF_STDOUT,TRUE,FALSE);
When you call qof_session_save(session, NULL), the output will appear
on stdout and can be piped or redirected to other processes.
Currently, only the QSF backend supports writing to stdout, other
backends may return a ::QofBackendError.
*/
#define QOF_STDOUT ">"
/** @name Event Handling
@{ */