/***************************************************************************
 *                                                                         *
 *   SYNGFIL.H                                                             *
 *                                                                         *
 *   Copyright (c) 1998       Galacticomm, Inc.    All Rights Reserved.    *
 *                                                                         *
 *   Active HTML File Library Generic File Synthesis                       *
 *   Definitions                                                           *
 *                                                                         *
 *                                                - Phil Henning 11/19/98  *
 *                                                                         *
 ***************************************************************************/

#ifndef __SYNGFIL_H
#define __SYNGFIL_H

#include "synfilah.h"
#include "filtdef.h"

class synGenericFile : public synBaseAuth {   // generic file output
public:
     synGenericFile(
     acthSession* _ses,
     bool anonok,
     INT lvlcnt=1) : synBaseAuth(_ses,anonok,theFilAgent->m_hfilkey,lvlcnt)
     {
     }

     ~synGenericFile()
     {
     }

protected:
     ACTHCODE
     proceedRequest();                  // setup request context

     ACTHCODE
     proceedSynth();                    // synthesise the response

     ACTHCODE
     proceedDerivedResponse();          // output the response

     INT
     translateError();                  // translate err to mcv file op
};

#endif // __SYNGFIL_H
