# filter.h

    00001 /***************************************************************************
    00002                           filter.h  -  description
    00003                              -------------------
    00004     begin                : Die Sep 23 2003
    00005     copyright            : (C) 2003 by Eggert Ehmke
    00006     email                : eggert.ehmke@berlin.de
    00007  ***************************************************************************/
    00008
    00009 /***************************************************************************
    00010  *                                                                         *
    00011  *   This program is free software; you can redistribute it and/or modify  *
    00012  *   it under the terms of the GNU General Public License as published by  *
    00013  *   the Free Software Foundation; either version 2 of the License, or     *
    00014  *   (at your option) any later version.                                   *
    00015  *                                                                         *
    00016  ***************************************************************************/
    00017
    00018 #ifndef FILTER_H
    00019 #define FILTER_H
    00020
    00021
    00022 #include <tdeconfig.h>
    00023 #include "filterlist.h"
    00024 #include "filterelem.h"
    00025 #include "showrecordelem.h"
    00026
    00030 class ShowRecordElem;
    00031 class FilterElem;
    00032 class FilterList;
    00033
    00034 class Filter {
    00035 private:
    00036        Filter();
    00037        ~Filter();
    00038 public:
    00039   enum filterStatus {off, on, automatic};
    00040   static FilterElem* matches (ShowRecordElem*);
    00041   static FilterList _filter;
    00042   static filterStatus _status;
    00043        static void readOptions (TDEConfig* config);
    00044        static void saveOptions (TDEConfig* config);
    00045 };
    00046
    00047 #endif