~dannf/ubuntu/saucy/djvulibre/lp1224195

« back to all changes in this revision

Viewing changes to libdjvu/DjVmDir.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-11-20 15:19:50 UTC
  • Revision ID: james.westby@ubuntu.com-20071120151950-faaqc1a64q7bc81w
Tags: 3.5.19-3ubuntu1
* Sync with Debian
 * debian/control:
   - updated maintainer information
 * debian/rules:
   - call dh_icons to update the icon cache at installation

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
//C- | MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
54
54
//C- +------------------------------------------------------------------
55
55
// 
56
 
// $Id: DjVmDir.h,v 1.12 2007/03/25 20:48:29 leonb Exp $
57
 
// $Name: debian_version_3_5_19-2 $
 
56
// $Id: DjVmDir.h,v 1.14 2007/07/29 16:23:51 leonb Exp $
 
57
// $Name: debian_version_3_5_19-3 $
58
58
 
59
59
#ifndef _DJVMDIR_H
60
60
#define _DJVMDIR_H
113
113
    @memo Implements DjVu multipage document directory
114
114
    @author Andrei Erofeev <eaf@geocities.com>
115
115
    @version
116
 
    #$Id: DjVmDir.h,v 1.12 2007/03/25 20:48:29 leonb Exp $# */
 
116
    #$Id: DjVmDir.h,v 1.14 2007/07/29 16:23:51 leonb Exp $# */
117
117
//@{
118
118
 
119
119
 
151
151
    directory because some classes (like \Ref{DjVuDocument} and \Ref{DjVmDoc})
152
152
    return a pointer to #DjVmDir# in some cases. */
153
153
 
154
 
class DjVmDir : public GPEnabled
 
154
class DJVUAPI DjVmDir : public GPEnabled
155
155
{
156
156
protected:
157
157
      /** Class \Ref{DjVmDir::File} represents the directory records
175
175
  void encode(const GP<ByteStream> &stream, 
176
176
              const bool bundled, const bool do_rename) const;
177
177
      /** Tests if directory defines an {\em indirect} document. */
178
 
   bool is_indirect(void) const;
 
178
   inline bool is_indirect(void) const;
179
179
      /** Tests if the directory defines a {\em bundled} document. */
180
 
   bool is_bundled(void) const;
 
180
   inline bool is_bundled(void) const;
181
181
      /** Translates page numbers to file records. */
182
182
   GP<File> page_to_file(int page_num) const;
183
183
      /** Translates file names to file records. */
226
226
   static void encode(ByteStream *);
227
227
};
228
228
 
229
 
class DjVmDir::File : public GPEnabled
 
229
class DJVUAPI DjVmDir::File : public GPEnabled
230
230
{
231
231
public:
232
232
  // Out of the record: INCLUDE below must be zero and PAGE must be one.