mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-14 07:13:46 +01:00
There is no need to include zathura.h anymore.
This commit is contained in:
parent
26792ca3a6
commit
f7c119b244
@ -7,7 +7,6 @@
|
|||||||
#include <girara/types.h>
|
#include <girara/types.h>
|
||||||
|
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "page.h"
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Open the document
|
* Open the document
|
||||||
|
1
page.h
1
page.h
@ -6,7 +6,6 @@
|
|||||||
#include <girara/datastructures.h>
|
#include <girara/datastructures.h>
|
||||||
#include <cairo.h>
|
#include <cairo.h>
|
||||||
|
|
||||||
#include "document.h"
|
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
1
types.c
1
types.c
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <girara/datastructures.h>
|
#include <girara/datastructures.h>
|
||||||
|
#include <glib.h>
|
||||||
|
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
|
15
types.h
15
types.h
@ -3,7 +3,20 @@
|
|||||||
#ifndef TYPES_H
|
#ifndef TYPES_H
|
||||||
#define TYPES_H
|
#define TYPES_H
|
||||||
|
|
||||||
#include "zathura.h"
|
#include "macros.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Document
|
||||||
|
*/
|
||||||
|
typedef struct zathura_document_s zathura_document_t;
|
||||||
|
/**
|
||||||
|
* Page
|
||||||
|
*/
|
||||||
|
typedef struct zathura_page_s zathura_page_t;
|
||||||
|
/**
|
||||||
|
* Zathura
|
||||||
|
*/
|
||||||
|
typedef struct zathura_s zathura_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Plugin manager
|
* Plugin manager
|
||||||
|
11
zathura.h
11
zathura.h
@ -7,6 +7,7 @@
|
|||||||
#include <girara/types.h>
|
#include <girara/types.h>
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
#include "macros.h"
|
#include "macros.h"
|
||||||
|
#include "types.h"
|
||||||
|
|
||||||
enum { NEXT, PREVIOUS, LEFT, RIGHT, UP, DOWN, BOTTOM, TOP, HIDE, HIGHLIGHT,
|
enum { NEXT, PREVIOUS, LEFT, RIGHT, UP, DOWN, BOTTOM, TOP, HIDE, HIGHLIGHT,
|
||||||
DELETE_LAST_WORD, DELETE_LAST_CHAR, DEFAULT, ERROR, WARNING, NEXT_GROUP,
|
DELETE_LAST_WORD, DELETE_LAST_CHAR, DEFAULT, ERROR, WARNING, NEXT_GROUP,
|
||||||
@ -17,12 +18,6 @@ enum { NEXT, PREVIOUS, LEFT, RIGHT, UP, DOWN, BOTTOM, TOP, HIDE, HIGHLIGHT,
|
|||||||
FULL_LEFT, FULL_RIGHT, NEXT_CHAR, PREVIOUS_CHAR, DELETE_TO_LINE_START,
|
FULL_LEFT, FULL_RIGHT, NEXT_CHAR, PREVIOUS_CHAR, DELETE_TO_LINE_START,
|
||||||
APPEND_FILEPATH, ROTATE_CW, ROTATE_CCW };
|
APPEND_FILEPATH, ROTATE_CW, ROTATE_CCW };
|
||||||
|
|
||||||
/* forward declaration for types from document.h */
|
|
||||||
struct zathura_document_s;
|
|
||||||
struct zathura_page_s;
|
|
||||||
typedef struct zathura_document_s zathura_document_t;
|
|
||||||
typedef struct zathura_page_s zathura_page_t;
|
|
||||||
|
|
||||||
/* forward declaration for types form database.h */
|
/* forward declaration for types form database.h */
|
||||||
typedef struct _ZathuraDatabase zathura_database_t;
|
typedef struct _ZathuraDatabase zathura_database_t;
|
||||||
|
|
||||||
@ -30,7 +25,7 @@ typedef struct _ZathuraDatabase zathura_database_t;
|
|||||||
struct render_thread_s;
|
struct render_thread_s;
|
||||||
typedef struct render_thread_s render_thread_t;
|
typedef struct render_thread_s render_thread_t;
|
||||||
|
|
||||||
typedef struct zathura_s
|
struct zathura_s
|
||||||
{
|
{
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
@ -116,7 +111,7 @@ typedef struct zathura_s
|
|||||||
gchar* file_path; /**< Save file path */
|
gchar* file_path; /**< Save file path */
|
||||||
gchar* password; /**< Save password */
|
gchar* password; /**< Save password */
|
||||||
} file_monitor;
|
} file_monitor;
|
||||||
} zathura_t;
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initializes zathura
|
* Initializes zathura
|
||||||
|
Loading…
Reference in New Issue
Block a user