/*
 *******************************************************************************
 * $RCSfile: WriterFactory.hpp,v $
 *
 * Description: 
 *
 * Last change: $Date: 2005/11/09 13:37:11 $ $Revision: 1.3 $
 *
 * Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use of this 
 * product is subject to license terms. 
 *
 *******************************************************************************
 * Source Code Control System - Header
 *
 * $Header: /sgnome/cvsroots/misc/legacy/source/plugins/mime/WriterFactory.hpp,v 1.3 2005/11/09 13:37:11 rf96881 Exp $
 *******************************************************************************
 */
#ifndef WriterFactory_hpp
#define WriterFactory_hpp

#include <TreeInterfaces.hpp>

namespace apoc{ namespace legacy { namespace plugins { namespace mimeplugin {

    class WriterFactory
    {
    public:
	enum WriterType
	    {
		KeysFile,
		AppsFile,
		MimesFile
	    };
	
	
	static apoc::legacy::ITreeHandler * getWriter( WriterType aType,
						       bool aTruncate = true );
    protected:
    private:
	
    };
}}}} // apoc.legacy.plugins.mimeplugin
#endif
    
