EPUBCounter.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3  * This file is part of the libepubgen 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 INCLUDED_EPUBCOUNTER_H
11 #define INCLUDED_EPUBCOUNTER_H
12 
13 namespace libepubgen
14 {
15 
17 {
18  // disable copying
19  EPUBCounter(const EPUBCounter &);
21 
22 public:
23  EPUBCounter();
24 
25  unsigned current() const;
26  unsigned next();
27 
28 private:
29  unsigned m_current;
30 };
31 
32 }
33 
34 #endif // INCLUDED_EPUBCOUNTER_H
35 
36 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
Definition: EPUBBinaryContent.cpp:14
EPUBCounter & operator=(const EPUBCounter &)
unsigned current() const
Definition: EPUBCounter.cpp:20
EPUBCounter()
Definition: EPUBCounter.cpp:15
Definition: EPUBCounter.h:16
unsigned next()
Definition: EPUBCounter.cpp:25
unsigned m_current
Definition: EPUBCounter.h:29

Generated for libepubgen by doxygen 1.8.14