zathura/commands.h

80 lines
1.9 KiB
C
Raw Normal View History

2010-11-10 20:31:15 +01:00
/* See LICENSE file for license and copyright information */
#ifndef COMMANDS_H
#define COMMANDS_H
2010-11-10 20:31:15 +01:00
#include <stdbool.h>
#include <girara.h>
2011-02-08 07:51:53 +01:00
/**
* Create a bookmark
*
* @param session The used girara session
* @param argc Number of arguments
* @param argv Value of the arguments
* @return true if no error occured
*/
2010-11-10 20:31:15 +01:00
bool cmd_bookmark_create(girara_session_t* session, int argc, char** argv);
2011-02-08 07:51:53 +01:00
/**
* Delete a bookmark
*
* @param session The used girara session
* @param argc Number of arguments
* @param argv Value of the arguments
* @return true if no error occured
*/
2010-11-10 20:31:15 +01:00
bool cmd_bookmark_delete(girara_session_t* session, int argc, char** argv);
2011-02-08 07:51:53 +01:00
/**
* Open a bookmark
*
* @param session The used girara session
* @param argc Number of arguments
* @param argv Value of the arguments
* @return true if no error occured
*/
2010-11-10 20:31:15 +01:00
bool cmd_bookmark_open(girara_session_t* session, int argc, char** argv);
2011-02-08 07:51:53 +01:00
/**
* Close zathura
*
* @param session The used girara session
* @param argc Number of arguments
* @param argv Value of the arguments
* @return true if no error occured
*/
2010-11-10 20:31:15 +01:00
bool cmd_close(girara_session_t* session, int argc, char** argv);
2011-02-08 07:51:53 +01:00
/**
* Display document information
*
* @param session The used girara session
* @param argc Number of arguments
* @param argv Value of the arguments
* @return true if no error occured
*/
2010-11-10 20:31:15 +01:00
bool cmd_info(girara_session_t* session, int argc, char** argv);
2011-02-08 07:51:53 +01:00
/**
* Print the current file
*
* @param session The used girara session
* @param argc Number of arguments
* @param argv Value of the arguments
* @return true if no error occured
*/
2010-11-10 20:31:15 +01:00
bool cmd_print(girara_session_t* session, int argc, char** argv);
2011-02-08 07:51:53 +01:00
/**
* Save the current file
*
* @param session The used girara session
* @param argc Number of arguments
* @param argv Value of the arguments
* @return true if no error occured
*/
2010-11-10 20:31:15 +01:00
bool cmd_save(girara_session_t* session, int argc, char** argv);
#endif // COMMANDS_H