monotone

monotone Mtn Source Tree

Root/localized_file_io.hh

1#ifndef __LOCALIZED_FILE_IO_HH__
2#define __LOCALIZED_FILE_IO_HH__
3// This gets it's own file because it depends on lua_hooks and
4// therefore app_state. Otherwise it would be in file_io.{cc,hh}
5// This separation is based entirely on dependencies, not functionality.
6
7#include "paths.hh"
8#include "vocab.hh"
9
10class lua_hooks;
11
12void read_localized_data(file_path const & path,
13 data & dat,
14 lua_hooks & lua);
15bool ident_existing_file(file_path const & p, file_id & ident, lua_hooks & lua);
16void calculate_ident(file_path const & file,
17 hexenc<id> & ident,
18 lua_hooks & lua);
19
20void write_localized_data(file_path const & path,
21 data const & dat,
22 lua_hooks & lua);
23
24// Local Variables:
25// mode: C++
26// fill-column: 76
27// c-file-style: "gnu"
28// indent-tabs-mode: nil
29// End:
30// vim: et:sw=2:sts=2:ts=2:cino=>2s,{s,\:s,+s,t0,g0,^-2,e-2,n-2,p2s,(0,=s:
31
32#endif

Archive Download this file

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status