Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zathura
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
111
Issues
111
List
Boards
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pwmt
zathura
Commits
f7c119b2
Commit
f7c119b2
authored
Apr 03, 2012
by
Sebastian Ramacher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
There is no need to include zathura.h anymore.
parent
26792ca3
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
11 deletions
+18
-11
document.h
document.h
+0
-1
page.h
page.h
+0
-1
types.c
types.c
+1
-0
types.h
types.h
+14
-1
zathura.h
zathura.h
+3
-8
No files found.
document.h
View file @
f7c119b2
...
@@ -7,7 +7,6 @@
...
@@ -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
...
...
page.h
View file @
f7c119b2
...
@@ -6,7 +6,6 @@
...
@@ -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"
/**
/**
...
...
types.c
View file @
f7c119b2
...
@@ -2,6 +2,7 @@
...
@@ -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"
...
...
types.h
View file @
f7c119b2
...
@@ -3,7 +3,20 @@
...
@@ -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
...
...
zathura.h
View file @
f7c119b2
...
@@ -7,6 +7,7 @@
...
@@ -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,
...
@@ -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;
...
@@ -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
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment