Commit 1e2ff055 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Hide some structs from the plugins.

parent 30b9be61
......@@ -15,6 +15,7 @@
#include "utils.h"
#include "page-widget.h"
#include "page.h"
#include "internal.h"
#include <girara/session.h>
#include <girara/datastructures.h>
......
......@@ -15,6 +15,19 @@ typedef struct zathura_password_dialog_info_s
zathura_t* zathura; /**< Zathura session */
} zathura_password_dialog_info_t;
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
*
......
......@@ -5,6 +5,7 @@
#include <glib.h>
#include "types.h"
#include "internal.h"
zathura_link_t*
zathura_link_new(zathura_link_type_t type, zathura_rectangle_t position,
......
......@@ -63,11 +63,7 @@ typedef struct zathura_plugin_s zathura_plugin_t;
* Represents a single entry in the returned list from the \ref
* zathura_document_get_information function
*/
typedef struct zathura_document_information_entry_s
{
zathura_document_information_type_t type; /**< Type of the information */
char* value; /**< Value */
} zathura_document_information_entry_t;
typedef struct zathura_document_information_entry_s zathura_document_information_entry_t;
/**
* Image buffer
......@@ -147,12 +143,7 @@ typedef union zathura_link_target_u
/**
* Link
*/
typedef 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 */
} zathura_link_t;
typedef struct zathura_link_s zathura_link_t;
/**
* Index element
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment