Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

mdfsdbbase.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           mdfsdbbase.h  -  description
00003                              -------------------
00004     begin                : Fri Jan 2 2004
00005     copyright            : (C) 2004 by Mickael Faivre-Macon
00006     email                : mickael@easyplay.com.tw
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 MDFSDBBASE_H
00019 #define MDFSDBBASE_H
00020 
00021 namespace mdfs {
00022 
00027 //---------------------------------------------------------------------------
00028 class MDFSDBBase {
00029 public: 
00030    MDFSDBBase() {};
00031    virtual ~MDFSDBBase() {};
00032 
00033    enum MUpdateOptions {uoNONE=0, uoADDPARENTS=1}; 
00034 
00036    virtual bool UpdateFile(const MFile& f, int options=0)=0;
00037 
00040    virtual bool GetFile(MFile& f, int options=0)=0;
00041 
00046    virtual void GetList(MQuery& q, MFileList& list)=0;
00047 
00048    };
00049 //---------------------------------------------------------------------------
00050 
00051 } // namespace
00052 
00053 #endif



MDFS SourceForge project page and download

SourceForge.net Logo

Generated on Sat Jan 3 03:14:20 2004 for MDFS by doxygen1.3.5