~ubuntu-branches/ubuntu/vivid/libe-book/vivid-proposed

« back to all changes in this revision

Viewing changes to src/lib/RBParser.h

  • Committer: Package Import Robot
  • Author(s): Rene Engelhard
  • Date: 2014-08-07 23:08:06 UTC
  • mfrom: (2.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20140807230806-o06a0n2dspjavqfm
Tags: 0.1.1-2
* upload to unstable

* fix debian/copyright; this is MPL-2.0 only 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 
2
/*
 
3
 * This file is part of the libe-book project.
 
4
 *
 
5
 * This Source Code Form is subject to the terms of the Mozilla Public
 
6
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 
7
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
8
 */
 
9
 
 
10
#ifndef RBPARSER_H_INCLUDED
 
11
#define RBPARSER_H_INCLUDED
 
12
 
 
13
#include <libe-book/libe-book.h>
 
14
 
 
15
#include "RBHeader.h"
 
16
 
 
17
namespace libebook
 
18
{
 
19
 
 
20
class RBParser
 
21
{
 
22
  // disable copying
 
23
  RBParser(const RBParser &other);
 
24
  RBParser &operator=(const RBParser &other);
 
25
 
 
26
public:
 
27
  explicit RBParser(const RVNGInputStreamPtr_t &input, librevenge::RVNGTextInterface *document = 0);
 
28
 
 
29
  void parse();
 
30
 
 
31
private:
 
32
  const RVNGInputStreamPtr_t m_input;
 
33
  librevenge::RVNGTextInterface *m_document;
 
34
  RBHeader m_header;
 
35
};
 
36
 
 
37
}
 
38
 
 
39
#endif // RBPARSER_H_INCLUDED
 
40
 
 
41
/* vim:set shiftwidth=2 softtabstop=2 expandtab: */