moss-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Moss-devel] CVS: moss/colpatik/include/modules/filter Filter.h,NONE,1.1


From: Manfred Morgner <address@hidden>
Subject: [Moss-devel] CVS: moss/colpatik/include/modules/filter Filter.h,NONE,1.1
Date: Fri, 12 Jul 2002 17:54:15 -0400

Update of /cvsroot/moss//moss/colpatik/include/modules/filter
In directory subversions:/tmp/cvs-serv21429/include/modules/filter

Added Files:
        Filter.h 
Log Message:
Added some files for Colpatik


--- NEW FILE ---
/***************************************************************************
                              filter.h
                          -------------------
    begin                : Thu Jun 9 2000
    copyright            : (C) 1993..2000 by Manfred Morgner
    email                : address@hidden
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *                                                                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place Suite 330,                                            *
 *   Boston, MA  02111-1307, USA.                                          *
 *                                                                         *
 ***************************************************************************
 *
 *
 *
 ***************************************************************************/

#ifndef __FILTER_H
#define __FILTER_H

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#if __GNU__ >= 2
#  pragma interface
#endif // #if __GNU__ >= 2



#include <string>

#include "event.h"

namespace colpatik
  {

  typedef long (*fnFilterCallback)(CEvent& roEvent);

  class CFilter
    {
    protected:
      fnFilterCallback m_fnCallback;
      
    public:
               CFilter();
               CFilter(const std::sring& rsFilter);
      virtual ~CFilter();    

      CEvent& operator << (CEvent& roEvent);

    protected:
      void Initialize();

    }; // class CFilter

  } // namespace colpatik

#endif // __FILTER_H




reply via email to

[Prev in Thread] Current Thread [Next in Thread]