/**
  * This is a program to convert C/C++ header files (.h) into implementation
  * files (.C) to avoid the tedium of typing in the same information 
  *
  * Author: Tom Mutdosch 
  * Copyright (c) 1999
  *
  */

#ifndef HEADER_H
#define HEADER_H

#include <string>
#include <iostream.h>
#include <fstream.h>
#include <vector>

class Header {

public:
    Header( int numOfFiles, char **fileNames );

    void getHeaderInfo( char *fileName );
    void outputToCFile( char *fileName ); 

private:
    bool checkForComment( string input );
    string stripWhiteSpace( string input );

private:
    // the extension to output: C, cpp specified at the command prompt by a 
    // -xxx where xxx is the extension
    bool blockComment;
    bool comment;
    string extension;  		
    string className;
    vector<string> functionReturns;
    vector<string> functions;
    
};

#endif    

