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

« back to all changes in this revision

Viewing changes to FindView.h

  • Committer: Bazaar Package Importer
  • Author(s): Gürkan Sengün
  • Date: 2004-11-12 22:04:50 UTC
  • Revision ID: james.westby@ubuntu.com-20041112220450-hp9da460x7pvz96z
Tags: upstream-0.9
Import upstream version 0.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2004  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_FINDVIEW
 
20
#define _H_FINDVIEW
 
21
 
 
22
#include <AppKit/NSView.h>
 
23
#include <AppKit/NSTextField.h>
 
24
 
 
25
/**
 
26
 * A view that let's the user enter some text to
 
27
 * search for. The user can navigate to the next
 
28
 * and pervious match.
 
29
 */
 
30
@interface FindView : NSView
 
31
{
 
32
   NSTextField*  text;
 
33
}
 
34
 
 
35
- (id) initWithFrame: (NSRect)aFrame;
 
36
 
 
37
- (void) activate;
 
38
- (void) deactivate;
 
39
 
 
40
@end
 
41
 
 
42
#endif