commands.c 1016 Bytes
Newer Older
Moritz Lipp's avatar
Moritz Lipp committed
1 2 3
/* See LICENSE file for license and copyright information */

#include "commands.h"
Moritz Lipp's avatar
Moritz Lipp committed
4
#include "zathura.h"
Moritz Lipp's avatar
Moritz Lipp committed
5 6

bool
Moritz Lipp's avatar
Moritz Lipp committed
7
cmd_bookmark_create(girara_session_t* session, girara_list_t* argument_list)
Moritz Lipp's avatar
Moritz Lipp committed
8 9 10 11 12
{
  return true;
}

bool
Moritz Lipp's avatar
Moritz Lipp committed
13
cmd_bookmark_delete(girara_session_t* session, girara_list_t* argument_list)
Moritz Lipp's avatar
Moritz Lipp committed
14 15 16 17 18
{
  return true;
}

bool
Moritz Lipp's avatar
Moritz Lipp committed
19
cmd_bookmark_open(girara_session_t* session, girara_list_t* argument_list)
Moritz Lipp's avatar
Moritz Lipp committed
20 21 22 23 24
{
  return true;
}

bool
Moritz Lipp's avatar
Moritz Lipp committed
25
cmd_close(girara_session_t* session, girara_list_t* argument_list)
Moritz Lipp's avatar
Moritz Lipp committed
26
{
27 28 29 30 31 32
  g_return_val_if_fail(session != NULL, false);
  g_return_val_if_fail(session->global.data != NULL, false);
  zathura_t* zathura = session->global.data;
  g_return_val_if_fail(zathura->document != NULL, false);

  document_close(zathura);
Moritz Lipp's avatar
Moritz Lipp committed
33

Moritz Lipp's avatar
Moritz Lipp committed
34 35 36 37
  return true;
}

bool
Moritz Lipp's avatar
Moritz Lipp committed
38
cmd_info(girara_session_t* session, girara_list_t* argument_list)
Moritz Lipp's avatar
Moritz Lipp committed
39 40 41 42 43
{
  return true;
}

bool
Moritz Lipp's avatar
Moritz Lipp committed
44
cmd_print(girara_session_t* session, girara_list_t* argument_list)
Moritz Lipp's avatar
Moritz Lipp committed
45 46 47 48 49
{
  return true;
}

bool
Moritz Lipp's avatar
Moritz Lipp committed
50
cmd_save(girara_session_t* session, girara_list_t* argument_list)
Moritz Lipp's avatar
Moritz Lipp committed
51 52 53
{
  return true;
}