mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-29 00:34:55 +01:00
Hide some structs from the plugins.
This commit is contained in:
parent
30b9be61dd
commit
1e2ff0557e
4 changed files with 17 additions and 11 deletions
|
@ -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>
|
||||
|
|
13
internal.h
13
internal.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
|
||||
*
|
||||
|
|
1
types.c
1
types.c
|
@ -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,
|
||||
|
|
13
types.h
13
types.h
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue