zathura/internal.h

36 lines
810 B
C
Raw Normal View History

2012-03-27 13:34:23 +02:00
/* See LICENSE file for license and copyright information */
#ifndef INTERNAL_H
#define INTERNAL_H
#include "zathura.h"
#include "plugin.h"
2012-03-27 13:34:23 +02:00
/**
* 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);
2012-03-27 13:34:23 +02:00
#endif // INTERNAL_H