// CompactDb.h: interface for the CCompactDb class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_COMPACTDB_H__C3ADC9D3_ED01_44D0_A91F_9497CEB57262__INCLUDED_)
#define AFX_COMPACTDB_H__C3ADC9D3_ED01_44D0_A91F_9497CEB57262__INCLUDED_

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

#include "MyStringArray.h"

#ifdef  BUILD_GUIDLL
#define     DLLCLASS    __declspec(dllexport)
#else
#define     DLLCLASS    __declspec(dllimport)
#endif

class DLLCLASS CCompactDb
{
public:
    CCompactDb();
    virtual ~CCompactDb();

//  compact database
    static bool CompactDb(CMyStringArray csaDbFileName);

private:
    static const char *m_sccBackupFileName; // backup file name string
};

#endif  // !defined(AFX_COMPACTDB_H__C3ADC9D3_ED01_44D0_A91F_9497CEB57262__INCLUDED_)
