~vcs-imports/bibletime/trunk

« back to all changes in this revision

Viewing changes to bibletime/backend/osismorphsegmentation.h

  • Committer: mgruner
  • Date: 2007-05-08 15:51:07 UTC
  • Revision ID: vcs-imports@canonical.com-20070508155107-0rj7jdmm5ivf8685
-imported source and data files to new svn module
-this is where KDE4-based development will take place

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/******************************************************************************
 
2
 *
 
3
 * $Id: osismorphsegmentation.h,v 1.4 2006/08/08 19:32:48 joachim Exp $
 
4
 *
 
5
 * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org)
 
6
 * CrossWire Bible Society
 
7
 * P. O. Box 2528
 
8
 * Tempe, AZ  85280-2528
 
9
 *
 
10
 * This program is free software; you can redistribute it and/or modify it
 
11
 * under the terms of the GNU General Public License as published by the
 
12
 * Free Software Foundation version 2.
 
13
 *
 
14
 * This program is distributed in the hope that it will be useful, but
 
15
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 
16
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
17
 * General Public License for more details.
 
18
 *
 
19
 */
 
20
 
 
21
#ifndef OSISMORPHSEGMENTATION_H
 
22
#define OSISMORPHSEGMENTATION_H
 
23
 
 
24
#include <swoptfilter.h>
 
25
 
 
26
using namespace sword;
 
27
 
 
28
namespace Filters {
 
29
 
 
30
/** This Filter shows/hides headings in a OSIS text.
 
31
 * @author Martin Gruner
 
32
 */
 
33
class OSISMorphSegmentation : public SWOptionFilter {
 
34
        static const char oName[];
 
35
        static const char oTip[];
 
36
        static const SWBuf choices[3];
 
37
        static const StringList oValues;
 
38
 
 
39
public:
 
40
        OSISMorphSegmentation();
 
41
        virtual ~OSISMorphSegmentation();
 
42
 
 
43
        virtual char processText(SWBuf &text, const SWKey *key = 0, const SWModule *module = 0);
 
44
};
 
45
 
 
46
}
 
47
 
 
48
#endif