~ubuntu-branches/ubuntu/jaunty/viewpdf.app/jaunty

« back to all changes in this revision

Viewing changes to DocumentPosition.h

  • Committer: Bazaar Package Importer
  • Author(s): Gürkan Sengün
  • Date: 2006-09-16 18:13:34 UTC
  • mfrom: (2.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20060916181334-10mrzvpblr2jpvu7
Tags: 1:0.2dfsg1-2
* Rebuild against latest libgnustep-gui-dev.
* Added co-maintainers.
* Updated build-depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright (C) 2003  Stefan Kleine Stegemann
3
 
 *
4
 
 * This program is free software; you can redistribute it and/or
5
 
 * modify it under the terms of the GNU General Public License
6
 
 * as published by the Free Software Foundation; either version 2
7
 
 * of the License, or (at your option) any later version.
8
 
 *
9
 
 * This program is distributed in the hope that it will be useful,
10
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
 
 * GNU General Public License for more details.
13
 
 *
14
 
 * You should have received a copy of the GNU General Public License
15
 
 * along with this program; if not, write to the Free Software
16
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
17
 
 */
18
 
 
19
 
#ifndef _H_DOCUMENT_POSITION
20
 
#define _H_DOCUMENT_POSITION
21
 
 
22
 
#include <Foundation/NSObject.h>
23
 
#include <Foundation/NSGeometry.h>
24
 
 
25
 
 
26
 
@interface DocumentPosition : NSObject
27
 
{
28
 
   int     page;
29
 
   NSRect  boundingRect;
30
 
}
31
 
 
32
 
- (id) initWithPage: (int)aPage boundingRect: (NSRect)rect;
33
 
 
34
 
+ (DocumentPosition*) positionAtPage: (int)aPage boundingRect: (NSRect)rect;
35
 
 
36
 
- (int) page;
37
 
- (void) setPage: (int)aPage;
38
 
- (NSRect) boundingRect;
39
 
- (void) setBoundingRect: (NSRect)rect;
40
 
@end
41
 
 
42
 
#endif