mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 14:35:59 +01:00
35 lines
810 B
C
35 lines
810 B
C
/* See LICENSE file for license and copyright information */
|
|
|
|
#ifndef INTERNAL_H
|
|
#define INTERNAL_H
|
|
|
|
#include "zathura.h"
|
|
#include "plugin.h"
|
|
|
|
/**
|
|
* Zathura password dialog
|
|
*/
|
|
typedef struct zathura_password_dialog_info_s
|
|
{
|
|
char* path; /**< Path to the file */
|
|
zathura_t* zathura; /**< Zathura session */
|
|
} zathura_password_dialog_info_t;
|
|
|
|
/**
|
|
* Returns the associated zathura instance
|
|
* TODO: Separate zathura_t completely from the document
|
|
*
|
|
* @param document The docment
|
|
* @return The associated zathura instance
|
|
*/
|
|
zathura_t* zathura_document_get_zathura(zathura_document_t* document);
|
|
|
|
/**
|
|
* Returns the associated plugin
|
|
*
|
|
* @param document The document
|
|
* @return The plugin or NULL
|
|
*/
|
|
zathura_plugin_t* zathura_document_get_plugin(zathura_document_t* document);
|
|
|
|
#endif // INTERNAL_H
|