zathura/internal.h

40 lines
894 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;
2012-04-06 13:54:17 +02:00
struct zathura_document_information_entry_s
{
zathura_document_information_type_t type; /**< Type of the information */
char* value; /**< Value */
};
struct zathura_link_s
{
zathura_rectangle_t position; /**< Position of the link */
zathura_link_type_t type; /**< Link type */
zathura_link_target_t target; /**< Link target */
};
/**
* 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